[Bug middle-end/33581] OpenMP segmentation fault

2007-10-25 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-10-26 06:49 --- Using -static for threaded programs is highly discouraged in glibc, for many reasons. If you want to do it anyway for whatever weird reason, you usually need to use -Wl,--whole-archive -lnptl -Wl,--no-whole-archive.

[Bug middle-end/33581] OpenMP segmentation fault

2007-09-29 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-09-29 08:50 --- (In reply to comment #5) > I didn't think that -static was causing the problem since the application > seems > to execute correctly with the -m32 option removed, and with the -static > remaining. glibc is slightly

[Bug middle-end/33581] OpenMP segmentation fault

2007-09-29 Thread spollmann at gmail dot com
--- Comment #5 from spollmann at gmail dot com 2007-09-29 07:10 --- (In reply to comment #4) > (In reply to comment #3) > > What happens if you don't use -static? > if static is not used (and the LD_LIBRARY_PATH points to the correct location > ;) > the program seems to execute correctly

[Bug middle-end/33581] OpenMP segmentation fault

2007-09-29 Thread spollmann at gmail dot com
--- Comment #4 from spollmann at gmail dot com 2007-09-29 07:04 --- (In reply to comment #3) > What happens if you don't use -static? if static is not used (and the LD_LIBRARY_PATH points to the correct location ;) the program seems to execute correctly. -- http://gcc.gnu.org/bugzi

[Bug middle-end/33581] OpenMP segmentation fault

2007-09-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-09-28 09:36 --- What happens if you don't use -static? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/33581] OpenMP segmentation fault

2007-09-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-09-28 09:36 --- -static is not really supported for glibc and pthreads/openmp. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --