This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30613] gfortran -fopenmp -static produces bad executable



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]