Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 80/80] numactl: upgrade 2.0.13 -> 2.0.14
Date: Mon,  2 Nov 2020 17:49:07 +0100	[thread overview]
Message-ID: <20201102164907.27572-80-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20201102164907.27572-1-alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...1-numademo-fix-error-on-32bit-system.patch | 100 ------------------
 meta/recipes-support/numactl/numactl_git.bb   |  15 ++-
 2 files changed, 7 insertions(+), 108 deletions(-)
 delete mode 100644 meta/recipes-support/numactl/numactl/0001-numademo-fix-error-on-32bit-system.patch

diff --git a/meta/recipes-support/numactl/numactl/0001-numademo-fix-error-on-32bit-system.patch b/meta/recipes-support/numactl/numactl/0001-numademo-fix-error-on-32bit-system.patch
deleted file mode 100644
index 506101711a..0000000000
--- a/meta/recipes-support/numactl/numactl/0001-numademo-fix-error-on-32bit-system.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 68485f8516884377e54c623b0deff73f97321d96 Mon Sep 17 00:00:00 2001
-From: "Hongzhi.Song" <hongzhi.song@windriver.com>
-Date: Thu, 19 Sep 2019 04:32:31 -0400
-Subject: [PATCH] numademo: fix error on 32bit system
-
-Error Info on 32bit:
-root@intel-x86:~# numademo -t -e 1M
-Configured Nodes does not match available memory nodes
-
-That's because sizeof(long)=4Word, but sizeof(long long)=8Word
-on 32bit. So (long long) assigning to (long) maybe cause overflow.
-
-long numa_node_size(int node, long *freep)
-{
-    ...
-    long sz = numa_node_size64_int(node, &f2);
-    ~^^~
-    return sz;
-    ...
-}
-long long numa_node_size64(int node, long long *freep)
-~^^   ^^~
-{
-    ...
-}
-
-Unify the return type of above functions.
-
-Upstream-Status: Accepted [next version is after 2.0.13 or 2.0.14]
-[https://github.com/numactl/numactl/commit/a7c4bc790a191d3e42b63850b409c1a72b75a4e1]
-                 Submitted [https://github.com/numactl/numactl/pull/79]
-[The first patch was merged but has a error, then the second fix it.]
-
-Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
----
- libnuma.c         | 4 ++--
- numa.h            | 2 +-
- numademo.c        | 2 +-
- test/move_pages.c | 2 +-
- 4 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/libnuma.c b/libnuma.c
-index cac8851..8b5c6aa 100644
---- a/libnuma.c
-+++ b/libnuma.c
-@@ -791,10 +791,10 @@ long long numa_node_size64(int node, long long *freep)
- 
- make_internal_alias(numa_node_size64);
- 
--long numa_node_size(int node, long *freep)
-+long long numa_node_size(int node, long long *freep)
- {
- 	long long f2;
--	long sz = numa_node_size64_int(node, &f2);
-+	long long sz = numa_node_size64_int(node, &f2);
- 	if (freep)
- 		*freep = f2;
- 	return sz;
-diff --git a/numa.h b/numa.h
-index 3a8c543..268fb1d 100644
---- a/numa.h
-+++ b/numa.h
-@@ -143,7 +143,7 @@ int numa_preferred(void);
- 
- /* Return node size and free memory */
- long long numa_node_size64(int node, long long *freep);
--long numa_node_size(int node, long *freep);
-+long long numa_node_size(int node, long long *freep);
- 
- int numa_pagesize(void);
- 
-diff --git a/numademo.c b/numademo.c
-index a720db0..8c56da8 100644
---- a/numademo.c
-+++ b/numademo.c
-@@ -301,7 +301,7 @@ int max_node, numnodes;
- int get_node_list(void)
- {
-         int a, got_nodes = 0;
--        long free_node_sizes;
-+        long long free_node_sizes;
- 
-         numnodes = numa_num_configured_nodes();
-         node_to_use = (int *)malloc(numnodes * sizeof(int));
-diff --git a/test/move_pages.c b/test/move_pages.c
-index d1d8436..f8ff25d 100644
---- a/test/move_pages.c
-+++ b/test/move_pages.c
-@@ -26,7 +26,7 @@ int *node_to_use;
- int get_node_list()
- {
-         int a, got_nodes = 0, max_node, numnodes;
--        long free_node_sizes;
-+        long long free_node_sizes;
- 
-         numnodes = numa_num_configured_nodes();
-         node_to_use = (int *)malloc(numnodes * sizeof(int));
--- 
-2.23.0
-
diff --git a/meta/recipes-support/numactl/numactl_git.bb b/meta/recipes-support/numactl/numactl_git.bb
index e45afe9ee8..5640173aa9 100644
--- a/meta/recipes-support/numactl/numactl_git.bb
+++ b/meta/recipes-support/numactl/numactl_git.bb
@@ -10,16 +10,15 @@ inherit autotools-brokensep ptest
 
 LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=f8ff2391624f28e481299f3f677b21bb"
 
-SRCREV = "5d9f16722e3df49dc618a9f361bd482559695db7"
-PV = "2.0.13+git${SRCPV}"
+SRCREV = "dd6de072c92c892a86e18c0fd0dfa1ba57a9a05d"
+PV = "2.0.14"
 
 SRC_URI = "git://github.com/numactl/numactl \
-    file://Fix-the-test-output-format.patch \
-    file://Makefile \
-    file://run-ptest \
-    file://0001-define-run-test-target.patch \
-    file://0001-numademo-fix-error-on-32bit-system.patch \
-"
+           file://Fix-the-test-output-format.patch \
+           file://Makefile \
+           file://run-ptest \
+           file://0001-define-run-test-target.patch \
+           "
 
 S = "${WORKDIR}/git"
 
-- 
2.29.0


      parent reply	other threads:[~2020-11-02 16:50 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 16:47 [PATCH 01/80] spirv-tools: correctly set PV Alexander Kanavin
2020-11-02 16:47 ` [PATCH 02/80] spirv-tools: upgrade 2019.5 -> 2020.5 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 03/80] glslang: fix upstream version check Alexander Kanavin
2020-11-02 16:47 ` [PATCH 04/80] glslang: upgrade 8.13.3559 -> 8.13.3743 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 05/80] glslang: bump to a newer commit Alexander Kanavin
2020-11-02 16:47 ` [PATCH 06/80] shaderc: upgrade 2019.0 -> 2020.3 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 07/80] vulkan: update 1.2.135 -> 1.2.154 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 08/80] vulkan-samples: replace vulkan-demos Alexander Kanavin
2020-11-02 16:47 ` [PATCH 09/80] piglit: upgrade to latest revision Alexander Kanavin
2020-11-02 16:47 ` [PATCH 10/80] acpica: upgrade 20200717 -> 20200925 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 11/80] adwaita-icon-theme: upgrade 3.36.1 -> 3.38.0 Alexander Kanavin
2020-11-02 16:47 ` [PATCH 12/80] at-spi2-atk: upgrade 2.34.2 -> 2.38.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 13/80] at-spi2-core: upgrade 2.36.1 " Alexander Kanavin
2020-11-02 16:48 ` [PATCH 14/80] bison: upgrade 3.7.2 -> 3.7.3 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 15/80] createrepo-c: upgrade 0.16.0 -> 0.16.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 16/80] curl: upgrade 7.72.0 -> 7.73.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 17/80] debianutils: upgrade 4.11.1 -> 4.11.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 18/80] dhcpcd: upgrade 9.2.0 -> 9.3.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 19/80] dmidecode: upgrade 3.2 -> 3.3 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 20/80] dnf: upgrade 4.2.23 -> 4.4.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 21/80] ethtool: upgrade 5.8 -> 5.9 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 22/80] expat: upgrade 2.2.9 -> 2.2.10 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 23/80] gcr: upgrade 3.36.0 -> 3.38.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 24/80] glib-networking: upgrade 2.64.3 -> 2.66.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 25/80] gtk+3: upgrade 3.24.22 -> 3.24.23 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 26/80] help2man: upgrade 1.47.15 -> 1.47.16 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 27/80] i2c-tools: upgrade 4.1 -> 4.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 28/80] iw: upgrade 5.8 -> 5.9 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 29/80] kmscube: upgrade to latest revision Alexander Kanavin
2020-11-02 16:48 ` [PATCH 30/80] less: upgrade 562 -> 563 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 31/80] libdnf: upgrade 0.48.0 -> 0.54.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 32/80] libgudev: upgrade 233 -> 234 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 33/80] libinput: upgrade 1.16.1 -> 1.16.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 34/80] libuv: upgrade 1.39.0 -> 1.40.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 35/80] libva: upgrade 2.8.0 -> 2.9.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 36/80] libva-utils: update 2.8.0 -> 2.9.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 37/80] libwpe: upgrade 1.7.1 -> 1.8.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 38/80] libxkbcommon: upgrade 0.10.0 -> 1.0.1 Alexander Kanavin
2020-11-03 20:38   ` [OE-core] " Martin Jansa
2020-11-02 16:48 ` [PATCH 39/80] openssh: upgrade 8.3p1 -> 8.4p1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 40/80] openssl: upgrade 1.1.1g -> 1.1.1h Alexander Kanavin
2020-11-02 16:48 ` [PATCH 41/80] strace: upgrade 5.8 -> 5.9 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 42/80] sudo: upgrade 1.9.3 -> 1.9.3p1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 43/80] vala: upgrade 0.48.9 -> 0.50.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 44/80] wpebackend-fdo: upgrade 1.7.1 -> 1.8.0 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 45/80] xkeyboard-config: upgrade 2.30 -> 2.31 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 46/80] u-boot: upgrade 2020.07 -> 2020.10 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 47/80] usbutils: upgrade 012 -> 013 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 48/80] kea: upgrade 1.7.10 -> 1.9.1 Alexander Kanavin
2020-11-02 17:19   ` [OE-core] " akuster
2020-11-02 17:24     ` Alexander Kanavin
     [not found]     ` <1643C0CD4D3FE498.21917@lists.openembedded.org>
2020-11-02 20:19       ` Alexander Kanavin
2020-11-02 16:48 ` [PATCH 49/80] nfs-utils: upgrade 2.5.1 -> 2.5.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 50/80] dropbear: upgrade 2020.80 -> 2020.81 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 51/80] btrfs-tools: upgrade 5.7 -> 5.9 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 52/80] git: upgrade 2.28.0 -> 2.29.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 53/80] go: upgrade 1.15.2 -> 1.15.3 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 54/80] mtools: upgrade 4.0.24 -> 4.0.25 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 55/80] python3-numpy: upgrade 1.19.1 -> 1.19.3 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 56/80] python3-git: upgrade 3.1.7 -> 3.1.11 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 57/80] python3-pyelftools: upgrade 0.26 -> 0.27 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 58/80] python3-pygments: upgrade 2.6.1 -> 2.7.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 59/80] python3-setuptools: upgrade 49.6.0 -> 50.3.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 60/80] asciidoc: upgrade 9.0.2 -> 9.0.4 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 61/80] iptables: upgrade 1.8.5 -> 1.8.6 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 62/80] libsolv: upgrade 0.7.14 -> 0.7.16 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 63/80] stress-ng: upgrade 0.11.21 -> 0.11.23 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 64/80] libhandy: upgrade 1.0.0 -> 1.0.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 65/80] freetype: upgrade 2.10.2 -> 2.10.4 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 66/80] linux-firmware: upgrade 20200817 -> 20201022 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 67/80] alsa: upgrade 1.2.3 -> 1.2.4 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 68/80] gstreamer1.0: upgrade 1.18.0 -> 1.18.1 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 69/80] x264: upgrade to latest revision Alexander Kanavin
2020-11-02 16:48 ` [PATCH 70/80] rt-tests/hwlatdetect: upgrade 1.8 -> 1.9 Alexander Kanavin
2020-11-03 18:43   ` [OE-core] " Khem Raj
2020-11-03 19:17     ` Alexander Kanavin
2020-11-03 19:25       ` Khem Raj
2020-11-03 19:52         ` Alexander Kanavin
2020-11-03 20:00           ` Khem Raj
2020-11-02 16:48 ` [PATCH 71/80] webkitgtk: upgrade 2.30.1 -> 2.30.2 Alexander Kanavin
2020-11-02 16:48 ` [PATCH 72/80] diffoscope: upgrade 160 -> 161 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 73/80] enchant2: upgrade 2.2.9 -> 2.2.12 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 74/80] libassuan: upgrade 2.5.3 -> 2.5.4 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 75/80] libcap-ng: upgrade 0.7.11 -> 0.8 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 76/80] libevdev: upgrade 1.9.1 -> 1.10.0 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 77/80] libgcrypt: upgrade 1.8.6 -> 1.8.7 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 78/80] libmpc: upgrade 1.2.0 -> 1.2.1 Alexander Kanavin
2020-11-02 16:49 ` [PATCH 79/80] libsoup-2.4: upgrade 2.70.0 -> 2.72.0 Alexander Kanavin
2020-11-02 16:49 ` Alexander Kanavin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201102164907.27572-80-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox