doc: fix Linux guide for arm64 cross-compilation
authorRuifeng Wang <ruifeng.wang@arm.com>
Wed, 15 May 2019 08:41:23 +0000 (16:41 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Jun 2019 10:32:43 +0000 (12:32 +0200)
commit74ea082f96b8392e1df9adb9c69a3d36efe98c07
tree5a1da070cda8d81570f377474dd6f9fb30eba16d
parent8f4ebd0c34adabdec5e18b0622f1ed0a8b80915c
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 <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst