[Bug libgomp/30471] OpenMP with static linking fails in fortran on amd64
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 26 13:33:00 GMT 2007
------- Comment #7 from jakub at gcc dot gnu dot org 2007-01-26 13:32 -------
Static linking with -lpthread (which -fopenmp uses) is not supported in
glibc/NPTL. You can probably make it working by adding
-Wl,--whole-archive -lpthread -Wl,--no-whole-archive
to the command line, but there are no guarantees it will work.
Anyway, this is not a GCC bug but GLIBC feature.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30471
More information about the Gcc-bugs
mailing list