-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译失败 #12462
Comments
我也是,下了DL包,目前是tini报错了,卡在tini了 |
musl1.2.5 + gcc13 + libbpf1.4.5 所以没有一个人觉得这个配方奇怪么,埋头就 build |
哈,我突然想到一个词,缝合 |
哈哈,好久没更新系统了想更新下 |
听不懂,不是每一个人都有相同的知识水平,请教不埋头build,应该如何? |
强制rebase基线后,现在出这个了,咋弄,这冲突是个啥啊 Collected errors:
|
删除config文件,重新make menuconfig |
详细叙述
编译报错,详见日志。
重复 issue
具体型号
X86
详细日志
touch /home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5/.built_check
CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5=libbpf-1.4.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5=libbpf-1.4.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include " LDFLAGS="-L/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/lib -L/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib -znow -zrelro " make -C /home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5/src AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5=libbpf-1.4.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" V=1 LIBSUBDIR=lib ;
make[4]: Entering directory '/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5/src'
x86_64-openwrt-linux-musl-gcc -I. -I../include -I../include/uapi -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5=libbpf-1.4.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -I/home/builder/lede_x86/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -I/home/builder/lede_x86/staging_dir/target-x86_64_musl/usr/include -c btf.c -o staticobjs/btf.o
In file included from btf.c:18:
/home/builder/lede_x86/staging_dir/target-x86_64_musl/usr/include/gelf.h:86:9: error: unknown type name 'Elf64_Relr'
86 | typedef Elf64_Relr GElf_Relr;
| ^~~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
make[4]: *** [Makefile:134: staticobjs/btf.o] Error 1
make[4]: Leaving directory '/home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5/src'
make[3]: *** [Makefile:75: /home/builder/lede_x86/build_dir/target-x86_64_musl/libbpf-1.4.5/.built] Error 2
make[3]: Leaving directory '/home/builder/lede_x86/package/libs/libbpf'
time: package/libs/libbpf/compile#0.05#0.12#0.16
ERROR: package/libs/libbpf failed to build.
make[2]: *** [package/Makefile:116: package/libs/libbpf/compile] Error 1
make[2]: Leaving directory '/home/builder/lede_x86'
make[1]: *** [package/Makefile:110: /home/builder/lede_x86/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/builder/lede_x86'
make: *** [/home/builder/lede_x86/include/toplevel.mk:231:world] 错误 2
builder@Build-Server:/home/builder/lede_x86$
The text was updated successfully, but these errors were encountered: