[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault

2009-02-13 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-02-13 12:35 --- It is glibc specific, on the other hand it isn't particularly -fopenmp related. I guess easiest will be if glibc stops shipping libpthread.a. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176

[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault

2009-02-13 Thread jv244 at cam dot ac dot uk
--- Comment #3 from jv244 at cam dot ac dot uk 2009-02-13 12:19 --- (In reply to comment #2) > 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-arc

[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault

2009-02-13 Thread jakub at gcc dot gnu dot org
--- 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-ar

[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault

2009-02-13 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176

[Bug libfortran/39176] [4.4 Regression] -static and -fopenmp and io causes segfault

2009-02-13 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2009-02-13 11:42 --- adding Jakub -- jv244 at cam dot ac dot uk changed: What|Removed |Added CC|