This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3_0-branch failure, bootstrapped with 3.0(052601)
- To: gcc at gcc dot gnu dot org
- Subject: Re: gcc-3_0-branch failure, bootstrapped with 3.0(052601)
- From: Gordon Sadler <gbsadler1 at lcisp dot com>
- Date: Fri, 1 Jun 2001 12:12:51 -0500
On Fri, Jun 01, 2001 at 09:24:37AM -0500, Gordon Sadler wrote:
> 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
>
Part of my problem above, cxxflags="-fno-exceptions".
>
> 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?
>
fno-exceptions may very well explain this. If fno-exceptions is an
invalid value for enable-cxx-flags, perhaps configure should error out
with an explanation?
--
Gordon Sadler