From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: ".uservorname .usernachname" <dokumentarfilme@hotmail.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: xgcc: error trying to exec 'cc1plus': execvp: No such file or directory
Date: Sat, 26 Jan 2019 23:25:00 -0000 [thread overview]
Message-ID: <CAH6eHdSwdmBkzumQBDxbeJBzUPe+vReTCN=RRdQH+nbwfFcP7w@mail.gmail.com> (raw)
In-Reply-To: <VI1P192MB0174156B4ABBEBEB64C2F4E5B0940@VI1P192MB0174.EURP192.PROD.OUTLOOK.COM>
On Sat, 26 Jan 2019 at 20:58, .uservorname .usernachname
<dokumentarfilme@hotmail.com> wrote:
>
> Hi,
> I'm compiling gcc-7.4.0 and from what I see , gcc is finalizing the last setup steps.
> [ -f stage_final ] || echo stage3 > stage_final
> [...]
> Making all in libsupc++
> make[5]: Entering directory '/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/libsupc++'
> /bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile /media/gcc-7.4.0-compiled/./gcc/xgcc -shared-libgcc -B/media/gcc-7.4.0-compiled/./gcc -nostdinc++ -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/src -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/src/.libs -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/opt/gcc-7.4.0/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.4.0/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.4.0/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.4.0/sparc-unknown-linux-gnu/sys-include -I/media/gcc-7.4.0/libstdc++-v3/../libgcc -I/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/include/sparc-unknown-linux-gnu -I/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/include -I/media/gcc-7.4.0/libstdc++-v3/libsupc++ -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -frandom-seed=array_type_info.lo -g -O2 -Wl,--rpath=usr/local/lib:/opt/gcc-4.6.0/lib:/opt/gcc-4.6.0/libexec/gcc/sparc-unknown-linux-gnu/4.6.0 -D_GNU_SOURCE -c -o array_type_info.lo ../../../../gcc-7.4.0/libstdc++-v3/libsupc++/array_type_info.cc
> libtool: compile: /media/gcc-7.4.0-compiled/./gcc/xgcc -shared-libgcc -B/media/gcc-7.4.0-compiled/./gcc -nostdinc++ -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/src -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/src/.libs -L/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/opt/gcc-7.4.0/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.4.0/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.4.0/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.4.0/sparc-unknown-linux-gnu/sys-include -I/media/gcc-7.4.0/libstdc++-v3/../libgcc -I/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/include/sparc-unknown-linux-gnu -I/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/include -I/media/gcc-7.4.0/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -frandom-seed=array_type_info.lo -g -O2 -Wl,--rpath=usr/local/lib:/opt/gcc-4.6.0/lib:/opt/gcc-4.6.0/libexec/gcc/sparc-unknown-linux-gnu/4.6.0 -D_GNU_SOURCE -c ../../../../gcc-7.4.0/libstdc++-v3/libsupc++/array_type_info.cc -D_GLIBCXX_SHARED
> xgcc: error trying to exec 'cc1plus': execvp: No such file or directory
> make[5]: *** [Makefile:668: array_type_info.lo] Error 1
> make[5]: Leaving directory '/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/libsupc++'
> make[4]: *** [Makefile:510: all-recursive] Error 1
> make[4]: Leaving directory '/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3'
> make[3]: *** [Makefile:417: all] Error 2
> make[3]: Leaving directory '/media/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3'
> make[2]: *** [Makefile:15569: all-stage3-target-libstdc++-v3] Error 2
> make[2]: Leaving directory '/media/gcc-7.4.0-compiled'
> make[1]: *** [Makefile:22654: stage3-bubble] Error 2
> make[1]: Leaving directory '/media/gcc-7.4.0-compiled'
> make: *** [Makefile:929: all] Error 2
>
> I guess it should have used xg++ instead of xgcc in this step?
No, xgcc is correct. xg++ would try to automatically link to libstdc++
which would be a problem when you haven't built that yet.
> Any ideas how to fix this?
The problem seems to be that you don't have a cc1plus executable in
the right place.
next prev parent reply other threads:[~2019-01-26 23:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-26 20:58 .uservorname .usernachname
2019-01-26 23:25 ` Jonathan Wakely [this message]
2019-01-28 17:43 ` AW: " .uservorname .usernachname
2019-01-26 23:49 ` Segher Boessenkool
2019-01-28 17:44 ` AW: " .uservorname .usernachname
2019-01-28 10:52 ` Andrew Haley
2019-01-28 17:46 ` AW: " .uservorname .usernachname
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH6eHdSwdmBkzumQBDxbeJBzUPe+vReTCN=RRdQH+nbwfFcP7w@mail.gmail.com' \
--to=jwakely.gcc@gmail.com \
--cc=dokumentarfilme@hotmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).