cc1 aborts with SIGSEGV

Christian Pfannschmidt spatz@sparrow.s.bawue.de
Tue Oct 3 14:15:00 GMT 2000


Hi all,
since I upgraded my
Linux-System (Kernel 2.2.16 and 2.2.17, resp.)
to SuSE 7.0. distribution, I get quite often SIGSEGV faults from the compiler.
Trying very often, I managed to compile a new kernel, since the 2nd, 3rd...
try eventually succeded.
I'm using gcc-2.95.2 (the RPM says 2.95.2-98) on a x86-Linux box (ELF, original
Pentium 133). The problem occurs with both the SuSE-kernel (2.2.16, with some
patches) and the original 2.2.17 from kernel.org.
I tried then to compile the gcc itself and got again the internal error.
One point where I won't get over is the following, compiling the source
combine.c from the original gcc-sources (Release from gcc.gnu.org).
The output from the compiler (compile.i and compile.s) can be found in bzip2ed 
form under http://my.bawue.de/~cpfann/Gcc-Bug

Bye, Christian

-------snip---------
gcc-2.95.2/gcc 621> gcc -v --save-temps -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -I../include combine.c
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cpp -lang-c -v -I. -I. -I./config -I../include -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -g -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ -DIN_GCC -DHAVE_CONFIG_H combine.c combine.i
GNU CPP version 2.95.2 19991024 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 .
 config
 ../include
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/include/g++
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/../../../../i486-suse-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1 combine.i -quiet -dumpbase combine.c -g -version -o combine.s
GNU C version 2.95.2 19991024 (release) (i486-suse-linux) compiled by GNU C version 2.95.2 19991024 (release).
gcc: Internal compiler error: program cc1 got fatal signal 11
--------snip---------




More information about the Gcc-bugs mailing list