#362 Segmentation fault when compiling the gcc-4.6.3 with gcc-4.8.1

LTS/20120406
open
nobody
5
2014-08-28
2014-04-10
Tomek
No

When compiling gcc 4.6.3 (patched with mspgcc LTS/20120406) with gcc 4.8.1 I get the following segmentation fault issue:

[ 457s] /home/abuild/rpmbuild/BUILD/gcc-4.6.3/obj-i586-suse-linux/./gcc/xgcc -B/home/abuild/rpmbuild/BUILD/gcc-4.6.3/obj-i586-suse-linux/./gcc/ -B/opt/cross/msp430/bin/ -B/opt/cross/msp430/lib/ -isystem /opt/cross/msp430/include -isystem /opt/cross/msp430/sys-include -g -O2 -mcpu=430x -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -DDF=SF -Dinhibit_libc -g -g -DIN_LIBGCC2 -DGCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc -I../../../../libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _clear_cache.o -MT _clear_cache.o -MD -MP -MF _clear_cache.dep -DL_clear_cache -c ../../../../libgcc/../gcc/libgcc2.c \ [ 457s]
[ 457s] ../../../../libgcc/../gcc/libgcc2.c: In function '
negdi2':
[ 457s] ../../../../libgcc/../gcc/libgcc2.c:72:1: internal compiler error: Segmentation fault
[ 457s] Please submit a full bug report,
[ 457s] with preprocessed source if appropriate.
[ 457s] See http://gcc.gnu.org/bugs.html for instructions.
[ 457s] make[4]: *** [_negdi2.o] Error 1

Discussion