[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #10 from Andrew Pinski --- The requirements now are explicit in saying you need a C++ compiler.
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #9 from developer at sandoe-acoustics dot co dot uk 2009-08-25 12:06 --- (In reply to comment #7) Use --enable-stage1-languages=c,c++ I believe that this bug also applies to powerpc-apple-darwin8 and i686-apple-darwin9. the suggested remedy also works. This was introduced between 148251 and 151057 (OK a big gap .. but) during which time I didn't update GMP - so the change is at least in part down to gcc build process changing. if it's any clue /lib/cpp is not a fallback compiler install location for Darwin - which perhaps implies that the build process has lost its idea of the target. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #4 from redi at gcc dot gnu dot org 2009-08-14 11:30 --- I'm seeing this on RHEL5 with the gcc-4.5-20090813 snapshot, GMP 4.3.1 and MPFR 2.4.1 I have /lib/cpp present (from the cpp package) but no system compilers installed. Instead I have GCC 4.3.4 elsewhere in my path, but in-tree gmp build tries to use /lib/cpp instead of the cpp in my path. configure:11168: /lib/cpp -DNO_ASM conftest.cc cpp: error trying to exec 'cc1plus': execvp: No such file or directory GMP should not be trying to use /lib/cpp as a C++ preprocessor during bootstrap. I configure with --disable-bootstrap to avoid the error. -- redi at gcc dot gnu dot org changed: What|Removed |Added CC||redi at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-08-14 11:30:42 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #5 from rwild at gcc dot gnu dot org 2009-08-14 12:43 --- Well in this case it has nothing to do with cpp, if you look at the respective config.log file you see that earlier some in-tree g++ from an earlier stage, /home/lucier/programs/gcc/objdirs/mainline/./prev-gcc/g++ is not found because it has not been built, thus the build chooses an installed g++. The real error is that the toplevel fails to enable building this g++ with your --enable-languages=c being set. All the rest is followup failure. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #6 from redi at gcc dot gnu dot org 2009-08-14 12:58 --- I'm configuring with --enable-languages=c,c++ and still don't have a prev-gcc/g++ (is g++ ever built in stage1?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-14 13:02 --- Use --enable-stage1-languages=c,c++ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #8 from redi at gcc dot gnu dot org 2009-08-14 13:13 --- Thanks, Richard. If in-tree gmp is going to use --enable-cxx (which it seems to, even though I'm not building with ppl and cloog-ppl) then should the c++ compiler be built in stage1 automatically? Alternatively, gmp's configure should look in PATH instead of assuming either stage1 or /lib/cpp will support C++, because that assumption isn't valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #1 from lucier at math dot purdue dot edu 2009-08-03 17:15 --- Created an attachment (id=18291) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18291action=view) Build log of failed bootstrap -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #2 from lucier at math dot purdue dot edu 2009-08-03 17:16 --- Created an attachment (id=18292) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18292action=view) log of failed gmp configuration -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950
[Bug bootstrap/40950] Bootstrap fails with in-tree gmp and without system C++ compiler
--- Comment #3 from lucier at math dot purdue dot edu 2009-08-03 17:17 --- Created an attachment (id=18293) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18293action=view) build log with right content type -- lucier at math dot purdue dot edu changed: What|Removed |Added Attachment #18291|0 |1 is obsolete|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40950