[Bug c++/43818] internal compiler error: Segmentation fault

oberlaender at fzi dot de gcc-bugzilla@gcc.gnu.org
Thu Apr 22 09:13:00 GMT 2010



------- Comment #13 from oberlaender at fzi dot de  2010-04-22 09:13 -------
Created an attachment (id=20459)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20459&action=view)
Output from a gdb session on g++-4.4.3

OK, almost right.  I created a debug build for gcc-4.4.3:

$ g++-4.4.3 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../gcc-4.4.3/configure
--prefix=/home/oberlaen/local/stow/gcc-4.4.3/
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++ --enable-shared --disable-multiarch
--enable-linker-build-id --with-system-zlib --without-included-gettext
--enable-threads=posix --program-suffix=-4.4.3 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-targets=all --disable-multilib --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (GCC) 

I built with

 make CFLAGS="-g -O0" CXXFLAGS="-g -O0" STAGE2_CFLAGS="-g -O0"
STAGE3_CFLAGS="-g -O0"

I then ran g++-4.4.3 -save-temps -o bugtest.out -c -O2 bugtest.ii and extracted
the cc1plus command line through strace.  The attachment contains the results
from a gdb run on

 cc1plus -fpreprocessed bugtest.ii -quiet -dumpbase bugtest.ii -mtune=generic
-march=i486 -auxbase bugtest -O2 -o bugtest.s

Hope this tells you something.  Please tell me if I can get you any more info.

Best regards, Jan


-- 


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



More information about the Gcc-bugs mailing list