This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 2000-07-31 bootstrap problem
- To: Alexandre Oliva <aoliva at redhat dot com>, Zack Weinberg <zack at wolery dot cumb dot org>, gcc-bugs at gcc dot gnu dot org
- Subject: gcc 2000-07-31 bootstrap problem
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- Date: Tue, 1 Aug 2000 15:19:07 +0200
I think either Alexandre or Zack may know what's going on and how to fix it,
since Zack is playing with cpp, and Alexandre is playing with configure
machinery.
2000-07-31 fails bootstrapping at the end of stage 3, in the library build
stage.
Here's the issue (recompiled with -v)
rootme=`pwd`/ ; export rootme; CC="/var/www/work/lang/egcs/snapshot/build-i386/gcc/xgcc -B/var/www/work/lang/egcs/snapshot/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.7/bin/ -B/usr/local/i386-unknown-openbsd2.7/lib/ -isystem /usr/local/i386-unknown-openbsd2.7/include -I. -I/usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio"; export CC; CXX="c++ -v -B/var/www/work/lang/egcs/snapshot/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.7/bin/ -B/usr/local/i386-unknown-openbsd2.7/lib/ -isystem /usr/local/i386-unknown-openbsd2.7/include -I. -I/usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio -nostdinc++ -nostdinc++ -O2 -g"; export CXX; CONFIG_NM="nm"; export CONFIG_NM; /bin/sh /usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h
Reading specs from /var/www/work/lang/egcs/snapshot/build-i386/gcc/specs
gcc driver version 2.95.2 19991024 (release) executing gcc version 2.96
/var/www/work/lang/egcs/snapshot/build-i386/gcc/cpp -lang-c++ -nostdinc++ -nostdinc++ -v -I. -I/usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio -isystem /usr/local/i386-unknown-openbsd2.7/lib/include -isystem /usr/local/i386-unknown-openbsd2.7/bin/include -isystem /var/www/work/lang/egcs/snapshot/build-i386/gcc/include -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__cplusplus -D__unix__ -D__OpenBSD__ -D__unix__ -D__OpenBSD__ -Asystem(unix) -Asystem(bsd) -Asystem(OpenBSD) -D__EXCEPTIONS -D__OPTIMIZE__ -g -isystem /usr/local/i386-unknown-openbsd2.7/include dummy.C /tmp/ccV11500.ii
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-openbsd2.7/2.96/specs
gcc version 2.96 20000731 (experimental)
cpp0 -lang-c++ -nostdinc++ -nostdinc++ -v -Asystem(unix) -Asystem(bsd) -Asystem(OpenBSD) -I. -I/usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio -iprefix /var/www/work/lang/egcs/snapshot/build-i386/gcc/../lib/gcc-lib/i386-unknown-openbsd2.7/2.96/ -D__unix__ -D__OpenBSD__ -D__unix__ -D__OpenBSD__ -Asystem(unix) -Asystem(bsd) -Asystem(OpenBSD) -g -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__cplusplus -D__unix__ -D__OpenBSD__ -D__unix__ -D__OpenBSD__ -D__EXCEPTIONS -D__OPTIMIZE__ -isystem /usr/local/i386-unknown-openbsd2.7/lib/include -isystem /usr/local/i386-unknown-openbsd2.7/bin/include -isystem /var/www/work/lang/egcs/snapshot/build-i386/gcc/include -isystem /usr/local/i386-unknown-openbsd2.7/include dummy.C -o /tmp/ccV11500.ii
cpp: installation problem, cannot exec `cpp0': No such file or directory
gen-params: could not compile dummy.C with c++ -v -B/var/www/work/lang/egcs/snapshot/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.7/bin/ -B/usr/local/i386-unknown-openbsd2.7/lib/ -isystem /usr/local/i386-unknown-openbsd2.7/include -I. -I/usr/ports/lang/egcs/snapshot/work/egcs-20000731/libio -nostdinc++ -nostdinc++ -O2 -g
Somehow, gen-params does not get any path for cpp0, even though it is present
in /var/www/work/lang/egcs/snapshot/build-i386/gcc
This suspiciously looks like cpp may now need to understand -B...
Note that installing cpp0 first allows bootstrap to continue, so this is
a failure mode that will not show on machines having gcc already installed
somewhere...