[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checker 0.8 & egcs 1.0.2 probs -- signal 11 (segmentation violation) in cc1




Perhaps it was presumtuous of me, but I figured that since the
-fcheck-memory-usage flag worked, that Checker (checkergcc) would work.
It probably does, but I cannot get it to.

I downloaded and installed egcs 1.0.2.  But, when I configure Checker to use
the -fcheck-memory-usage (instead of patching GAS), I get:

checkergcc: Internal compiler error: program cc1 got fatal signal 11

With -v:

checkergcc -fcheck-memory-usage -g -I/usr/local/checker/include -D__CHECKER__ -DMALLOC_0_RETURNS_NULL -L/usr/local/lib -v -o printf printf.c -lchecker 
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.27/cpp -lang-c -v -I/usr/local/checker/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=90 -Di386 -D__ELF__ -Dunix -Dlinux -D__i386__ -D__ELF__ -D__unix__ -D__linux__ -D__i386 -D__unix -D__linux -Asystem(posix) -g -Di386 -Di586 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__CHECKER__ -DMALLOC_0_RETURNS_NULL printf.c /tmp/cca10828.i
GNU CPP version egcs-2.90.27 980315 (egcs-1.0.2 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/checker/include
 /usr/local/include
 /usr/local/i586-pc-linux-gnulibc1/include
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.27/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.27/cc1 /tmp/cca10828.i -quiet -dumpbase printf.c -g -version -fcheck-memory-usage -o /tmp/cca10828.s
GNU C version egcs-2.90.27 980315 (egcs-1.0.2 release) (i586-pc-linux-gnulibc1) compiled by GNU C version 2.7.2.3.
checkergcc: Internal compiler error: program cc1 got fatal signal 11

I had the same problem with egcs 1.0 and thought 1.0.2 would fix the problem.

Thanks for any help.




Why do you want this page removed?