This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Bootstrap broken


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


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