DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
* [dpdk-dev] [PATCH] doc: use the latest numactl release
@ 2019-11-27 15:23 Ali Alnubani
  2019-11-28  2:10 ` Ruifeng Wang (Arm Technology China)
  0 siblings, 1 reply; 4+ messages in thread
From: Ali Alnubani @ 2019-11-27 15:23 UTC (permalink / raw)
  To: dev; +Cc: gavin.hu, joyce.kong, ruifeng.wang

Previous versions of numactl may produce the following error
on some systems (at least on Fedora 30 and RHEL7.4):

  ./.libs/libnuma.so: undefined reference to `minor'
  ./.libs/libnuma.so: undefined reference to `major'
  collect2: error: ld returned 1 exit status

This was fixed in upstream commit:
https://github.com/numactl/numactl/commit/25691a084a2012a339395ade567dbae814e237e9
The fix is available in v2.0.13.

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e799b0ba4..e47218af9 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -50,7 +50,7 @@ NUMA is required by most modern machines, not needed for non-NUMA architectures.
 
    git clone https://github.com/numactl/numactl.git
    cd numactl
-   git checkout v2.0.11 -b v2.0.11
+   git checkout v2.0.13 -b v2.0.13
    ./autogen.sh
    autoconf -i
    ./configure --host=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc --prefix=<numa install dir>
-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: use the latest numactl release
  2019-11-27 15:23 [dpdk-dev] [PATCH] doc: use the latest numactl release Ali Alnubani
@ 2019-11-28  2:10 ` Ruifeng Wang (Arm Technology China)
  2019-11-28  2:30   ` Gavin Hu (Arm Technology China)
  2019-11-28 19:01   ` Thomas Monjalon
  0 siblings, 2 replies; 4+ messages in thread
From: Ruifeng Wang (Arm Technology China) @ 2019-11-28  2:10 UTC (permalink / raw)
  To: Ali Alnubani, dev
  Cc: Gavin Hu (Arm Technology China), Joyce Kong (Arm Technology China), nd


> -----Original Message-----
> From: Ali Alnubani <alialnu@mellanox.com>
> Sent: Wednesday, November 27, 2019 23:23
> To: dev@dpdk.org
> Cc: Gavin Hu (Arm Technology China) <Gavin.Hu@arm.com>; Joyce Kong
> (Arm Technology China) <Joyce.Kong@arm.com>; Ruifeng Wang (Arm
> Technology China) <Ruifeng.Wang@arm.com>
> Subject: [PATCH] doc: use the latest numactl release
> 
> Previous versions of numactl may produce the following error on some
> systems (at least on Fedora 30 and RHEL7.4):
> 
According to the numactl commit message, the error happens when glibc 2.28 and later is used.

Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>

>   ./.libs/libnuma.so: undefined reference to `minor'
>   ./.libs/libnuma.so: undefined reference to `major'
>   collect2: error: ld returned 1 exit status
> 
> This was fixed in upstream commit:
> https://github.com/numactl/numactl/commit/25691a084a2012a339395ade56
> 7dbae814e237e9
> The fix is available in v2.0.13.
> 
> Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
> ---
>  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 e799b0ba4..e47218af9 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -50,7 +50,7 @@ NUMA is required by most modern machines, not
> needed for non-NUMA architectures.
> 
>     git clone https://github.com/numactl/numactl.git
>     cd numactl
> -   git checkout v2.0.11 -b v2.0.11
> +   git checkout v2.0.13 -b v2.0.13
>     ./autogen.sh
>     autoconf -i
>     ./configure --host=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc --
> prefix=<numa install dir>
> --
> 2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: use the latest numactl release
  2019-11-28  2:10 ` Ruifeng Wang (Arm Technology China)
@ 2019-11-28  2:30   ` Gavin Hu (Arm Technology China)
  2019-11-28 19:01   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Gavin Hu (Arm Technology China) @ 2019-11-28  2:30 UTC (permalink / raw)
  To: Ruifeng Wang (Arm Technology China), Ali Alnubani, dev
  Cc: Joyce Kong (Arm Technology China), nd, nd

Acked-by: Gavin Hu <gavin.hu@arm.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] doc: use the latest numactl release
  2019-11-28  2:10 ` Ruifeng Wang (Arm Technology China)
  2019-11-28  2:30   ` Gavin Hu (Arm Technology China)
@ 2019-11-28 19:01   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2019-11-28 19:01 UTC (permalink / raw)
  To: Ali Alnubani
  Cc: dev, Ruifeng Wang (Arm Technology China),
	Gavin Hu (Arm Technology China),
	Joyce Kong (Arm Technology China),
	nd

28/11/2019 03:10, Ruifeng Wang (Arm Technology China):
> From: Ali Alnubani <alialnu@mellanox.com>
> > 
> > Previous versions of numactl may produce the following error on some
> > systems (at least on Fedora 30 and RHEL7.4):
> > 
> According to the numactl commit message, the error happens when glibc 2.28 and later is used.
> 
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
> 
> >   ./.libs/libnuma.so: undefined reference to `minor'
> >   ./.libs/libnuma.so: undefined reference to `major'
> >   collect2: error: ld returned 1 exit status
> > 
> > This was fixed in upstream commit:
> > https://github.com/numactl/numactl/commit/25691a084a2012a339395ade56
> > 7dbae814e237e9
> > The fix is available in v2.0.13.
> > 
> > Signed-off-by: Ali Alnubani <alialnu@mellanox.com>

Applied, thanks





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-27 15:23 [dpdk-dev] [PATCH] doc: use the latest numactl release Ali Alnubani
2019-11-28  2:10 ` Ruifeng Wang (Arm Technology China)
2019-11-28  2:30   ` Gavin Hu (Arm Technology China)
2019-11-28 19:01   ` Thomas Monjalon

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org
	public-inbox-index dpdk-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git