/opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: ../gcc-4.0.2/configure --program-suffix=-4.0.2 --enable-__cxa_atexit --enable-languages=c,c++ --prefix=/opt2/linux/ix86 --target=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --with-sysroot=/opt2/linux/ix86/SuSE-10.0 --enable-version-specific-runtime-libs --enable-clocale=gnu Thread model: posix gcc version 4.0.2 If I compile TAO 1.4.7 I get an ICE in ServicesC.h /opt2/linux/ix86/x86_64-pc-linux-gnu/bin/g++ -fvisibility=hidden -fvisibility-inlines-hidden -save-temps -W -Wall -Wpointer-arith -m64 -I/opt2/linux/x86_64/include -O3 -g -pipe -m64 -I/opt2/linux/x86_64/include -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -DACE_USE_RCSID=0 -I/opt2/linux/x86_64/ACE/1.4.7/ACE_wrappers -I/opt2/linux/x86_64/ACE/1.4.7/ACE_wrappers/TAO -I/usr/kerberos/include -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../.. -I/opt2/linux/x86_64/ACE/1.4.7/ACE_wrappers/TAO -DTAO_BUILD_DLL -c -fPIC -o .shobj/ServicesC.o ServicesC.cpp g++: warning: -pipe ignored because -save-temps specified In file included from <built-in>:0: <built-in>:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Created attachment 9931 [details] preprocessed file
I cannot reproduce this with a x86_64 host compiler on the 4.0 branch or mainline. Can you re-check with a compiler compiled from the head of the 4.0 branch to see if this is a genuine cross-compiler problem? Also a gdb backtrace from cc1plus would be helpful (you can figure out the cc1plus command-line by providing the -v command-line argument to g++). Thanks, Richard.
This is a dup of bug 24202. The preprocessor is crashing so having the preprocessed source is really useless. *** This bug has been marked as a duplicate of 24202 ***