[Bug libgcc/56101] pthread program abort

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 25 12:38:00 GMT 2013


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-01-25
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-25 12:38:31 UTC ---
(In reply to comment #0)
> /remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/bin/g++ -I.
> -Wall -Wextra -fno-strict-aliasing -fwrapv -m64 -c  -msse2 -mfpmath=sse 
> -fno-omit-frame-pointer -fno-dollars-in-identifiers -save-temps -pthread -o
> tmain.o tmain.C
> /remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/bin/g++
> -static-libgcc -static-libstdc++  -o mtest tmain.o -pthread -lm -ldl

Most of these flags are irrelevant, only these are needed to reproduce it:

   -static-libgcc -static-libstdc++ -pthread

If either libgcc or libstdc++ is dynamically linked it doesn't abort



More information about the Gcc-bugs mailing list