helloworld icon indicating copy to clipboard operation
helloworld copied to clipboard

ERROR: package/feeds/helloworld/naiveproxy failed to build

Open jzhou404 opened this issue 1 year ago • 3 comments

make download -j8

make[2] -C feeds/packages/libs/liburing download make[2] -C feeds/packages/libs/libuv download make[2] -C feeds/packages/libs/libwebsockets download make[2] -C feeds/packages/utils/lm-sensors download ERROR: package/feeds/helloworld/naiveproxy failed to build. make[2] -C feeds/packages/utils/lvm2 download make package/download: 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[1] target/download make[2] -C target/linux download

jzhou404 avatar Dec 23 '24 03:12 jzhou404

找找你的网络原因。

zxlhhyccc avatar Dec 26 '24 05:12 zxlhhyccc

MIPS就是编译报错,不是什么网络问题,存在好久的问题了

make[3]: Entering directory '/home/gao/lede/feeds/helloworld/naiveproxy'
rm -f /home/gao/lede/build_dir/target-mipsel_24kc_musl/naiveproxy-131.0.6778.86-1/.built
touch /home/gao/lede/build_dir/target-mipsel_24kc_musl/naiveproxy-131.0.6778.86-1/.built_check
MAKEFLAGS="" /home/gao/lede/staging_dir/host/bin/ninja  -j1 -C "/home/gao/lede/build_dir/target-mipsel_24kc_musl/naiveproxy-131.0.6778.86-1/src/out/Release" naive
ninja: Entering directory `/home/gao/lede/build_dir/target-mipsel_24kc_musl/naiveproxy-131.0.6778.86-1/src/out/Release'
[1/947] CXX obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o
FAILED: obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MD -MF obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o.d -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HAS_MUSL_LIBC -D__MUSL__ -DCR_CLANG_REVISION=\"llvmorg-20-init-6794-g3dbd929e-1\" -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=6a68fd412b9aecd515a20a7cf84d11b598bfaf96 -DTEMP_REBUILD_HACK -DCR_SYSROOT_KEY=20230611T210420Z-2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/protobuf/src -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 -ffp-contract=off -fcomplete-member-pointers --target=mipsel-openwrt-linux-musl -fnew-alignment=16 -march=mipsel -mcpu=mips32r2 -msoft-float -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang span-ctor-from-string-literal -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Xclang -plugin-arg-find-bad-constructs -Xclang raw-span-template-as-trivial-member -Xclang -plugin-arg-find-bad-constructs -Xclang check-stack-allocated -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Xclang -add-plugin -Xclang raw-ptr-plugin -Xclang -plugin-arg-raw-ptr-plugin -Xclang check-raw-ptr-to-stack-allocated -Xclang -plugin-arg-raw-ptr-plugin -Xclang disable-check-raw-ptr-to-stack-allocated-error -Xclang -plugin-arg-raw-ptr-plugin -Xclang raw-ptr-exclude-path=../../third_party/dawn/ -DUNSAFE_BUFFERS_BUILD -Xclang -add-plugin -Xclang unsafe-buffers -Xclang -plugin-arg-unsafe-buffers -Xclang ../../build/config/unsafe_buffers_paths.txt -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-unused-function -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include --sysroot=../../../../../../staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl -fvisibility-inlines-hidden -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-template-arg-list-after-template-kw -Wno-dangling-assignment-gsl -c ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc -o obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
PLEASE submit a bug report to https://crbug.com in the Tools>LLVM component, run tools/clang/scripts/process_crashreports.py (only if inside Google) to upload crash related files, and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MD -MF obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o.d -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HAS_MUSL_LIBC -D__MUSL__ -DCR_CLANG_REVISION=\"llvmorg-20-init-6794-g3dbd929e-1\" -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=6a68fd412b9aecd515a20a7cf84d11b598bfaf96 -DTEMP_REBUILD_HACK -DCR_SYSROOT_KEY=20230611T210420Z-2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/protobuf/src -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -split-threshold-for-reg-with-hint=0 -ffp-contract=off -fcomplete-member-pointers --target=mipsel-openwrt-linux-musl -fnew-alignment=16 -march=mipsel -mcpu=mips32r2 -msoft-float -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang span-ctor-from-string-literal -Xclang -plugin-arg-find-bad-constructs -Xclang raw-ref-template-as-trivial-member -Xclang -plugin-arg-find-bad-constructs -Xclang raw-span-template-as-trivial-member -Xclang -plugin-arg-find-bad-constructs -Xclang check-stack-allocated -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Xclang -add-plugin -Xclang raw-ptr-plugin -Xclang -plugin-arg-raw-ptr-plugin -Xclang check-raw-ptr-to-stack-allocated -Xclang -plugin-arg-raw-ptr-plugin -Xclang disable-check-raw-ptr-to-stack-allocated-error -Xclang -plugin-arg-raw-ptr-plugin -Xclang raw-ptr-exclude-path=../../third_party/dawn/ -DUNSAFE_BUFFERS_BUILD -Xclang -add-plugin -Xclang unsafe-buffers -Xclang -plugin-arg-unsafe-buffers -Xclang ../../build/config/unsafe_buffers_paths.txt -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wno-unused-function -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include --sysroot=../../../../../../staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl -fvisibility-inlines-hidden -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-template-arg-list-after-template-kw -Wno-dangling-assignment-gsl -c ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc -o obj/third_party/protobuf/protobuf_lite/generated_message_tctable_lite.o
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../../third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc'.
4.	Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function '@_ZN6google8protobuf8internal8TcParser9MiniParseEPNS0_11MessageLiteEPKcPNS1_12ParseContextEPKNS1_16TcParseTableBaseEyNS1_11TcFieldDataE'
#0 0x00005e6011e1a9bf (../../third_party/llvm-build/Release+Asserts/bin/clang+++0x421a9bf)
clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 20.0.0git (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project 3dbd929ea6af134650dd1d91baeb61a4fc1b0eb8)
Target: mipsel-openwrt-linux-musl
Thread model: posix
InstalledDir: ../../third_party/llvm-build/Release+Asserts/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: ../../tools/clang/crashreports/generated_message_tctable_lite-50da7d.cpp
clang++: note: diagnostic msg: ../../tools/clang/crashreports/generated_message_tctable_lite-50da7d.sh
clang++: note: diagnostic msg: 

********************
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:118: /home/gao/lede/build_dir/target-mipsel_24kc_musl/naiveproxy-131.0.6778.86-1/.built] Error 1
make[3]: Leaving directory '/home/gao/lede/feeds/helloworld/naiveproxy'
time: package/feeds/helloworld/naiveproxy/compile#1.19#0.13#1.31
    ERROR: package/feeds/helloworld/naiveproxy failed to build.
make[2]: *** [package/Makefile:116: package/feeds/helloworld/naiveproxy/compile] Error 1
make[2]: Leaving directory '/home/gao/lede'
make[1]: *** [package/Makefile:110: /home/gao/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/gao/lede'
make: *** [/home/gao/lede/include/toplevel.mk:231: world] Error 2

Cathgao avatar Dec 26 '24 07:12 Cathgao

@Cathgao 你实在编译不过去就直接用二进制吧。

zxlhhyccc avatar Dec 28 '24 13:12 zxlhhyccc