本帖最后由 蓝小猴 于 2023-3-23 15:04 编辑
ERROR: toolchain/gcc/final failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/yph/lede/include/toplevel.mk:231: world] Error 1
make[2]: Entering directory '/home/yph/lede/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/yph/lede/scripts/config'
make[1] world
make[2] toolchain/compile
make[3] -C toolchain/gdb compile
make[3] -C toolchain/binutils compile
make[3] -C toolchain/gcc/initial compile
make[3] -C toolchain/kernel-headers compile
make[3] -C toolchain/musl compile
make[3] -C toolchain/gcc/final compile
ERROR: toolchain/gcc/final failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/yph/lede/include/toplevel.mk:231: world] Error 1
make[2]: Entering directory '/home/yph/lede/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/yph/lede/scripts/config'
make[1]: Entering directory '/home/yph/lede'
make[2]: Entering directory '/home/yph/lede'
+ mkdir -p /home/yph/lede/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/yph/lede/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib stamp usr/include usr/lib
mkdir -p /home/yph/lede/build_dir/target-aarch64_cortex-a53_musl/stamp
touch /home/yph/lede/staging_dir/target-aarch64_cortex-a53_musl/.prepared
make[3]: Entering directory '/home/yph/lede/toolchain/gdb'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/yph/lede/toolchain/gdb'
time: toolchain/gdb/compile#0.00#0.01#0.02
make[3]: Entering directory '/home/yph/lede/toolchain/binutils'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/yph/lede/toolchain/binutils'
time: toolchain/binutils/compile#0.00#0.00#0.01
make[3]: Entering directory '/home/yph/lede/toolchain/gcc/initial'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/yph/lede/toolchain/gcc/initial'
time: toolchain/gcc/initial/compile#0.01#0.00#0.02
make[3]: Entering directory '/home/yph/lede/toolchain/kernel-headers'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/yph/lede/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#0.01#0.03#0.05
make[3]: Entering directory '/home/yph/lede/toolchain/musl'
make[3]: Leaving directory '/home/yph/lede/toolchain/musl'
time: toolchain/musl/compile#0.11#0.14#0.20
make[3]: Entering directory '/home/yph/lede/toolchain/gcc/final'
export SHELL="bash"; make CFLAGS="-O2 -I/home/yph/lede/staging_dir/host/include " CFLAGS_FOR_TARGET="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CXXFLAGS_FOR_TARGET="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" GOCFLAGS_FOR_TARGET="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" gcc_cv_libc_provides_ssp=yes -C /home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final all
make[4]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final'
make[5]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libiberty'
make[7]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libiberty/testsuite'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libiberty/testsuite'
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libiberty'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/fixincludes'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/fixincludes'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/lto-plugin'
make all-am
make[7]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/lto-plugin'
make[7]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/lto-plugin'
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/lto-plugin'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/intl'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/intl'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libiberty'
make[7]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libiberty/testsuite'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libiberty/testsuite'
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libiberty'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/fixincludes'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/fixincludes'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/build-x86_64-pc-linux-gnu/libcpp'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2 -I/home/yph/lede/staging_dir/host/include " "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" "INSTALL=/home/yph/lede/staging_dir/host/bin/install -c" "INSTALL_DATA=/home/yph/lede/staging_dir/host/bin/install -c -m 644" "INSTALL_PROGRAM=/home/yph/lede/staging_dir/host/bin/install -c" "INSTALL_SCRIPT=/home/yph/lede/staging_dir/host/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-O2 -I/home/yph/lede/staging_dir/host/include " "LIBCFLAGS_FOR_TARGET=-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" "MAKE=make" "MAKEINFO=/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl" "infodir=/home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/share/info" "libdir=/home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib" "prefix=/home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl" "tooldir=/home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/aarch64-openwrt-linux-musl" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-O2 -I/home/yph/lede/staging_dir/host/include " "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/zlib'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libbacktrace'
make all-am
make[7]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libbacktrace'
true DO=all multi-do # make
make[7]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libbacktrace'
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libbacktrace'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libcpp'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libcody'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libcody'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libdecnumber'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/libdecnumber'
make[6]: Entering directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/gcc'
/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/./gcc/xgcc -B/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0/gcc/testsuite/selftests
xgcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
compilation terminated.
make[6]: *** [/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0/gcc/cp/Make-lang.in:196: s-selftest-c++] Error 1
make[6]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/gcc'
make[5]: *** [Makefile:4448: all-gcc] Error 2
make[5]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final'
make[4]: *** [Makefile:976: all] Error 2
make[4]: Leaving directory '/home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final'
make[3]: *** [Makefile:91: /home/yph/lede/build_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/gcc-11.3.0-final/.built] Error 2
make[3]: Leaving directory '/home/yph/lede/toolchain/gcc/final'
time: toolchain/gcc/final/compile#1.54#0.86#2.31
ERROR: toolchain/gcc/final failed to build.
make[2]: *** [toolchain/Makefile:97: toolchain/gcc/final/compile] Error 1
make[2]: Leaving directory '/home/yph/lede'
make[1]: *** [toolchain/Makefile:93: /home/yph/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/yph/lede'
make: *** [/home/yph/lede/include/toplevel.mk:231: world] Error 2
更换节点解决
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|