This is the mail archive of the gcc-help@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]

libstdc++ test suite: "g++: error trying to exec 'cc1plus': execvp: No such file or directory"


Hi,

I'm trying to run testsuite on cross-compiler built from mainline gcc
following these
documents: https://gcc.gnu.org/install/test.html and
https://gcc.gnu.org/wiki/Testing_GCC

But tests fail for libstdc++, in the libstdc++.log I see

spawn -ignore SIGHUP g++
-B/home/jcmvbkbc/ws/tensilica/projects/201409-call0/build-5.0.0-windowed-check/xtensa-buildroot-linux-uclibc/libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -g -O2 -D_GNU_SOURCE
-DLOCALEDIR="."
-I/home/jcmvbkbc/ws/tensilica/projects/201409-call0/gcc/libstdc++-v3/testsuite/util
config.cc --sysroot=/home/jcmvbkbc/tmp/br/build-dejagnu-windowed/host/usr/xtensa-buildroot-linux-uclibc/sysroot
-dN -E -o config.ii
g++: error trying to exec 'cc1plus': execvp: No such file or directory

I've found seemingly related bugreport here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54279
but in my case the other branch with
        set compiler [transform "g++"]
is taken.

Am I doing something wrong? Or this is a bug? Any suggestion on how to fix it?

-- 
Thanks.
-- Max


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