With this build script

#!/bin/tcsh
/bin/rm -rf *; ../../mainline/configure --enable-checking=release
--prefix=/pkgs/gcc-mainline-mem-stats --enable-languages=c
--enable-gather-detailed-mem-stats ; make -j 6 bootstrap >& build.log

on this OS:

heine:~/programs/gcc/objdirs/mainline> uname -a
Linux heine.math.purdue.edu 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25
01:19:55 UTC 2009 x86_64 GNU/Linux

with gmp 4.2.4 and mpfr-2.3.2 added to the mainline tree with revision

Mon Aug  3 12:57:15 EDT 2009
Mon Aug  3 16:57:15 UTC 2009 (revision 150373)

bootstrap fails when configuring gmp with the stage1 compiler with the message

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage2-gmp] Error 1
make[2]: Leaving directory `/home/lucier/programs/gcc/objdirs/mainline'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/lucier/programs/gcc/objdirs/mainline'
make: *** [bootstrap] Error 2

I'll attach build.log and gmp/config.log

and without a


-- 
           Summary: Bootstrap fails with in-tree gmp and without system C++
                    compiler
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950

Reply via email to