public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/46810] New: [4.6 regression] sparc64-linux bootstrap fails with "C++ preprocessor "/lib/cpp" fails sanity check"
@ 2010-12-05 16:36 mikpe at it dot uu.se
  2010-12-05 22:09 ` [Bug bootstrap/46810] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mikpe at it dot uu.se @ 2010-12-05 16:36 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 regression] sparc64-linux bootstrap fails with
                    "C++ preprocessor "/lib/cpp" fails sanity check"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to bootstrap 4.6-20101204 with C++ enabled on sparc64-linux fails
with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/mnt/scratch/objdir46/gcc':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory `/mnt/scratch/objdir46'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir46'
make: *** [bootstrap] Error 2

gcc/config.log shows:

...
configure:8444: checking how to run the C++ preprocessor
configure:8471: g++ -E  conftest.cpp
/mnt/scratch/gcc-4.6-20101204/gcc/configure: line 2478: g++: command not found
...
configure:8471: g++ -E  conftest.cpp
/mnt/scratch/gcc-4.6-20101204/gcc/configure: line 2478: g++: command not found
...
configure:8471: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
...

For the record, my bootstrap compiler only supports C and Ada, not C++.  (C++
should not require C++ for bootstrap, right?)

The previous weekly snapshot gcc-4.6-20101127 did not have this problem.

Configuration:
/mnt/scratch/gcc-4.6-20101204/configure --prefix=/mnt/scratch/install
--with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-4.3.2
--with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-2.4.2
--with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-0.8.2 --with-cpu=v8
--enable-multilib --disable-plugin --disable-lto --disable-nls
--enable-threads=posix --enable-checking=release --disable-libmudflap
--enable-languages=c,c++,objc,obj-c++,java,fortran


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-07 21:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-05 16:36 [Bug bootstrap/46810] New: [4.6 regression] sparc64-linux bootstrap fails with "C++ preprocessor "/lib/cpp" fails sanity check" mikpe at it dot uu.se
2010-12-05 22:09 ` [Bug bootstrap/46810] " rguenth at gcc dot gnu.org
2010-12-06 11:37 ` jakub at gcc dot gnu.org
2010-12-06 11:59 ` redi at gcc dot gnu.org
2010-12-06 18:11 ` pinskia at gcc dot gnu.org
2010-12-06 20:12 ` ian at airs dot com
2010-12-07 21:04 ` ian at gcc dot gnu.org
2010-12-07 21:09 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).