This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken
- From: Martin Reinecke <martin at MPA-Garching dot MPG dot DE>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 03 Jul 2006 11:55:50 +0200
- Subject: Re: Bootstrap broken
- References: <44A8D4CD.4030407@mpa-garching.mpg.de> <44A8E2A8.4020706@lu.unisi.ch>
Hi Paolo!
To exhibit this, you need to pass an explicit --enable-languages flag to
configure. In my testing I only did this in a non-empty build directory.
The attached patch tests in the correct directory, and I committed it as
obvious (and because it does what I had meant to do).
Hmm, still no luck :(
I'm configuring with
configure --prefix=/scratch/ugcc --enable-languages=c++,fortran --with-gmp=/afs/mpa/data/martin/mygmp --with-mpfr=/afs/mpa/data/martin/mympfr --without-makeinfo --disable-tls
and I have switched
S gcc/java
S gcc/objc
S gcc/testsuite
S gcc/objcp
S libobjc
S libada
S libjava
to the empty directory. Maybe this could cause the problem?
The full configure output is:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
configure: error: The gcc/. directory contains parts of c++ but is missing
make: *** No rule to make target `bootstrap'. Stop.
Cheers,
Martin