This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Mainline bootstrap problem
- From: Jerry Quinn <jlquinn at optonline dot net>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 18 Jun 2002 23:12:05 -0400
- Subject: Mainline bootstrap problem
I'm having difficulty bootstrapping gcc on powerpc-unknown-linux-gnu.
I run configure, then make bootstrap, and it dies for me while
building the stage 2 compiler as follows:
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/global.c -o global.o
../../gcc/gcc/global.c: In function `build_insn_chain':
../../gcc/gcc/global.c:1893: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [global.o] Error 1
make[2]: Leaving directory `/usr/local/src/build-gcc/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/build-gcc/gcc'
make: *** [bootstrap] Error 2
jlquinn@dragon:/usr/local/src/build-gcc$
However, if I then do make bootstrap again, it picks up where it left
off and successfully builds the file. The last time I tried (cvs 2
nights ago), it took two restarts and the bootstrap completed, but
failed the comparison.
I watched the compile during a restart and it doesn't run out of
memory. I'm not actively using the box for anything else, so memory
used by other processes is not changing.
Since it's not repeatable, I can't put gdb on it to figure out what's
wrong. Any clues?
Thanks,
Jerry Quinn