* [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile
@ 2019-05-15 8:41 Ruifeng Wang
2019-05-15 8:41 ` Ruifeng Wang
2019-06-04 14:43 ` Jerin Jacob Kollanukkaran
0 siblings, 2 replies; 4+ messages in thread
From: Ruifeng Wang @ 2019-05-15 8:41 UTC (permalink / raw)
To: bruce.richardson, konstantin.ananyev
Cc: dev, Honnappa.Nagarahalli, nd, Ruifeng Wang
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 <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
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 <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/
cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
+ cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile
2019-05-15 8:41 [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile Ruifeng Wang
@ 2019-05-15 8:41 ` Ruifeng Wang
2019-06-04 14:43 ` Jerin Jacob Kollanukkaran
1 sibling, 0 replies; 4+ messages in thread
From: Ruifeng Wang @ 2019-05-15 8:41 UTC (permalink / raw)
To: bruce.richardson, konstantin.ananyev
Cc: dev, Honnappa.Nagarahalli, nd, Ruifeng Wang
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 <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
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 <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/
cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
+ cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile
2019-05-15 8:41 [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile Ruifeng Wang
2019-05-15 8:41 ` Ruifeng Wang
@ 2019-06-04 14:43 ` Jerin Jacob Kollanukkaran
2019-06-05 10:34 ` Thomas Monjalon
1 sibling, 1 reply; 4+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-06-04 14:43 UTC (permalink / raw)
To: Ruifeng Wang, bruce.richardson, konstantin.ananyev
Cc: dev, Honnappa.Nagarahalli, nd
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Ruifeng Wang
> Sent: Wednesday, May 15, 2019 2:11 PM
> To: bruce.richardson@intel.com; konstantin.ananyev@intel.com
> Cc: dev@dpdk.org; Honnappa.Nagarahalli@arm.com; nd@arm.com; Ruifeng
> Wang <ruifeng.wang@arm.com>
> Subject: [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross
> compile
>
> 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 <ruifeng.wang@arm.com>
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile
2019-06-04 14:43 ` Jerin Jacob Kollanukkaran
@ 2019-06-05 10:34 ` Thomas Monjalon
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2019-06-05 10:34 UTC (permalink / raw)
To: Ruifeng Wang
Cc: dev, Jerin Jacob Kollanukkaran, bruce.richardson,
konstantin.ananyev, Honnappa.Nagarahalli, nd
> > 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 <ruifeng.wang@arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu@arm.com>
>
> Acked-by: Jerin Jacob <jerinj@marvell.com>
Applied with following lines for backport:
Fixes: 01add9da25cd ("doc: add cross compiling guide")
Cc: stable@dpdk.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-05 10:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 8:41 [dpdk-dev] [PATCH v1] doc: update Linux gsg for ARM64 cross compile Ruifeng Wang
2019-05-15 8:41 ` Ruifeng Wang
2019-06-04 14:43 ` Jerin Jacob Kollanukkaran
2019-06-05 10:34 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).