From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60116 invoked by alias); 28 Jan 2019 17:43:41 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 60098 invoked by uid 89); 28 Jan 2019 17:43:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:COM, usernachname, H*M:PROD, H*M:OUTLOOK X-HELO: EUR02-AM5-obe.outbound.protection.outlook.com Received: from mail-oln040092067091.outbound.protection.outlook.com (HELO EUR02-AM5-obe.outbound.protection.outlook.com) (40.92.67.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Jan 2019 17:43:39 +0000 Received: from HE1EUR02FT053.eop-EUR02.prod.protection.outlook.com (10.152.10.55) by HE1EUR02HT093.eop-EUR02.prod.protection.outlook.com (10.152.11.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.10; Mon, 28 Jan 2019 17:43:36 +0000 Received: from VI1P192MB0174.EURP192.PROD.OUTLOOK.COM (10.152.10.59) by HE1EUR02FT053.mail.protection.outlook.com (10.152.11.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.10 via Frontend Transport; Mon, 28 Jan 2019 17:43:36 +0000 Received: from VI1P192MB0174.EURP192.PROD.OUTLOOK.COM ([fe80::d955:d199:60c:a5e]) by VI1P192MB0174.EURP192.PROD.OUTLOOK.COM ([fe80::d955:d199:60c:a5e%4]) with mapi id 15.20.1558.023; Mon, 28 Jan 2019 17:43:36 +0000 From: ".uservorname .usernachname" To: Jonathan Wakely CC: "gcc-help@gcc.gnu.org" Subject: AW: xgcc: error trying to exec 'cc1plus': execvp: No such file or directory Date: Mon, 28 Jan 2019 17:43:00 -0000 Message-ID: References: , In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00123.txt.bz2 Thanks, I located cc1 in the /media/gcc-7.4.0-compiled/gcc/ folder. Maybe I= should have used ldd to check if it couldn't have resolved a dependency of= it. ________________________________ Von: Jonathan Wakely Gesendet: Samstag, 26. J=E4nner 2019 23:25 An: .uservorname .usernachname Cc: gcc-help@gcc.gnu.org Betreff: Re: xgcc: error trying to exec 'cc1plus': execvp: No such file or = directory On Sat, 26 Jan 2019 at 20:58, .uservorname .usernachname 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-linu= x-gnu/libstdc++-v3/libsupc++' > /bin/sh ../libtool --tag CXX --tag disable-shared --mode=3Dcompile /med= ia/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/libs= tdc++-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-l= inux-gnu/include -isystem /opt/gcc-7.4.0/sparc-unknown-linux-gnu/sys-includ= e -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/med= ia/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-impl= icit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnosti= cs-show-location=3Donce -frandom-seed=3Darray_type_info.lo -g -O2 -Wl,= --rpath=3Dusr/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/spa= rc-unknown-linux-gnu/libstdc++-v3/src -L/media/gcc-7.4.0-compiled/sparc-unk= nown-linux-gnu/libstdc++-v3/src/.libs -L/media/gcc-7.4.0-compiled/sparc-unk= nown-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-unk= nown-linux-gnu/sys-include -I/media/gcc-7.4.0/libstdc++-v3/../libgcc -I/med= ia/gcc-7.4.0-compiled/sparc-unknown-linux-gnu/libstdc++-v3/include/sparc-un= known-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 -fdi= agnostics-show-location=3Donce -frandom-seed=3Darray_type_info.lo -g -O2 -W= l,--rpath=3Dusr/local/lib:/opt/gcc-4.6.0/lib:/opt/gcc-4.6.0/libexec/gcc/spa= rc-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.