[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 11:51:00 GMT 2009
------- Comment #2 from jakub at gcc dot gnu dot org 2009-02-13 11:50 -------
This has been repeated many times. Don't use -static for threaded programs, it
is really bad idea, and if you really have to, you need to link the whole
libpthread.a in (-Wl,--whole-archive -lpthread -Wl,--no-whole-archive),
otherwise if it works, it is by pure luck.
This certainly isn't a regression.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
Target Milestone|4.4.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176
More information about the Gcc-bugs
mailing list