gcc 2.95.2 internal compile error

Jordan Wood woodj@spanlink.com
Tue Nov 23 11:56:00 GMT 1999


I am getting a seg fault from the compiler on one of many source file
compiles. I am compiling on a UnixWare 2.1.2 box.  This problem comes
and goes, depending (I think) on the number or placement of function
variables.  I can reliably make the
problem go away by commenting out the last function in the file
(SoilToIrapiRecog).  I was unable to reproduce the problem if I added
both the -v and the --save-temps flags, but I was able to capture the
problem just using the --save-temps flag.  I did a separate call to gcc
with the -v to show you the version info.  I am unable to attach the
gzipped
.ii file (85 KB file) for the compile detailed below.  Instead, you can
get it at:

ftp.spanlink.com/pub/OUTGOING/SInput.ii.gz

------------------------------------

daisy:/nfshome/woodj/soil/src/irapi% makeit bugrep
################################################################################
make -f make.cvis7 bugrep
        /usr/local/gnu/bin/gcc --save-temps -Wall -g -DCVIS7
-D_REENTRANT -I ../../include -I /nfshome/woodj/SplkStd/include -I
/att/include -o SInput.o -c SInput.cpp
gcc: Internal compiler error: program as got fatal signal 11
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
daisy:/nfshome/woodj/soil/src/irapi% /usr/local/gnu/bin/gcc -v
Reading specs from
/usr/local/gnu/lib/gcc-lib/i386-univel-sysv4.2MP/2.95.2/specs
gcc version 2.95.2 19991024 (release)

------------------------------------

I just downloaded and installed version 2.95.2 (this problem was also
present in 2.85.1).  I used the following arguments to configure:

../src/gcc-2.95.2/configure --prefix=/usr/local/gnu \
  --with-local-prefix=/usr/local/gnu \
  --with-gxx-include-dir=/usr/local/gnu/include/g++ \
  --enable-shared \
  --enable-threads \
  --enable-languages=c++ 

Thank you for any help you can provide.

--Jordan Wood  woodj@spanlink.com


More information about the Gcc-bugs mailing list