From 74ea082f96b8392e1df9adb9c69a3d36efe98c07 Mon Sep 17 00:00:00 2001 From: Ruifeng Wang Date: Wed, 15 May 2019 16:41:23 +0800 Subject: [PATCH] doc: fix Linux guide for arm64 cross-compilation libnuma.so is needed to augment the cross toolchain with NUMA support. This fixed meson cross compiling issue. Command used: meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc ninja -C arm64-build Compiling error: .../aarch64-linux-gnu/bin/ld: lib/librte_eal.so.10.1: version node not found for symbol numa_run_on_node_mask@@libnuma_1.2 .../aarch64-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value collect2: error: ld returned 1 exit status [58/1370] Compiling C object 'lib/76b5a35@@rte_cmdline@sta/ librte_cmdline_cmdline_parse_string.c.o'. ninja: build stopped: subcommand failed. Fixes: 01add9da25cd ("doc: add cross compiling guide") Cc: stable@dpdk.org Signed-off-by: Ruifeng Wang Reviewed-by: Gavin Hu Acked-by: Jerin Jacob --- doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst index bba9b92039..28a8e0920d 100644 --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst @@ -73,6 +73,7 @@ Copy the NUMA header files and lib to the cross compiler's directories: cp /include/numa*.h /gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/ cp /lib/libnuma.a /gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/ + cp /lib/libnuma.so /gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/ .. _configure_and_cross_compile_dpdk_build: -- 2.20.1