https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106509
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to gary.wh...@colostate.edu from comment #2) > (In reply to Andrew Pinski from comment #1) > > -static and glibc and pthreads (which openmp uses) has always been > > problematic. Why do you want to use -static? > > Because I'm distributing a large code to users that do not have gfortran > available. Does it hang if you use -static-libgfortran? BTW, works fine on FreeBSD.