This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ICE in gcc-ss-20001016



I encountered the following ICE when doing a bootstrap build on an
i685-linux(2.2.17)-gnu(2.1.3) system.  

./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -dumpspecs > tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -S tmp-dum.c
cc1: Internal error: Segmentation fault.
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I configured with: --host=i686-pc-linux-gnu --prefix=/usr
--with-gnu-as --enable-shared --with-gnu-ld and used the default
CFLAGS for the bootstrap.

My system compiler is gcc-2.95.2 and I'm using binutils-2.10.91.

The last snapshot built under identical conditions.

I've rerun the command with -save-temps and -v flags.  I get:

 ./xgcc -v -v -v -save-temps -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -S tmp-dum.c
Reading specs from ./specs
Configured with:  --host=i686-pc-linux-gnu --prefix=/usr --with-gnu-as --enable-shared --with-gnu-ld
gcc version 2.97 20001016 (experimental)
 ./cpp0 -lang-c -v -iprefix ./../lib/gcc-lib/i686-pc-linux-gnu/2.97/ -isystem ./include -isystem /usr/i686-pc-linux-gnu/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__STDC_HOSTED__=1 -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ -isystem /usr/i686-pc-linux-gnu/include tmp-dum.c tmp-dum.i
GNU CPP version 2.97 20001016 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/bin/include"
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/include"
ignoring nonexistent directory "../lib/gcc-lib/i686-pc-linux-gnu/2.97/include"
ignoring nonexistent directory "../i686-pc-linux-gnu/include"
ignoring nonexistent directory "/usr/lib/gcc-lib/i686-pc-linux-gnu/2.97/include"
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 include
 /usr/local/include
 /usr/include
End of search list.
 ./cc1 tmp-dum.i -quiet -dumpbase tmp-dum.c -version -o tmp-dum.s
GNU C version 2.97 20001016 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.97 20001016 (experimental).
cc1: Internal error: Segmentation fault.
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

No .s file was created and the tmp-dum only contains the lines:

    # 1 "tmp-dum.c"
    int xxy_us_dummy;

Finally, running cc1 manually from the command line SIGSEGV's,
irrespective of arguments.

David



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]