This is the mail archive of the gcc@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]

gcc-3_0-branch failure, bootstrapped with 3.0(052601)


Fails in 2 locations when compiler used to bootstrap is from Debian
unstable.

gcc-3.0 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 20010526 (Debian prerelease)

Using this to bootstrap:
#!/bin/sh

export CFLAGS='-Os -march=athlon'
export CXXFLAGS='-Os -march=athlon'
export LIBCFLAGS='-g -Os -march=athlon'
export LIBCXXFLAGS='-g -Os -march=athlon -fno-implicit-templates'

CC='gcc-3.0' /usr/src/cvs/gcc-3.0/configure --verbose --enable-threads=posix --with-system-zlib \
 --enable-shared --enable-objc-gc --enable-cxx-flags="${cxxflags}" --disable-nls

make -k -e bootstrap

Failure 1:
/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/libsupc++$ /usr/local/src/build/gcc-3.0/gcc/xgcc -B/usr/local/src/build/gcc-3.0/gcc/ -nostdinc++ -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -I/usr/src/cvs/gcc-3.0/libstdc++-v3/../gcc -I/usr/src/cvs/gcc-3.0/libstdc++-v3/../include -I/usr/src/cvs/gcc-3.0/libstdc++-v3/include -I/usr/src/cvs/gcc-3.0/libstdc++-v3/include/std -I/usr/src/cvs/gcc-3.0/libstdc++-v3/include/c_std -I../include -I/usr/src/cvs/gcc-3.0/libstdc++-v3/libsupc++ -Os -march=athlon -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -fno-exceptions -ffunction-sections
-fdata-sections -g -c /usr/src/cvs/gcc-3.0/libstdc++-v3/libsupc++/new_op.cc  -fPIC -DPIC -o new_op.o
/usr/src/cvs/gcc-3.0/libstdc++-v3/libsupc++/new_op.cc: In function `void*
   operator new(unsigned int)':
   /usr/src/cvs/gcc-3.0/libstdc++-v3/libsupc++/new_op.cc:55: `abort' undeclared in
      namespace `std'
More changes from moving builtins out of std?

Failure 2:
./libtool --mode=compile /usr/local/src/build/gcc-3.0/gcc/xgcc -B/usr/local/src/build/gcc-3.0/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -o gc_gc.lo -I. -I/usr/src/cvs/gcc-3.0/libobjc   -Os -march=athlon -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/usr/src/cvs/gcc-3.0/libobjc/objc  -I/usr/src/cvs/gcc-3.0/libobjc/../gcc -I/usr/src/cvs/gcc-3.0/libobjc/../gcc/config -I../../gcc -I/usr/src/cvs/gcc-3.0/libobjc/../include /usr/src/cvs/gcc-3.0/libobjc/gc.c
/usr/local/src/build/gcc-3.0/gcc/xgcc -B/usr/local/src/build/gcc-3.0/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -c -I. -I/usr/src/cvs/gcc-3.0/libobjc -Os -march=athlon -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS -DOBJC_WITH_GC=1 -I/usr/src/cvs/gcc-3.0/libobjc/objc -I/usr/src/cvs/gcc-3.0/libobjc/../gcc -I/usr/src/cvs/gcc-3.0/libobjc/../gcc/config -I../../gcc -I/usr/src/cvs/gcc-3.0/libobjc/../include /usr/src/cvs/gcc-3.0/libobjc/gc.c  -fPIC -DPIC -o .libs/gc_gc.o
/usr/src/cvs/gcc-3.0/libobjc/gc.c:37:16: gc.h: No such file or directory
/usr/src/cvs/gcc-3.0/libobjc/gc.c:40: parse error before "word"
...
...

find /usr/src/cvs/gcc-3.0/ -name gc.h
/usr/src/cvs/gcc-3.0/boehm-gc/gc.h
/usr/src/cvs/gcc-3.0/boehm-gc/cord/gc.h
/usr/src/cvs/gcc-3.0/boehm-gc/include/gc.h

So the -I's need to have one of the above directories, of course I have
no idea which, sorry.

-- 
Gordon Sadler


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