https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106509
--- Comment #2 from GARY.WHITE at ColoState dot edu <Gary.White at ColoState dot edu> --- (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.