Hi. I've been seeing bootstrap failures in my last few attempts to build mainline GCC. My last successful build was around November 26. I'm running on i686-pc-linux-gnu using Debian unstable. My builds are configured with the following short script:
$ cat gcc_conf.sh #!/bin/sh params="-march=pentium2" CPPFLAGS="-DNDEBUG" CFLAGS="-O2 ${params}" CXXFLAGS="-O2 ${params} -fno-check-new" /mnt/src/gcc/configure --prefix=/opt/gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages="c,c++,objc" --disable-checking --with-system-zlib --with-gc=page --disable-libstdcxx-pch export _POSIX2_VERSION=199209 make bootstrap-lean BOOT_CFLAGS="-O2 ${params}" CXXFLAGS="-O2 ${params} -fno-check-new" > make_out 2>&1 # make -k check > check_out 2>&1 $ The output of my last successful build: $ gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /mnt/src/gcc/configure --prefix=/opt/gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,objc --disable-checking --with-system-zlib --with-gc=page --disable-libstdcxx-pch Thread model: posix gcc version 4.3.0 20061127 (experimental) Here's the snippet of the build log where things fail: [ ... snip ... ] /usr/src/gcc_svn/objdir-1204/./prev-gcc/xgcc -B/usr/src/gcc_svn/objdir-1204/./prev-gcc/ -B/opt/gnu/i686-pc-linux-gnu/bin/ -O2 -march=pentium2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genextract \ build/genextract.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/errors.o .././libiberty/libiberty.a build/genextract /mnt/src/gcc/gcc/config/i386/i386.md \ insn-conditions.md > tmp-extract.c /bin/sh: line 1: 20227 Segmentation fault build/genextract /mnt/src/gcc/gcc/config/i386/i386.md insn-conditions.md >tmp-extract.c make[3]: *** [s-extract] Error 139 make[3]: Leaving directory `/usr/src/gcc_svn/objdir-1204/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/usr/src/gcc_svn/objdir-1204' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/usr/src/gcc_svn/objdir-1204' make: *** [bootstrap-lean] Error 2 I also am seeing similar failures when building on a SMP PIII machine running Redhat Rawhide, but on an Athlon machine running FC5 the builds have been completing successfully. The Athlon box has 1G of physical memory, where the rawhide machine has 256M with 1G swap and my Debian box has 128M with 100M swap. My most recent build attempt was last night on the Debian box, and the failure above comes from that build. Anyone else seeing similar failures? Any ideas as to why things go boom? Thanks. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822