sbwml / r4s_build_script

个人自用 OpenWrt 定制脚本存档
https://github.com/sbwml/builder
93 stars 150 forks source link

启用dpdk编译失败 #40

Closed shuangqiao999 closed 4 months ago

shuangqiao999 commented 4 months ago

你好 启用dpdk 试了几次都失败了

sbwml commented 4 months ago

日志?你希望的结果是什么

qingtian110 commented 4 months ago

nanopi aarch64 设备是好的 错误的是x86 架构

aarch64 logs: https://github.com/qingtian110/openwrt_build_script/actions/runs/9843038122

x86_64 logs: https://github.com/qingtian110/openwrt_build_script/actions/runs/9843034866

sbwml commented 4 months ago

很正常, 要不这个仓库为什么叫 “r4s”_build_script,东西的测试自然也是在这个机器上。至于 x86 这附带品,如果有问题就贴有效日志,因为我自己是绝对不可能会去刻意编译一遍这个架构

qingtian110 commented 4 months ago
2024-07-08T20:50:37.8428384Z time: package/new/numactl/compile#0.20#0.16#0.32
2024-07-08T20:50:39.0524282Z make[3]: Entering directory '/builder/openwrt/package/new/dpdk'
2024-07-08T20:50:39.4730256Z mkdir -p /builder/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp
2024-07-08T20:50:39.4761156Z SHELL= flock /builder/openwrt/tmp/.root-copy.flock -c 'cp -fpR /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/.pkgdir/libdpdk/. /builder/openwrt/staging_dir/target-x86_64_musl/root-x86/'
2024-07-08T20:50:39.5011409Z touch /builder/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.libdpdk_installed
2024-07-08T20:50:39.5187595Z mkdir -p /builder/openwrt/bin/targets/x86/64/packages /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/ipkg-x86_64/libdpdk/CONTROL /builder/openwrt/staging_dir/target-x86_64_musl/pkginfo
2024-07-08T20:50:39.5212090Z install -d -m0755 /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/ipkg-x86_64/libdpdk/usr/lib
2024-07-08T20:50:39.5237795Z install -m0755 /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/ipkg-install/usr/lib/librte_*.so.* /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/ipkg-x86_64/libdpdk/usr/lib/
2024-07-08T20:50:39.5477953Z find /builder/openwrt/build_dir/target-x86_64_musl/dpdk-24.03/ipkg-x86_64/libdpdk -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
2024-07-08T20:50:40.0895682Z Package libdpdk is missing dependencies for the following libraries:
2024-07-08T20:50:40.0903000Z libfdt.so.1
2024-07-08T20:50:40.0909016Z make[3]: *** [Makefile:223: /builder/openwrt/bin/packages/x86_64/base/libdpdk_24.03-1_x86_64.ipk] Error 1
2024-07-08T20:50:40.0910299Z make[3]: Leaving directory '/builder/openwrt/package/new/dpdk'
2024-07-08T20:50:40.0914561Z time: package/new/dpdk/compile#0.50#0.85#1.04
2024-07-08T20:50:40.0921885Z     ERROR: package/new/dpdk failed to build.
2024-07-08T20:50:40.0925629Z make[2]: *** [package/Makefile:129: package/new/dpdk/compile] Error 1
2024-07-08T20:50:40.0931655Z make[2]: Leaving directory '/builder/openwrt'
2024-07-08T20:50:40.0941811Z make[1]: *** [package/Makefile:123: /builder/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
2024-07-08T20:50:40.0958023Z make[1]: Leaving directory '/builder/openwrt'
2024-07-08T20:50:40.0998866Z make: *** [/builder/openwrt/include/toplevel.mk:232: world] Error 2
2024-07-08T20:50:40.1008427Z ##[error]Process completed with exit code 2.
2024-07-08T20:50:40.1186441Z Cleaning up orphan processes
qingtian110 commented 4 months ago

Select device to build x86_64

Build options (separate multiple options with spaces) ENABLE_DPDK=y KERNEL_CLANG_LTO=y BUILD_FAST=y ENABLE_LTO=y ENABLE_MOLD=y ENABLE_LRNG=y ENABLE_BPF=y USE_GCC14=y

commit 1821ac9f991d550be1776031e9e3cc5cf12ca82d https://github.com/qingtian110/openwrt_build_script/actions/runs/9855437641

shuangqiao999 commented 4 months ago

Select device to build x86_64

Build options (separate multiple options with spaces) ENABLE_DPDK=y KERNEL_CLANG_LTO=y BUILD_FAST=y ENABLE_LTO=y ENABLE_MOLD=y ENABLE_LRNG=y ENABLE_BPF=y USE_GCC14=y

commit 1821ac9f991d550be1776031e9e3cc5cf12ca82d https://github.com/qingtian110/openwrt_build_script/actions/runs/9855437641

点开看了一下 那个编译失败了