On Sat, 26 Jan 2019 at 20:58, .uservorname .usernachname <dokumentarfilme@xxxxxxxxxxx> 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.