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

Robert Brown robertb@continuumsi.com
Thu Apr 9 12:35:00 GMT 1998


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.

-- 
Robert Brown                        |         Continuum Software, Inc.
email:robertb@continuumsi.com       | 800 West Cummings Park, Ste 4950
http://www.continuumsi.com/~robertb |            Woburn, MA 01801-6504
voice: 781-932-8400 x100            |                fax: 781-932-2558




More information about the Gcc-bugs mailing list