[Bug fortran/30613] gfortran -fopenmp -static produces bad executable
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 27 17:34:00 GMT 2007
------- Comment #1 from kargl at gcc dot gnu dot org 2007-01-27 17:33 -------
Works for me with both the 4.2 branch and trunk gfortran.
troutmask:sgk[235] gfc4x -o z -fopenmp -static t.f
troutmask:sgk[236] ./z
n,p= 0 0.000000
n,p= 0 0.000000
troutmask:sgk[237] gfc42 -o z -fopenmp -static t.f
troutmask:sgk[238] ./z
n,p= 0 0.000000
n,p= 0 0.000000
I recall seeing a similar bug report with OpenMP and -static.
The problem is that glibc does not support a static TLS.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30613
More information about the Gcc-bugs
mailing list