This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: c++ regression in trunk
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: geoffk at apple dot com, howarth at bromo dot msbb dot uc dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 31 May 2006 21:19:15 -0400 (EDT)
- Subject: Re: c++ regression in trunk
Geoff,
I am seeing...
gcc-4 -### -o xplor xplor.o \
\
-L. -lxplorCmd -lxplor -L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/ -lfft -lintVar -lvmd -lpy -lswigpy-xplor -ltclXplor -lswigtcl8-xplor -lnmrPot -lcommon -lmarvin \
-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config -lpython2.3 -ldl -L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/ -lcrypto \
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../gcc-4.2-20060529/configure --prefix=/sw --prefix=/sw/lib/gcc4 --disable-multilib --enable-languages=c,c++,fortran --infodir=/sw/lib/gcc4/share/info --with-gmp=/sw --with-included-gettext --host=powerpc-apple-darwin8 --with-as=/sw/lib/odcctools/bin/as --with-ld=/sw/lib/odcctools/bin/ld --with-nm=/sw/lib/odcctools/bin/nm
Thread model: posix
gcc version 4.2.0 20060529 (experimental)
"/sw/lib/gcc4/libexec/gcc/powerpc-apple-darwin8/4.2.0/collect2" "-dynamic" "-arch" "ppc" "-weak_reference_mismatches" "non-weak" "-o" "xplor" "-lcrt1.o" "/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0/crt2.o" "-L." "-L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/" "-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config" "-L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/" "-L/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0" "-L/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0/../../.." "xplor.o" "-lxplorCmd" "-lxplor" "-lfft" "-lintVar" "-lvmd" "-lpy" "-lswigpy-xplor" "-ltclXplor" "-lswigtcl8-xplor" "-lnmrPot" "-lcommon" "-lmarvin" "-lpython2.3" "-ldl" "-lcrypto" "-lgcc" "-lSystemStubs" "-lSystem"
...without passing -shared-libgcc to gcc and with -shared-libgcc I see...
gcc-4 -### -shared-libgcc -o xplor xplor.o \
\
-L. -lxplorCmd -lxplor -L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/ -lfft -lintVar -lvmd -lpy -lswigpy-xplor -ltclXplor -lswigtcl8-xplor -lnmrPot -lcommon -lmarvin \
-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config -lpython2.3 -ldl -L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/ -lcrypto \
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../gcc-4.2-20060529/configure --prefix=/sw --prefix=/sw/lib/gcc4 --disable-multilib --enable-languages=c,c++,fortran --infodir=/sw/lib/gcc4/share/info --with-gmp=/sw --with-included-gettext --host=powerpc-apple-darwin8 --with-as=/sw/lib/odcctools/bin/as --with-ld=/sw/lib/odcctools/bin/ld --with-nm=/sw/lib/odcctools/bin/nm
Thread model: posix
gcc version 4.2.0 20060529 (experimental)
"/sw/lib/gcc4/libexec/gcc/powerpc-apple-darwin8/4.2.0/collect2" "-dynamic" "-arch" "ppc" "-macosx_version_min" "10.3" "-multiply_defined" "suppress" "-weak_reference_mismatches" "non-weak" "-o" "xplor" "-lcrt1.o" "/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0/crt2.o" "/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0/crt3.o" "-L." "-L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/" "-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config" "-L/Users/howarth/Desktop/xplor-nih-2.14/bin.Darwin_8/" "-L/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0" "-L/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.2.0/../../.." "xplor.o" "-lxplorCmd" "-lxplor" "-lfft" "-lintVar" "-lvmd" "-lpy" "-lswigpy-xplor" "-ltclXplor" "-lswigtcl8-xplor" "-lnmrPot" "-lcommon" "-lmarvin" "-lpython2.3" "-ldl" "-lcrypto" "-lgcc_s.10.4" "-lgcc" "-lSystemStubs" "-lSystem"
If I take the link line generated for -shared-libgcc and substitute the
the static libgcc, the resulting xplor binary doesn't abort on the throw.
Also if I take the link line generated without -shared-libgcc and add
"-lgcc_s.10.4", the resulting xplor binary also doesn't abort on the
throw. Anything else to try to help pin this down?
Jack