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


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33581



[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 different between the 32bit version and the 64bit version.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33581



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

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33581



[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/bugzilla/show_bug.cgi?id=33581



[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

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33581



[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

  Component|c++ |middle-end
   Keywords||openmp


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33581