Thanks for your reply.

On Jul 25, 2009, at 7:18 AM, Ralf Wildenhues wrote:

Does /home/lucier/programs/gcc/objdirs/mainline/./prev-gcc/g++ exist,

No.

and if yes, is it a functioning executable?

If it doesn't exist, that looks like the toplevel logic for which
languages to build still has a loop hole for --enable-languages=c,
either not properly enabling the C++ compiler for stage 1, or wrongly
overriding CXX, CXX_FOR_BUILD in toplevel Makefile.tpl to point to
nonexistent previous-stage C++ compiler.  I don't know which is the
desired one.

BTW, what's the last <stuff omitted>, and why does your /lib/cpp try to
spawn cc1plus?

I put gmp/config.log at

http://www.math.purdue.edu/~lucier/bugzilla/10/gmp-config.log

and the build log (which is a bit confusing, I did a "make -j 6 bootstrap > build.log" and then "make bootstrap >>& build.log" (in tcsh) to get a clearer message of the error at the end of the log) at

http://www.math.purdue.edu/~lucier/bugzilla/10/build.log

I tried building gcc like this on another machine, and it gets more confusing, at least to me. When I put gmp-4.2.4 or gmp-4.3.0 in-tree on RHEL 5 with

leibniz-4% uname -a
Linux leibniz.math.purdue.edu 2.6.18-128.1.16.el5xen #1 SMP Fri Jun 26 11:10:46 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

it works; when I put either in-tree on Ubuntu 9.04 with

heine:~/programs/gcc/objdirs/mainline> uname -a
Linux heine.math.purdue.edu 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux

it fails.

Brad

Reply via email to