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]

bootstrap fails when building with BOOT_CFLAGS=-O3


I update from cvs and bootstrap once a day or so on my i686 Linux box,
but starting on about Oct 2, bootstrap_lean began failing like this:

  ./xgcc -B/p/p/egcs-991016-00h03/i686-pc-linux-gnu/bin/ -B./ -I/p/p/egcs-991016-00h03/i686-pc-linux-gnu/include  -DIN_GCC  -DUSE_CPPLIB=1   -W -Wall -O3 -I./include  -I. -I../../gcc -I../../gcc/config -I../../gcc/../include  -g0 \
    -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-omit-frame-pointer \
    -c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
  xgcc: Internal compiler error: program cc1 got fatal signal 11
  make[2]: *** [crtbegin.o] Error 1
  make[2]: *** Waiting for unfinished jobs....

I found that it was because I was building with BOOT_CFLAGS='CFLAGS=-O3'.
If I back down to -O2, the bootstrap completes.

I configured/built like this:

  ./configure --prefix=/p/p/egcs-991016-00h03 \
    && make -j 3 BOOT_CFLAGS='CFLAGS=-O3' bootstrap_lean

  $ uname -a
  Linux ixi.eng.ascend.com 2.2.9 #1 SMP Wed Jun 16 08:20:18 CDT 1999 i686 unknown
  $ as -v
  GNU assembler version 2.9.4 (i686-pc-linux-gnu) using BFD version 2.9.4.0.6
  $ ld -v
  GNU ld version 2.9.4 (with BFD 2.9.4.0.6)

Should I be worried?
I suspect it's just something in my environment

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