From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E799EA00E6 for ; Wed, 15 May 2019 10:42:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F2E35B1E; Wed, 15 May 2019 10:42:12 +0200 (CEST) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 0EAA24D27 for ; Wed, 15 May 2019 10:42:11 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 12526341; Wed, 15 May 2019 01:42:10 -0700 (PDT) Received: from net-arm-c2400.shanghai.arm.com (net-arm-c2400.shanghai.arm.com [10.169.40.36]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DFDF13F703; Wed, 15 May 2019 01:42:08 -0700 (PDT) From: Ruifeng Wang To: bruce.richardson@intel.com, konstantin.ananyev@intel.com Cc: dev@dpdk.org, Honnappa.Nagarahalli@arm.com, nd@arm.com, Ruifeng Wang Date: Wed, 15 May 2019 16:41:23 +0800 Message-Id: <1557909683-42718-1-git-send-email-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190515084123.PlqvXAjHThd2fkAwtrzFCIMooBuzKyC-F-BQDNpOlXc@z> 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. Signed-off-by: Ruifeng Wang Reviewed-by: Gavin Hu --- 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 bba9b92..28a8e09 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.7.4