* [PATCH 0/7] Upgrades on 20th October
@ 2026-10-20 9:29 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
` (6 more replies)
0 siblings, 7 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
Jaipaul Cheernam (7):
elfutils: upgrade 0.196 -> 0.197
ethtool: upgrade 7.1 -> 7.2
repo: upgrade 2.68.1 -> 2.69
libzip: upgrade 1.12 -> 1.12.1
libunistring: upgrade 1.4.2 -> 1.5
log4cplus: upgrade 2.2.0.1 -> 2.2.1
python3-jsonpointer: upgrade 3.2.1 -> 3.4
.../{elfutils_0.196.bb => elfutils_0.197.bb} | 4 +-
...s-uio.h-instead-of-linux-uio.h-for-s.patch | 74 -------------------
...001-config-eu.am-do-not-force-Werror.patch | 2 +-
...-check-data_list.data.d.d_buf-before.patch | 2 +-
...-skip-the-test-when-gcc-not-deployed.patch | 2 +-
...m-compile-test_nlist-with-standard-C.patch | 4 +-
...cvt_gunhash-if-dest-and-src-are-same.patch | 2 +-
.../elfutils/files/0003-fixheadercheck.patch | 2 +-
.../elfutils/files/0003-musl-utils.patch | 4 +-
.../elfutils/files/ptest.patch | 8 +-
.../elfutils/files/srcfiles.patch | 65 ----------------
...og4cplus_2.2.0.1.bb => log4cplus_2.2.1.bb} | 2 +-
...er_3.2.1.bb => python3-jsonpointer_3.4.bb} | 2 +-
.../repo/{repo_2.68.1.bb => repo_2.69.bb} | 2 +-
.../ethtool/avoid_parallel_tests.patch | 6 +-
.../{ethtool_7.1.bb => ethtool_7.2.bb} | 2 +-
.../{libzip_1.12.bb => libzip_1.12.1.bb} | 2 +-
...unistring_1.4.2.bb => libunistring_1.5.bb} | 4 +-
18 files changed, 24 insertions(+), 165 deletions(-)
rename meta/recipes-devtools/elfutils/{elfutils_0.196.bb => elfutils_0.197.bb} (97%)
delete mode 100644 meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
delete mode 100644 meta/recipes-devtools/elfutils/files/srcfiles.patch
rename meta/recipes-devtools/log4cplus/{log4cplus_2.2.0.1.bb => log4cplus_2.2.1.bb} (91%)
rename meta/recipes-devtools/python/{python3-jsonpointer_3.2.1.bb => python3-jsonpointer_3.4.bb} (87%)
rename meta/recipes-devtools/repo/{repo_2.68.1.bb => repo_2.69.bb} (94%)
rename meta/recipes-extended/ethtool/{ethtool_7.1.bb => ethtool_7.2.bb} (94%)
rename meta/recipes-extended/libzip/{libzip_1.12.bb => libzip_1.12.1.bb} (93%)
rename meta/recipes-support/libunistring/{libunistring_1.4.2.bb => libunistring_1.5.bb} (87%)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 14:13 ` [OE-core] " Mathieu Dubois-Briand
` (2 more replies)
2026-10-20 9:29 ` [PATCH 2/7] ethtool: upgrade 7.1 -> 7.2 Jaipaul Cheernam
` (5 subsequent siblings)
6 siblings, 3 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
Version 0.197 "Anti-Corruption"
THREAD-SAFETY: New document describing the thread safety model for elfutils
libraries when built with --enable-thread-safety. Thread
safety support remains experimental.
backends: Add unwinding support for alpha core files and processes.
libdebuginfod: The progress callback function is now also invoked when
waiting for a server's initial response.
libdw: dwarf_begin_elf_type is now exported from libdw.so. Previously
this function was missing from the exported symbols.
libelf: Improved handling of corrupt ZSTD compression headers.
readelf: Improved handling of corrupt .gdb_index and .debug_cu_index
sections.
translations: New Swedish translation.
unstrip: Improved handling of corrupt symbol tables. When -m is given,
the -d output path is now built from the module basename to avoid
writing the reconstructed module image outside the intended
output directory.
- Drop already upstreamed patches
srcfiles.patch, 0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../{elfutils_0.196.bb => elfutils_0.197.bb} | 4 +-
...s-uio.h-instead-of-linux-uio.h-for-s.patch | 74 -------------------
...001-config-eu.am-do-not-force-Werror.patch | 2 +-
...-check-data_list.data.d.d_buf-before.patch | 2 +-
...-skip-the-test-when-gcc-not-deployed.patch | 2 +-
...m-compile-test_nlist-with-standard-C.patch | 4 +-
...cvt_gunhash-if-dest-and-src-are-same.patch | 2 +-
| 2 +-
.../elfutils/files/0003-musl-utils.patch | 4 +-
.../elfutils/files/ptest.patch | 8 +-
.../elfutils/files/srcfiles.patch | 65 ----------------
11 files changed, 14 insertions(+), 155 deletions(-)
rename meta/recipes-devtools/elfutils/{elfutils_0.196.bb => elfutils_0.197.bb} (97%)
delete mode 100644 meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
delete mode 100644 meta/recipes-devtools/elfutils/files/srcfiles.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.196.bb b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
similarity index 97%
rename from meta/recipes-devtools/elfutils/elfutils_0.196.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.197.bb
index 4541000840b..0d0b64cb4d0 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.196.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
@@ -19,13 +19,11 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://ptest.patch \
file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
file://0001-config-eu.am-do-not-force-Werror.patch \
- file://0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch \
- file://srcfiles.patch \
"
SRC_URI:append:libc-musl = " \
file://0003-musl-utils.patch \
"
-SRC_URI[sha256sum] = "fd5cc6b77ad6773cac93cb3f415f9318ac3b3455eecf801f6b4a742c4f6c7209"
+SRC_URI[sha256sum] = "1fdf525f22dcf796d99a99ba3ea00a1f7b1ae5421bc62e8443a708920b99b904"
inherit autotools gettext ptest pkgconfig
diff --git a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch b/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
deleted file mode 100644
index 0461172fcfd..00000000000
--- a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 64e89606ff4967a647525524aec00dd33765ba2a Mon Sep 17 00:00:00 2001
-From: Daeho Ro <email@daeho.ro>
-Date: Sun, 16 Aug 2026 16:27:56 +0900
-Subject: [PATCH] backends: use <sys/uio.h> instead of <linux/uio.h> for
- struct iovec
-
-Since commit 0e8b57a3 ("elfcompress: Handle existing output files
-(symlinks)") lib/system.h includes <fcntl.h>. When _GNU_SOURCE is
-defined, glibc's <fcntl.h> pulls in <bits/types/struct_iovec.h> (via
-bits/fcntl-linux.h), which defines struct iovec. The kernel UAPI header
-<linux/uio.h> defines struct iovec unconditionally, so including it
-after "system.h" now breaks the aarch64 backend build:
-
- In file included from aarch64_initreg.c:36:
- /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec'
- 17 | struct iovec
- | ^~~~~
- In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:38,
- from /usr/include/aarch64-linux-gnu/bits/fcntl.h:61,
- from /usr/include/fcntl.h:35,
- from ../lib/system.h:42,
- from aarch64_initreg.c:33:
- /usr/include/aarch64-linux-gnu/bits/types/struct_iovec.h:26:8: note: originally defined here
-
-Seen building 0.196 on aarch64 with glibc 2.39 and gcc 13.3.0.
-
-Both files only need struct iovec to call ptrace (PTRACE_GETREGSET),
-which glibc provides in <sys/uio.h>; that header guards the definition
-with __iovec_defined, so it composes with the rest of system.h.
-arm_initreg.c does not currently include "system.h" and so still builds,
-but it has the same latent conflict.
-
-* backends/aarch64_initreg.c: Include <sys/uio.h> instead of
- <linux/uio.h>.
-* backends/arm_initreg.c: Likewise.
-
-Signed-off-by: Daeho Ro <email@daeho.ro>
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=patch;h=64e89606ff4967a647525524aec00dd33765ba2a]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- backends/aarch64_initreg.c | 2 +-
- backends/arm_initreg.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
-index a6badbb4..539a6366 100644
---- a/backends/aarch64_initreg.c
-+++ b/backends/aarch64_initreg.c
-@@ -33,7 +33,7 @@
- #include "system.h"
- #include <assert.h>
- #if defined(__aarch64__) && defined(__linux__)
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- # include <asm/ptrace.h>
-diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
-index efcabaf6..062bb9e0 100644
---- a/backends/arm_initreg.c
-+++ b/backends/arm_initreg.c
-@@ -38,7 +38,7 @@
- #endif
-
- #ifdef __aarch64__
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
---
-2.43.7
-
diff --git a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
index d460f2e58b4..d145c9e820a 100644
--- a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
@@ -1,4 +1,4 @@
-From 975357f7585076a072f61684db20180ef8dd31b7 Mon Sep 17 00:00:00 2001
+From 645351e3057b76d9a76495c7e021b3449cd5cae5 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 22 Nov 2024 12:50:48 +0100
Subject: [PATCH] config/eu.am: do not force -Werror
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
index 621be1b37dc..47f28885a99 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
@@ -1,4 +1,4 @@
-From bf22ef3c1a559dc0b265a9c7c2fcda4a20519e63 Mon Sep 17 00:00:00 2001
+From 6305e20927bc39367009efd1ecb71ce20a006ed6 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 16 Aug 2018 09:58:26 +0800
Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
diff --git a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
index 093d03c736d..330b0565fc8 100644
--- a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
@@ -1,4 +1,4 @@
-From db59c8a80a285f9cba3f789b6c2c240481b97db8 Mon Sep 17 00:00:00 2001
+From 1741d5bb8597aaeb6ef6caefc2f4091e3b2ecb2d Mon Sep 17 00:00:00 2001
From: Mingli Yu <Mingli.Yu@windriver.com>
Date: Tue, 21 May 2019 15:20:34 +0800
Subject: [PATCH] skip the test when gcc not deployed
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index eb2d48e3bb9..d5a1f281b0e 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
-From aba735bf19c60ff85731b3bfe79a6c83e17f3436 Mon Sep 17 00:00:00 2001
+From 4af78e885d764bcc4078ccf810c125159ad327f2 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 23 Jun 2020 07:49:35 +0000
Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 055fea7..ba25e61 100644
+index bb36d3a..3e98162 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -122,7 +122,7 @@ endif
diff --git a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
index cc4c5ab75bb..a93fffc32cd 100644
--- a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
@@ -1,4 +1,4 @@
-From 0533b0d67ed99fd2a034e497f0c07ff608ca52e7 Mon Sep 17 00:00:00 2001
+From 23c89703e77a000ebed1a4a32e9d52271d25a070 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:13:59 +0800
Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
--git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
index 41e4c738f3a..d14c5257b3f 100644
--- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
@@ -1,4 +1,4 @@
-From 78415c6fc1f464e45222ba588a6cdc0292b4230a Mon Sep 17 00:00:00 2001
+From b1cf6bc617beccc7e15d5ef52749fb7c1d4e163d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:17:20 +0800
Subject: [PATCH] fixheadercheck
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index a5d913b2b7e..3e2eaab9ec3 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
-From 0064679018642a9e0e2c9d36eeeedc3a8278356e Mon Sep 17 00:00:00 2001
+From f2a4493c7ab2d8fca4e4bd43dfed6bbb52922a4e Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 23 Aug 2019 10:19:48 +0800
Subject: [PATCH] musl-utils
@@ -74,7 +74,7 @@ index a8ecc80..bf88051 100644
/* Name and version of program. */
diff --git a/src/unstrip.c b/src/unstrip.c
-index 5585b0e..adc39a3 100644
+index 39d5bb6..db79236 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -51,6 +51,15 @@
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index b6a9e5bb732..771a6470ac5 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -1,4 +1,4 @@
-From abe164f6242825e827b6b13141883591d059d6fe Mon Sep 17 00:00:00 2001
+From 614489b65f83540644dc88598315458712598476 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Wed, 1 May 2019 16:37:48 +0100
Subject: [PATCH] Changes to allow ptest to run standalone on target:
@@ -21,7 +21,7 @@ Upstream-Status: Inappropriate [oe specific]
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
-index b0d1b48..acc29f0 100644
+index d3c0292..76bdda2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2026 The elfutils developers.])
@@ -34,10 +34,10 @@ index b0d1b48..acc29f0 100644
AM_SILENT_RULES([yes])
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 137e961..055fea7 100644
+index 261649f..bb36d3a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -981,3 +981,5 @@ check: check-am coverage
+@@ -998,3 +998,5 @@ check: check-am coverage
coverage:
-$(srcdir)/coverage.sh
endif
diff --git a/meta/recipes-devtools/elfutils/files/srcfiles.patch b/meta/recipes-devtools/elfutils/files/srcfiles.patch
deleted file mode 100644
index abd0226b0fd..00000000000
--- a/meta/recipes-devtools/elfutils/files/srcfiles.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From: Mark Wielaard <mark@klomp.org>
-To: elfutils-devel@sourceware.org
-Cc: ross@burtonini.com, Mark Wielaard <mark@klomp.org>
-Subject: [PATCH] srcfiles: Always process the "zero" file table entry (CU comp_dir/name)
-Date: Tue, 22 Sep 2026 13:46:06 +0200
-Message-ID: <20260922114606.2865660-1-mark@klomp.org>
-X-Mailer: git-send-email 2.55.0
-MIME-Version: 1.0
-Content-Transfer-Encoding: 8bit
-X-Spam-Flag: NO
-X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0
-X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gnu.wildebeest.org
-
-If the main CU file doesn't contain any references to the file table
-it wouldn't show up in the src files list (except if --cu-only was
-given). This is because file entry "zero" is special. It cannot be
-referred to by DW_AT file attributes (because zero means, no
-file). But technically it should be equal to (implicitly before
-DWARF5) the DW_AT_name of the main CU DIE (using a zero directory
-entry, equal to DW_AT_comp_dir). collect_sourcefiles skipped this
-implicit zero entry unless --cu-only was given.
-
-Fix this by always handling the zero file table entry. And for
---cu-only to just exit the loop early, so no other entries are handled
-This is also an optimization, before --cu-only would go through all
-indexes, but always added the CU name. Which worked, because
-duplicates were removed, but was somewhat inefficient.
-
- * src/srcfiles.cxx (collect_sourcefiles): Go from index
- zero, exit after zero index for CU_only, always handle
- index zero specially.
-
-https://sourceware.org/bugzilla/show_bug.cgi?id=34666
-
-Signed-off-by: Mark Wielaard <mark@klomp.org>
-
-Upstream-Status: Backport [7b675cbdb0d1f216938b4b33aea30fd35fb1ae0a]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- src/srcfiles.cxx | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/srcfiles.cxx b/src/srcfiles.cxx
-index 9bbb6ef10473..e2fc0f128d71 100644
---- a/src/srcfiles.cxx
-+++ b/src/srcfiles.cxx
-@@ -273,10 +273,14 @@ collect_sourcefiles (Dwfl_Module *dwflmod,
- clog << "skipping cu=" << cuname << " due to empty comp_dir" << endl;
- continue;
- }
-- for (size_t f = 1; f < nfiles; ++f)
-+ for (size_t f = 0; f < nfiles; ++f)
- {
-+ /* For --cu-only we are only interested in the "zero" entry. */
-+ if (CU_only && f != 0)
-+ break;
-+
- const char *hat;
-- if (CU_only)
-+ if (f == 0)
- {
- if (strcmp(cuname, "<unknown>") == 0 || strcmp(cuname, "<artificial>") == 0 )
- continue;
---
-2.55.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/7] ethtool: upgrade 7.1 -> 7.2
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 3/7] repo: upgrade 2.68.1 -> 2.69 Jaipaul Cheernam
` (4 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
NEWS: [1]
Version 7.2 - Oct 19, 2026
* Feature: support for KSZ87xx PHY tunables (--{get,set}-phy-tunable)
* Fix: cmis: fix printing of Tx bias current (-m)
* Fix: cmis: fix printing of channel-level flags (-m)
* Fix: cmis: fix printing of CDB EPL pages (-m)
* Fix: printing of transmitter technology for CMIS transceivers (-m)
* Fix: avoid undefined behavior with CMIS transceivers (-m)
* Fix: add missing CMIS transmitter technologies (-m)
* Fix: printing of attenuation and wavelength (-m)
* Fix: printing of link length (-m)
* Fix: sfpid: print all implemented options (-m)
* Fix: sfpid: print all compliance codes (-m)
* Fix: qsfp: print all compliance codes (-m)
* Fix: module-eeprom: clamp data length to attribute payload size (-m)
* Fix: validate module EEPROM offset and length (-m)
* Fix: rss: bound hash function masks in text and JSON output (-x)
* Fix: fbnic: fix off-by-one shift in reg dump parser (-d)
* Fix: fbnic: Fix various TX and RX CSR fields decoding (-d)
* Fix: fbnic: Fix register dump names and bit labels (-d)
[1] https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=d54c8bd1d0da950280a34484026f3b3b7bdf9a19
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../ethtool/ethtool/avoid_parallel_tests.patch | 6 +++---
.../ethtool/{ethtool_7.1.bb => ethtool_7.2.bb} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-extended/ethtool/{ethtool_7.1.bb => ethtool_7.2.bb} (94%)
diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
index aafc9ea715f..e244850f06b 100644
--- a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
+++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
@@ -1,4 +1,4 @@
-From 7fbdc5cec5c5f2b89fd183543c3d35b5f7cc5530 Mon Sep 17 00:00:00 2001
+From ed7f83a6be18b659899fb3d60a04b91bf5abae77 Mon Sep 17 00:00:00 2001
From: Tudor Florea <tudor.florea@enea.com>
Date: Wed, 28 May 2014 18:59:54 +0200
Subject: [PATCH] ethtool: use serial-tests config needed by ptest.
@@ -14,10 +14,10 @@ Upstream-Status: Inappropriate
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index 71b998e..79eff82 100644
+index 0289eb7..30261ee 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -3,7 +3,7 @@ AC_INIT(ethtool, 7.1, netdev@vger.kernel.org)
+@@ -3,7 +3,7 @@ AC_INIT(ethtool, 7.2, netdev@vger.kernel.org)
AC_PREREQ(2.52)
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([ethtool.c])
diff --git a/meta/recipes-extended/ethtool/ethtool_7.1.bb b/meta/recipes-extended/ethtool/ethtool_7.2.bb
similarity index 94%
rename from meta/recipes-extended/ethtool/ethtool_7.1.bb
rename to meta/recipes-extended/ethtool/ethtool_7.2.bb
index a24b64863da..0ae1ebff377 100644
--- a/meta/recipes-extended/ethtool/ethtool_7.1.bb
+++ b/meta/recipes-extended/ethtool/ethtool_7.2.bb
@@ -11,7 +11,7 @@ SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
file://avoid_parallel_tests.patch \
"
-SRC_URI[sha256sum] = "21cc520ae5d881f01b0dcd6d26de4d52a64b24840bc2150daf778a235442e61d"
+SRC_URI[sha256sum] = "b2f2f1e94c3b6e35715d969185a0208d411586d88f49ccbad740063e51720f94"
UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/7] repo: upgrade 2.68.1 -> 2.69
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 2/7] ethtool: upgrade 7.1 -> 7.2 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 4/7] libzip: upgrade 1.12 -> 1.12.1 Jaipaul Cheernam
` (3 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
git_config: Fix bugs in processing RepoConfig.
sync: Add GetApprovedManifestV2 with named request options
repo: tolerate a transiently missing stable branch
sync: keep smart sync override with -l
sync: skip clone.bundle when repo.fetchcmd is configured
project: peel annotated tags in GetRevisionId with cached refs
sync: don't run git ls-remote before fetchcmd on unpinned refs
agents: enable generic multi-perspective code review agent
sync: keep --superproject-revision across manifest reloads
sync: roll back repo when stable is rewound
sync: Support SYNC_BRANCH to override the smart sync branch
sync: don't let --nmu affect smart sync
vpython: update to uv spec format
sync: Support manifest-driven default smart sync
gc: add --keep-manifest-projects
sync: record superproject sync analysis state again
isort: print diff on failures
sync: keep local sync state paths relative to repo root
init: don't suggest --no-use-superproject on failure
Revert "sync: Recommend using --no-use-superproject if sync fails."
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/recipes-devtools/repo/{repo_2.68.1.bb => repo_2.69.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/repo/{repo_2.68.1.bb => repo_2.69.bb} (94%)
diff --git a/meta/recipes-devtools/repo/repo_2.68.1.bb b/meta/recipes-devtools/repo/repo_2.69.bb
similarity index 94%
rename from meta/recipes-devtools/repo/repo_2.68.1.bb
rename to meta/recipes-devtools/repo/repo_2.69.bb
index 053f1cabcfa..c98534ca440 100644
--- a/meta/recipes-devtools/repo/repo_2.68.1.bb
+++ b/meta/recipes-devtools/repo/repo_2.69.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main;tag=v${PV} \
"
-SRCREV = "e1e215a14ea5373419acb8753b6865de19d1f122"
+SRCREV = "a0bc2b14a30bef631b91a2ca37c5254d9af44718"
MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/7] libzip: upgrade 1.12 -> 1.12.1
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
` (2 preceding siblings ...)
2026-10-20 9:29 ` [PATCH 3/7] repo: upgrade 2.68.1 -> 2.69 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 5/7] libunistring: upgrade 1.4.2 -> 1.5 Jaipaul Cheernam
` (2 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
NEWS: https://github.com/nih-at/libzip/blob/v1.12.1/NEWS.md
* Protect against denial of service attack (advisory GHSA-m3wq-j48p-jxwh, actually fixed in 1.12).
* Fix compile issues.
* Fix adding and replacing files in torrentzip archives.
* Fix error handling in `zip_source_filep_create()`.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../libzip/{libzip_1.12.bb => libzip_1.12.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/libzip/{libzip_1.12.bb => libzip_1.12.1.bb} (93%)
diff --git a/meta/recipes-extended/libzip/libzip_1.12.bb b/meta/recipes-extended/libzip/libzip_1.12.1.bb
similarity index 93%
rename from meta/recipes-extended/libzip/libzip_1.12.bb
rename to meta/recipes-extended/libzip/libzip_1.12.1.bb
index 37071592b7f..95bac993f90 100644
--- a/meta/recipes-extended/libzip/libzip_1.12.bb
+++ b/meta/recipes-extended/libzip/libzip_1.12.1.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e6fcea978dc627f41e0bada0de889ec4"
DEPENDS = "zlib bzip2"
SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz"
-SRC_URI[sha256sum] = "376908d0f0fda13180a19fdc4f7062a1abfb59e09ca07a392d361253b8e60c2b"
+SRC_URI[sha256sum] = "c40062022a1963c80573d48f6070792297cecd7c6bffe3aefcac0d8b9bee8913"
inherit cmake
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/7] libunistring: upgrade 1.4.2 -> 1.5
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
` (3 preceding siblings ...)
2026-10-20 9:29 ` [PATCH 4/7] libzip: upgrade 1.12 -> 1.12.1 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 6/7] log4cplus: upgrade 2.2.0.1 -> 2.2.1 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 7/7] python3-jsonpointer: upgrade 3.2.1 -> 3.4 Jaipaul Cheernam
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
ReleaseNotes: https://lists.gnu.org/archive/html/info-gnu/2026-10/msg00000.html
Prepare for 1.5 release.
build: In MSVC builds, use 'rc' instead of 'windres'.
Improve copyright statement in the Windows .rc file.
Update to Unicode version 18.0.0.
INSTALL.windows: Fix MSVC instructions.
build: Fix "make installcheck" failure in --disable-shared builds.
Add an LLM policy.
Upgrade to libtool 2.6.2.
License-Update: copyright years updated
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../{libunistring_1.4.2.bb => libunistring_1.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-support/libunistring/{libunistring_1.4.2.bb => libunistring_1.5.bb} (87%)
diff --git a/meta/recipes-support/libunistring/libunistring_1.4.2.bb b/meta/recipes-support/libunistring/libunistring_1.5.bb
similarity index 87%
rename from meta/recipes-support/libunistring/libunistring_1.4.2.bb
rename to meta/recipes-support/libunistring/libunistring_1.5.bb
index d3bfe976c90..911c0ef76c7 100644
--- a/meta/recipes-support/libunistring/libunistring_1.4.2.bb
+++ b/meta/recipes-support/libunistring/libunistring_1.5.bb
@@ -16,12 +16,12 @@ SECTION = "devel"
LICENSE = "GPL-2.0-or-later OR LGPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
file://README;beginline=45;endline=65;md5=3a896a943b4da2c551e6be1af27eff8d \
- file://doc/libunistring.texi;md5=55cc91e1fe09c7aec78b6dc932202300 \
+ file://doc/libunistring.texi;md5=573f97c426e271415838c2d6e688d1b6 \
"
DEPENDS = "gperf-native"
SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz"
-SRC_URI[sha256sum] = "e82664b170064e62331962126b259d452d53b227bb4a93ab20040d846fec01d8"
+SRC_URI[sha256sum] = "5b0ecd46cbf225375f20ab4056197e66a7ac590e2684c069af407ae3383c9d81"
inherit autotools texinfo
BBCLASSEXTEND = "native nativesdk"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 6/7] log4cplus: upgrade 2.2.0.1 -> 2.2.1
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
` (4 preceding siblings ...)
2026-10-20 9:29 ` [PATCH 5/7] libunistring: upgrade 1.4.2 -> 1.5 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 7/7] python3-jsonpointer: upgrade 3.2.1 -> 3.4 Jaipaul Cheernam
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
Release Notes: https://github.com/log4cplus/log4cplus/releases/tag/REL_2_2_1
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../log4cplus/{log4cplus_2.2.0.1.bb => log4cplus_2.2.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/log4cplus/{log4cplus_2.2.0.1.bb => log4cplus_2.2.1.bb} (91%)
diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb b/meta/recipes-devtools/log4cplus/log4cplus_2.2.1.bb
similarity index 91%
rename from meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb
rename to meta/recipes-devtools/log4cplus/log4cplus_2.2.1.bb
index a10dd175a28..6aa29fb953d 100644
--- a/meta/recipes-devtools/log4cplus/log4cplus_2.2.0.1.bb
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.2.1.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
GITHUB_TAG = "REL_${@d.getVar('PV').replace('.', '_')}"
SRC_URI = "https://github.com/log4cplus/log4cplus/releases/download/${GITHUB_TAG}/log4cplus-${PV}.tar.gz"
-SRC_URI[sha256sum] = "374175c22fabe752eb1c20138e732b69ae191e641f92d32c9432985cd860a2df"
+SRC_URI[sha256sum] = "e19d9b294f8c4c8f60467e0f456e1a347c81d479369d5840afc80c1137b7db6c"
UPSTREAM_CHECK_URI = "https://github.com/log4cplus/log4cplus/releases"
UPSTREAM_CHECK_REGEX = "log4cplus-(?P<pver>\d+(\.\d+)+)\.tar"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 7/7] python3-jsonpointer: upgrade 3.2.1 -> 3.4
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
` (5 preceding siblings ...)
2026-10-20 9:29 ` [PATCH 6/7] log4cplus: upgrade 2.2.0.1 -> 2.2.1 Jaipaul Cheernam
@ 2026-10-20 9:29 ` Jaipaul Cheernam
6 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 9:29 UTC (permalink / raw)
To: openembedded-core
CompareLog: https://github.com/stefankoegl/python-json-pointer/compare/v3.2.1...v3.4
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
...{python3-jsonpointer_3.2.1.bb => python3-jsonpointer_3.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-jsonpointer_3.2.1.bb => python3-jsonpointer_3.4.bb} (87%)
diff --git a/meta/recipes-devtools/python/python3-jsonpointer_3.2.1.bb b/meta/recipes-devtools/python/python3-jsonpointer_3.4.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-jsonpointer_3.2.1.bb
rename to meta/recipes-devtools/python/python3-jsonpointer_3.4.bb
index 16a393ad28e..1fa8ce75513 100644
--- a/meta/recipes-devtools/python/python3-jsonpointer_3.2.1.bb
+++ b/meta/recipes-devtools/python/python3-jsonpointer_3.4.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
inherit pypi ptest setuptools3
-SRC_URI[sha256sum] = "47c846513b3a4ec46eecef1105207fba075e2a3659048e362bd7daff0fc33342"
+SRC_URI[sha256sum] = "e57015ae65af3821c6a3976069860789cf326103f38b22b2178d41d021adad25"
SRC_URI += " \
file://run-ptest \
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
@ 2026-10-20 14:13 ` Mathieu Dubois-Briand
2026-10-20 15:33 ` Jaipaul Cheernam
2026-10-20 15:31 ` [PATCH v2] " Jaipaul Cheernam
2026-10-20 17:26 ` [PATCH v3] " Jaipaul Cheernam
2 siblings, 1 reply; 13+ messages in thread
From: Mathieu Dubois-Briand @ 2026-10-20 14:13 UTC (permalink / raw)
To: Jaipaul Cheernam, openembedded-core
On Tue Oct 20, 2026 at 11:29 AM CEST, Jaipaul Cheernam wrote:
> Version 0.197 "Anti-Corruption"
>
> THREAD-SAFETY: New document describing the thread safety model for elfutils
> libraries when built with --enable-thread-safety. Thread
> safety support remains experimental.
>
> backends: Add unwinding support for alpha core files and processes.
>
> libdebuginfod: The progress callback function is now also invoked when
> waiting for a server's initial response.
>
> libdw: dwarf_begin_elf_type is now exported from libdw.so. Previously
> this function was missing from the exported symbols.
>
> libelf: Improved handling of corrupt ZSTD compression headers.
>
> readelf: Improved handling of corrupt .gdb_index and .debug_cu_index
> sections.
>
> translations: New Swedish translation.
>
> unstrip: Improved handling of corrupt symbol tables. When -m is given,
> the -d output path is now built from the module basename to avoid
> writing the reconstructed module image outside the intended
> output directory.
>
> - Drop already upstreamed patches
> srcfiles.patch, 0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
>
> Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
> ---
Hi Jaipaul,
Thanks for the upgrade.
It look like the associated ptests are failing:
AssertionError:
Failed ptests:
{'elfutils': 'START: ptest-runner\n'
...
'===============================================================\n'
'2 of 258 tests did not behave as expected (2 unexpected passes)\n'
'(46 tests were not run)\n'
'Please report to https://sourceware.org/bugzilla\n'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4777
https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/1409
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1398
The log in there is really verbose. I hope you can extract some useful
data from these few thousand lines of ptest log.
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2] elfutils: upgrade 0.196 -> 0.197
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
2026-10-20 14:13 ` [OE-core] " Mathieu Dubois-Briand
@ 2026-10-20 15:31 ` Jaipaul Cheernam
2026-10-20 17:26 ` [PATCH v3] " Jaipaul Cheernam
2 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 15:31 UTC (permalink / raw)
To: openembedded-core
Version 0.197 "Anti-Corruption"
THREAD-SAFETY: New document describing the thread safety model for elfutils
libraries when built with --enable-thread-safety. Thread
safety support remains experimental.
backends: Add unwinding support for alpha core files and processes.
libdebuginfod: The progress callback function is now also invoked when
waiting for a server's initial response.
libdw: dwarf_begin_elf_type is now exported from libdw.so. Previously
this function was missing from the exported symbols.
libelf: Improved handling of corrupt ZSTD compression headers.
readelf: Improved handling of corrupt .gdb_index and .debug_cu_index
sections.
translations: New Swedish translation.
unstrip: Improved handling of corrupt symbol tables. When -m is given,
the -d output path is now built from the module basename to avoid
writing the reconstructed module image outside the intended
output directory.
- Drop already upstreamed patches
srcfiles.patch, 0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
- Drop stackprof systemwide tests from PTEST_XFAILS. Upstream 0.197
added testjob_launch to generate background CPU load so these tests
pass reliably; keeping them as XFAIL now causes XPASS build failures.
ptest results:
- with removing XFAIL change: elfutils run: 263 PASSED, 45 SKIPPED, 0 FAILED
without change: 261 PASSED, 45 SKIPPED + 1 XPASS
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes Since v1:
- Drop stackprof systemwide tests from PTEST_XFAILS.
.../{elfutils_0.196.bb => elfutils_0.197.bb} | 6 +-
...s-uio.h-instead-of-linux-uio.h-for-s.patch | 74 -------------------
...001-config-eu.am-do-not-force-Werror.patch | 2 +-
...-check-data_list.data.d.d_buf-before.patch | 2 +-
...-skip-the-test-when-gcc-not-deployed.patch | 2 +-
...m-compile-test_nlist-with-standard-C.patch | 4 +-
...cvt_gunhash-if-dest-and-src-are-same.patch | 2 +-
| 2 +-
.../elfutils/files/0003-musl-utils.patch | 4 +-
.../elfutils/files/ptest.patch | 8 +-
.../elfutils/files/srcfiles.patch | 65 ----------------
11 files changed, 14 insertions(+), 157 deletions(-)
rename meta/recipes-devtools/elfutils/{elfutils_0.196.bb => elfutils_0.197.bb} (95%)
delete mode 100644 meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
delete mode 100644 meta/recipes-devtools/elfutils/files/srcfiles.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.196.bb b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
similarity index 95%
rename from meta/recipes-devtools/elfutils/elfutils_0.196.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.197.bb
index 4541000840b..c0b308c44b8 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.196.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
@@ -19,13 +19,11 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://ptest.patch \
file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
file://0001-config-eu.am-do-not-force-Werror.patch \
- file://0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch \
- file://srcfiles.patch \
"
SRC_URI:append:libc-musl = " \
file://0003-musl-utils.patch \
"
-SRC_URI[sha256sum] = "fd5cc6b77ad6773cac93cb3f415f9318ac3b3455eecf801f6b4a742c4f6c7209"
+SRC_URI[sha256sum] = "1fdf525f22dcf796d99a99ba3ea00a1f7b1ae5421bc62e8443a708920b99b904"
inherit autotools gettext ptest pkgconfig
@@ -66,8 +64,6 @@ PTEST_XFAILS ?= ""
# See - https://sourceware.org/bugzilla/show_bug.cgi?id=32232
PTEST_XFAILS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' run-strip-strmerge.sh run-elflint-self.sh run-backtrace-data.sh run-reverse-sections-self.sh', '', d)}"
PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-native.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh"
-# systemwide stackprof tests need userspace CPU activity, which minimal qemu images lack
-PTEST_XFAILS:append:qemuall = " run-stackprof-system.sh run-stackprof-system-gprof.sh"
do_install_ptest() {
# copy the files which needed by the cases
diff --git a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch b/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
deleted file mode 100644
index 0461172fcfd..00000000000
--- a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 64e89606ff4967a647525524aec00dd33765ba2a Mon Sep 17 00:00:00 2001
-From: Daeho Ro <email@daeho.ro>
-Date: Sun, 16 Aug 2026 16:27:56 +0900
-Subject: [PATCH] backends: use <sys/uio.h> instead of <linux/uio.h> for
- struct iovec
-
-Since commit 0e8b57a3 ("elfcompress: Handle existing output files
-(symlinks)") lib/system.h includes <fcntl.h>. When _GNU_SOURCE is
-defined, glibc's <fcntl.h> pulls in <bits/types/struct_iovec.h> (via
-bits/fcntl-linux.h), which defines struct iovec. The kernel UAPI header
-<linux/uio.h> defines struct iovec unconditionally, so including it
-after "system.h" now breaks the aarch64 backend build:
-
- In file included from aarch64_initreg.c:36:
- /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec'
- 17 | struct iovec
- | ^~~~~
- In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:38,
- from /usr/include/aarch64-linux-gnu/bits/fcntl.h:61,
- from /usr/include/fcntl.h:35,
- from ../lib/system.h:42,
- from aarch64_initreg.c:33:
- /usr/include/aarch64-linux-gnu/bits/types/struct_iovec.h:26:8: note: originally defined here
-
-Seen building 0.196 on aarch64 with glibc 2.39 and gcc 13.3.0.
-
-Both files only need struct iovec to call ptrace (PTRACE_GETREGSET),
-which glibc provides in <sys/uio.h>; that header guards the definition
-with __iovec_defined, so it composes with the rest of system.h.
-arm_initreg.c does not currently include "system.h" and so still builds,
-but it has the same latent conflict.
-
-* backends/aarch64_initreg.c: Include <sys/uio.h> instead of
- <linux/uio.h>.
-* backends/arm_initreg.c: Likewise.
-
-Signed-off-by: Daeho Ro <email@daeho.ro>
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=patch;h=64e89606ff4967a647525524aec00dd33765ba2a]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- backends/aarch64_initreg.c | 2 +-
- backends/arm_initreg.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
-index a6badbb4..539a6366 100644
---- a/backends/aarch64_initreg.c
-+++ b/backends/aarch64_initreg.c
-@@ -33,7 +33,7 @@
- #include "system.h"
- #include <assert.h>
- #if defined(__aarch64__) && defined(__linux__)
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- # include <asm/ptrace.h>
-diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
-index efcabaf6..062bb9e0 100644
---- a/backends/arm_initreg.c
-+++ b/backends/arm_initreg.c
-@@ -38,7 +38,7 @@
- #endif
-
- #ifdef __aarch64__
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
---
-2.43.7
-
diff --git a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
index d460f2e58b4..d145c9e820a 100644
--- a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
@@ -1,4 +1,4 @@
-From 975357f7585076a072f61684db20180ef8dd31b7 Mon Sep 17 00:00:00 2001
+From 645351e3057b76d9a76495c7e021b3449cd5cae5 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 22 Nov 2024 12:50:48 +0100
Subject: [PATCH] config/eu.am: do not force -Werror
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
index 621be1b37dc..47f28885a99 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
@@ -1,4 +1,4 @@
-From bf22ef3c1a559dc0b265a9c7c2fcda4a20519e63 Mon Sep 17 00:00:00 2001
+From 6305e20927bc39367009efd1ecb71ce20a006ed6 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 16 Aug 2018 09:58:26 +0800
Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
diff --git a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
index 093d03c736d..330b0565fc8 100644
--- a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
@@ -1,4 +1,4 @@
-From db59c8a80a285f9cba3f789b6c2c240481b97db8 Mon Sep 17 00:00:00 2001
+From 1741d5bb8597aaeb6ef6caefc2f4091e3b2ecb2d Mon Sep 17 00:00:00 2001
From: Mingli Yu <Mingli.Yu@windriver.com>
Date: Tue, 21 May 2019 15:20:34 +0800
Subject: [PATCH] skip the test when gcc not deployed
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index eb2d48e3bb9..d5a1f281b0e 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
-From aba735bf19c60ff85731b3bfe79a6c83e17f3436 Mon Sep 17 00:00:00 2001
+From 4af78e885d764bcc4078ccf810c125159ad327f2 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 23 Jun 2020 07:49:35 +0000
Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 055fea7..ba25e61 100644
+index bb36d3a..3e98162 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -122,7 +122,7 @@ endif
diff --git a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
index cc4c5ab75bb..a93fffc32cd 100644
--- a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
@@ -1,4 +1,4 @@
-From 0533b0d67ed99fd2a034e497f0c07ff608ca52e7 Mon Sep 17 00:00:00 2001
+From 23c89703e77a000ebed1a4a32e9d52271d25a070 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:13:59 +0800
Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
--git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
index 41e4c738f3a..d14c5257b3f 100644
--- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
@@ -1,4 +1,4 @@
-From 78415c6fc1f464e45222ba588a6cdc0292b4230a Mon Sep 17 00:00:00 2001
+From b1cf6bc617beccc7e15d5ef52749fb7c1d4e163d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:17:20 +0800
Subject: [PATCH] fixheadercheck
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index a5d913b2b7e..3e2eaab9ec3 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
-From 0064679018642a9e0e2c9d36eeeedc3a8278356e Mon Sep 17 00:00:00 2001
+From f2a4493c7ab2d8fca4e4bd43dfed6bbb52922a4e Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 23 Aug 2019 10:19:48 +0800
Subject: [PATCH] musl-utils
@@ -74,7 +74,7 @@ index a8ecc80..bf88051 100644
/* Name and version of program. */
diff --git a/src/unstrip.c b/src/unstrip.c
-index 5585b0e..adc39a3 100644
+index 39d5bb6..db79236 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -51,6 +51,15 @@
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index b6a9e5bb732..771a6470ac5 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -1,4 +1,4 @@
-From abe164f6242825e827b6b13141883591d059d6fe Mon Sep 17 00:00:00 2001
+From 614489b65f83540644dc88598315458712598476 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Wed, 1 May 2019 16:37:48 +0100
Subject: [PATCH] Changes to allow ptest to run standalone on target:
@@ -21,7 +21,7 @@ Upstream-Status: Inappropriate [oe specific]
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
-index b0d1b48..acc29f0 100644
+index d3c0292..76bdda2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2026 The elfutils developers.])
@@ -34,10 +34,10 @@ index b0d1b48..acc29f0 100644
AM_SILENT_RULES([yes])
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 137e961..055fea7 100644
+index 261649f..bb36d3a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -981,3 +981,5 @@ check: check-am coverage
+@@ -998,3 +998,5 @@ check: check-am coverage
coverage:
-$(srcdir)/coverage.sh
endif
diff --git a/meta/recipes-devtools/elfutils/files/srcfiles.patch b/meta/recipes-devtools/elfutils/files/srcfiles.patch
deleted file mode 100644
index abd0226b0fd..00000000000
--- a/meta/recipes-devtools/elfutils/files/srcfiles.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From: Mark Wielaard <mark@klomp.org>
-To: elfutils-devel@sourceware.org
-Cc: ross@burtonini.com, Mark Wielaard <mark@klomp.org>
-Subject: [PATCH] srcfiles: Always process the "zero" file table entry (CU comp_dir/name)
-Date: Tue, 22 Sep 2026 13:46:06 +0200
-Message-ID: <20260922114606.2865660-1-mark@klomp.org>
-X-Mailer: git-send-email 2.55.0
-MIME-Version: 1.0
-Content-Transfer-Encoding: 8bit
-X-Spam-Flag: NO
-X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0
-X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gnu.wildebeest.org
-
-If the main CU file doesn't contain any references to the file table
-it wouldn't show up in the src files list (except if --cu-only was
-given). This is because file entry "zero" is special. It cannot be
-referred to by DW_AT file attributes (because zero means, no
-file). But technically it should be equal to (implicitly before
-DWARF5) the DW_AT_name of the main CU DIE (using a zero directory
-entry, equal to DW_AT_comp_dir). collect_sourcefiles skipped this
-implicit zero entry unless --cu-only was given.
-
-Fix this by always handling the zero file table entry. And for
---cu-only to just exit the loop early, so no other entries are handled
-This is also an optimization, before --cu-only would go through all
-indexes, but always added the CU name. Which worked, because
-duplicates were removed, but was somewhat inefficient.
-
- * src/srcfiles.cxx (collect_sourcefiles): Go from index
- zero, exit after zero index for CU_only, always handle
- index zero specially.
-
-https://sourceware.org/bugzilla/show_bug.cgi?id=34666
-
-Signed-off-by: Mark Wielaard <mark@klomp.org>
-
-Upstream-Status: Backport [7b675cbdb0d1f216938b4b33aea30fd35fb1ae0a]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- src/srcfiles.cxx | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/srcfiles.cxx b/src/srcfiles.cxx
-index 9bbb6ef10473..e2fc0f128d71 100644
---- a/src/srcfiles.cxx
-+++ b/src/srcfiles.cxx
-@@ -273,10 +273,14 @@ collect_sourcefiles (Dwfl_Module *dwflmod,
- clog << "skipping cu=" << cuname << " due to empty comp_dir" << endl;
- continue;
- }
-- for (size_t f = 1; f < nfiles; ++f)
-+ for (size_t f = 0; f < nfiles; ++f)
- {
-+ /* For --cu-only we are only interested in the "zero" entry. */
-+ if (CU_only && f != 0)
-+ break;
-+
- const char *hat;
-- if (CU_only)
-+ if (f == 0)
- {
- if (strcmp(cuname, "<unknown>") == 0 || strcmp(cuname, "<artificial>") == 0 )
- continue;
---
-2.55.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197
2026-10-20 14:13 ` [OE-core] " Mathieu Dubois-Briand
@ 2026-10-20 15:33 ` Jaipaul Cheernam
2026-10-20 15:42 ` Khem Raj
0 siblings, 1 reply; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 15:33 UTC (permalink / raw)
To: Mathieu Dubois-Briand, openembedded-core
On 2026-10-20 16:13, Mathieu Dubois-Briand wrote:
> The log in there is really verbose. I hope you can extract some useful
> data from these few thousand lines of ptest log.
Hi Mathieu,
Able to identify the problem and verified locally and sent v2.
Actually recipe is expecting two test cases to fail but those are
passing now after upgrade and dropped that change.
Regards,
Jaipaul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197
2026-10-20 15:33 ` Jaipaul Cheernam
@ 2026-10-20 15:42 ` Khem Raj
0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2026-10-20 15:42 UTC (permalink / raw)
To: jaipaul.cheernam; +Cc: Mathieu Dubois-Briand, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
On Tue, Oct 20, 2026 at 8:33 AM Jaipaul Cheernam via lists.openembedded.org
<jaipaul.cheernam=est.tech@lists.openembedded.org> wrote:
>
> On 2026-10-20 16:13, Mathieu Dubois-Briand wrote:
> > The log in there is really verbose. I hope you can extract some useful
> > data from these few thousand lines of ptest log.
>
> Hi Mathieu,
>
> Able to identify the problem and verified locally and sent v2.
>
> Actually recipe is expecting two test cases to fail but those are
> passing now after upgrade and dropped that change.
>
>
>
elfutils ptests have had additional failures with musl in past. Would be
good to check that. There are also failures when using clang if you want
to be adventurous might look into validating with clang build as well.
> Regards,
>
> Jaipaul
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#248303):
> https://lists.openembedded.org/g/openembedded-core/message/248303
> Mute This Topic: https://lists.openembedded.org/mt/121846288/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 2336 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v3] elfutils: upgrade 0.196 -> 0.197
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
2026-10-20 14:13 ` [OE-core] " Mathieu Dubois-Briand
2026-10-20 15:31 ` [PATCH v2] " Jaipaul Cheernam
@ 2026-10-20 17:26 ` Jaipaul Cheernam
2 siblings, 0 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-10-20 17:26 UTC (permalink / raw)
To: openembedded-core
Version 0.197 "Anti-Corruption"
THREAD-SAFETY: New document describing the thread safety model for elfutils
libraries when built with --enable-thread-safety. Thread
safety support remains experimental.
backends: Add unwinding support for alpha core files and processes.
libdebuginfod: The progress callback function is now also invoked when
waiting for a server's initial response.
libdw: dwarf_begin_elf_type is now exported from libdw.so. Previously
this function was missing from the exported symbols.
libelf: Improved handling of corrupt ZSTD compression headers.
readelf: Improved handling of corrupt .gdb_index and .debug_cu_index
sections.
translations: New Swedish translation.
unstrip: Improved handling of corrupt symbol tables. When -m is given,
the -d output path is now built from the module basename to avoid
writing the reconstructed module image outside the intended
output directory.
- Drop already upstreamed patches
srcfiles.patch, 0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
- Drop stackprof systemwide tests from PTEST_XFAILS. Upstream 0.197
added testjob_launch to generate background CPU load so these tests
pass reliably; keeping them as XFAIL now causes XPASS build failures.
- Add run-backtrace-native-core.sh to PTEST_XFAILS:libc-musl.
same family as the already-xfailed run-backtrace-native.sh /
run-backtrace-data.sh.
ptest results (qemux86-64):
- glibc: 263 PASSED, 45 SKIPPED, 0 FAILED (without change: 261 PASSED + 1 XPASS)
- musl: 255 PASSED, 44 SKIPPED, 0 FAILED (stackprof tests PASS; backtrace-native-core now XFAIL)
- clang: 263 PASSED, 45 SKIPPED, 0 FAILED
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes Since v2:
- Add run-backtrace-native-core.sh to PTEST_XFAILS:libc-musl.
- Verifed on glibc, musl and clang
Changes Since v1:
- Drop stackprof systemwide tests from PTEST_XFAILS.
.../{elfutils_0.196.bb => elfutils_0.197.bb} | 8 +-
...s-uio.h-instead-of-linux-uio.h-for-s.patch | 74 -------------------
...001-config-eu.am-do-not-force-Werror.patch | 2 +-
...-check-data_list.data.d.d_buf-before.patch | 2 +-
...-skip-the-test-when-gcc-not-deployed.patch | 2 +-
...m-compile-test_nlist-with-standard-C.patch | 4 +-
...cvt_gunhash-if-dest-and-src-are-same.patch | 2 +-
| 2 +-
.../elfutils/files/0003-musl-utils.patch | 4 +-
.../elfutils/files/ptest.patch | 8 +-
.../elfutils/files/srcfiles.patch | 65 ----------------
11 files changed, 15 insertions(+), 158 deletions(-)
rename meta/recipes-devtools/elfutils/{elfutils_0.196.bb => elfutils_0.197.bb} (94%)
delete mode 100644 meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
delete mode 100644 meta/recipes-devtools/elfutils/files/srcfiles.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.196.bb b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
similarity index 94%
rename from meta/recipes-devtools/elfutils/elfutils_0.196.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.197.bb
index 4541000840b..6e58afb2745 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.196.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.197.bb
@@ -19,13 +19,11 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://ptest.patch \
file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
file://0001-config-eu.am-do-not-force-Werror.patch \
- file://0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch \
- file://srcfiles.patch \
"
SRC_URI:append:libc-musl = " \
file://0003-musl-utils.patch \
"
-SRC_URI[sha256sum] = "fd5cc6b77ad6773cac93cb3f415f9318ac3b3455eecf801f6b4a742c4f6c7209"
+SRC_URI[sha256sum] = "1fdf525f22dcf796d99a99ba3ea00a1f7b1ae5421bc62e8443a708920b99b904"
inherit autotools gettext ptest pkgconfig
@@ -65,9 +63,7 @@ PTEST_PARALLEL_MAKE = ""
PTEST_XFAILS ?= ""
# See - https://sourceware.org/bugzilla/show_bug.cgi?id=32232
PTEST_XFAILS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' run-strip-strmerge.sh run-elflint-self.sh run-backtrace-data.sh run-reverse-sections-self.sh', '', d)}"
-PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-native.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh"
-# systemwide stackprof tests need userspace CPU activity, which minimal qemu images lack
-PTEST_XFAILS:append:qemuall = " run-stackprof-system.sh run-stackprof-system-gprof.sh"
+PTEST_XFAILS:append:libc-musl = " run-large-elf-file.sh run-backtrace-data.sh run-backtrace-native.sh run-backtrace-native-core.sh run-stack-d-test.sh run-stack-i-test.sh run-stack-demangled-test.sh run-deleted.sh run-compress-test.sh"
do_install_ptest() {
# copy the files which needed by the cases
diff --git a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch b/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
deleted file mode 100644
index 0461172fcfd..00000000000
--- a/meta/recipes-devtools/elfutils/files/0001-backends-use-sys-uio.h-instead-of-linux-uio.h-for-s.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 64e89606ff4967a647525524aec00dd33765ba2a Mon Sep 17 00:00:00 2001
-From: Daeho Ro <email@daeho.ro>
-Date: Sun, 16 Aug 2026 16:27:56 +0900
-Subject: [PATCH] backends: use <sys/uio.h> instead of <linux/uio.h> for
- struct iovec
-
-Since commit 0e8b57a3 ("elfcompress: Handle existing output files
-(symlinks)") lib/system.h includes <fcntl.h>. When _GNU_SOURCE is
-defined, glibc's <fcntl.h> pulls in <bits/types/struct_iovec.h> (via
-bits/fcntl-linux.h), which defines struct iovec. The kernel UAPI header
-<linux/uio.h> defines struct iovec unconditionally, so including it
-after "system.h" now breaks the aarch64 backend build:
-
- In file included from aarch64_initreg.c:36:
- /usr/include/linux/uio.h:17:8: error: redefinition of 'struct iovec'
- 17 | struct iovec
- | ^~~~~
- In file included from /usr/include/aarch64-linux-gnu/bits/fcntl-linux.h:38,
- from /usr/include/aarch64-linux-gnu/bits/fcntl.h:61,
- from /usr/include/fcntl.h:35,
- from ../lib/system.h:42,
- from aarch64_initreg.c:33:
- /usr/include/aarch64-linux-gnu/bits/types/struct_iovec.h:26:8: note: originally defined here
-
-Seen building 0.196 on aarch64 with glibc 2.39 and gcc 13.3.0.
-
-Both files only need struct iovec to call ptrace (PTRACE_GETREGSET),
-which glibc provides in <sys/uio.h>; that header guards the definition
-with __iovec_defined, so it composes with the rest of system.h.
-arm_initreg.c does not currently include "system.h" and so still builds,
-but it has the same latent conflict.
-
-* backends/aarch64_initreg.c: Include <sys/uio.h> instead of
- <linux/uio.h>.
-* backends/arm_initreg.c: Likewise.
-
-Signed-off-by: Daeho Ro <email@daeho.ro>
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=patch;h=64e89606ff4967a647525524aec00dd33765ba2a]
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
----
- backends/aarch64_initreg.c | 2 +-
- backends/arm_initreg.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
-index a6badbb4..539a6366 100644
---- a/backends/aarch64_initreg.c
-+++ b/backends/aarch64_initreg.c
-@@ -33,7 +33,7 @@
- #include "system.h"
- #include <assert.h>
- #if defined(__aarch64__) && defined(__linux__)
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- # include <asm/ptrace.h>
-diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
-index efcabaf6..062bb9e0 100644
---- a/backends/arm_initreg.c
-+++ b/backends/arm_initreg.c
-@@ -38,7 +38,7 @@
- #endif
-
- #ifdef __aarch64__
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
---
-2.43.7
-
diff --git a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
index d460f2e58b4..d145c9e820a 100644
--- a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
@@ -1,4 +1,4 @@
-From 975357f7585076a072f61684db20180ef8dd31b7 Mon Sep 17 00:00:00 2001
+From 645351e3057b76d9a76495c7e021b3449cd5cae5 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Fri, 22 Nov 2024 12:50:48 +0100
Subject: [PATCH] config/eu.am: do not force -Werror
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
index 621be1b37dc..47f28885a99 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
@@ -1,4 +1,4 @@
-From bf22ef3c1a559dc0b265a9c7c2fcda4a20519e63 Mon Sep 17 00:00:00 2001
+From 6305e20927bc39367009efd1ecb71ce20a006ed6 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 16 Aug 2018 09:58:26 +0800
Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
diff --git a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
index 093d03c736d..330b0565fc8 100644
--- a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
@@ -1,4 +1,4 @@
-From db59c8a80a285f9cba3f789b6c2c240481b97db8 Mon Sep 17 00:00:00 2001
+From 1741d5bb8597aaeb6ef6caefc2f4091e3b2ecb2d Mon Sep 17 00:00:00 2001
From: Mingli Yu <Mingli.Yu@windriver.com>
Date: Tue, 21 May 2019 15:20:34 +0800
Subject: [PATCH] skip the test when gcc not deployed
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index eb2d48e3bb9..d5a1f281b0e 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
-From aba735bf19c60ff85731b3bfe79a6c83e17f3436 Mon Sep 17 00:00:00 2001
+From 4af78e885d764bcc4078ccf810c125159ad327f2 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 23 Jun 2020 07:49:35 +0000
Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 055fea7..ba25e61 100644
+index bb36d3a..3e98162 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -122,7 +122,7 @@ endif
diff --git a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
index cc4c5ab75bb..a93fffc32cd 100644
--- a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
@@ -1,4 +1,4 @@
-From 0533b0d67ed99fd2a034e497f0c07ff608ca52e7 Mon Sep 17 00:00:00 2001
+From 23c89703e77a000ebed1a4a32e9d52271d25a070 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:13:59 +0800
Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
--git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
index 41e4c738f3a..d14c5257b3f 100644
--- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
@@ -1,4 +1,4 @@
-From 78415c6fc1f464e45222ba588a6cdc0292b4230a Mon Sep 17 00:00:00 2001
+From b1cf6bc617beccc7e15d5ef52749fb7c1d4e163d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:17:20 +0800
Subject: [PATCH] fixheadercheck
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index a5d913b2b7e..3e2eaab9ec3 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
-From 0064679018642a9e0e2c9d36eeeedc3a8278356e Mon Sep 17 00:00:00 2001
+From f2a4493c7ab2d8fca4e4bd43dfed6bbb52922a4e Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 23 Aug 2019 10:19:48 +0800
Subject: [PATCH] musl-utils
@@ -74,7 +74,7 @@ index a8ecc80..bf88051 100644
/* Name and version of program. */
diff --git a/src/unstrip.c b/src/unstrip.c
-index 5585b0e..adc39a3 100644
+index 39d5bb6..db79236 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -51,6 +51,15 @@
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index b6a9e5bb732..771a6470ac5 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -1,4 +1,4 @@
-From abe164f6242825e827b6b13141883591d059d6fe Mon Sep 17 00:00:00 2001
+From 614489b65f83540644dc88598315458712598476 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Wed, 1 May 2019 16:37:48 +0100
Subject: [PATCH] Changes to allow ptest to run standalone on target:
@@ -21,7 +21,7 @@ Upstream-Status: Inappropriate [oe specific]
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
-index b0d1b48..acc29f0 100644
+index d3c0292..76bdda2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2026 The elfutils developers.])
@@ -34,10 +34,10 @@ index b0d1b48..acc29f0 100644
AM_SILENT_RULES([yes])
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 137e961..055fea7 100644
+index 261649f..bb36d3a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -981,3 +981,5 @@ check: check-am coverage
+@@ -998,3 +998,5 @@ check: check-am coverage
coverage:
-$(srcdir)/coverage.sh
endif
diff --git a/meta/recipes-devtools/elfutils/files/srcfiles.patch b/meta/recipes-devtools/elfutils/files/srcfiles.patch
deleted file mode 100644
index abd0226b0fd..00000000000
--- a/meta/recipes-devtools/elfutils/files/srcfiles.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From: Mark Wielaard <mark@klomp.org>
-To: elfutils-devel@sourceware.org
-Cc: ross@burtonini.com, Mark Wielaard <mark@klomp.org>
-Subject: [PATCH] srcfiles: Always process the "zero" file table entry (CU comp_dir/name)
-Date: Tue, 22 Sep 2026 13:46:06 +0200
-Message-ID: <20260922114606.2865660-1-mark@klomp.org>
-X-Mailer: git-send-email 2.55.0
-MIME-Version: 1.0
-Content-Transfer-Encoding: 8bit
-X-Spam-Flag: NO
-X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0
-X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gnu.wildebeest.org
-
-If the main CU file doesn't contain any references to the file table
-it wouldn't show up in the src files list (except if --cu-only was
-given). This is because file entry "zero" is special. It cannot be
-referred to by DW_AT file attributes (because zero means, no
-file). But technically it should be equal to (implicitly before
-DWARF5) the DW_AT_name of the main CU DIE (using a zero directory
-entry, equal to DW_AT_comp_dir). collect_sourcefiles skipped this
-implicit zero entry unless --cu-only was given.
-
-Fix this by always handling the zero file table entry. And for
---cu-only to just exit the loop early, so no other entries are handled
-This is also an optimization, before --cu-only would go through all
-indexes, but always added the CU name. Which worked, because
-duplicates were removed, but was somewhat inefficient.
-
- * src/srcfiles.cxx (collect_sourcefiles): Go from index
- zero, exit after zero index for CU_only, always handle
- index zero specially.
-
-https://sourceware.org/bugzilla/show_bug.cgi?id=34666
-
-Signed-off-by: Mark Wielaard <mark@klomp.org>
-
-Upstream-Status: Backport [7b675cbdb0d1f216938b4b33aea30fd35fb1ae0a]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- src/srcfiles.cxx | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/srcfiles.cxx b/src/srcfiles.cxx
-index 9bbb6ef10473..e2fc0f128d71 100644
---- a/src/srcfiles.cxx
-+++ b/src/srcfiles.cxx
-@@ -273,10 +273,14 @@ collect_sourcefiles (Dwfl_Module *dwflmod,
- clog << "skipping cu=" << cuname << " due to empty comp_dir" << endl;
- continue;
- }
-- for (size_t f = 1; f < nfiles; ++f)
-+ for (size_t f = 0; f < nfiles; ++f)
- {
-+ /* For --cu-only we are only interested in the "zero" entry. */
-+ if (CU_only && f != 0)
-+ break;
-+
- const char *hat;
-- if (CU_only)
-+ if (f == 0)
- {
- if (strcmp(cuname, "<unknown>") == 0 || strcmp(cuname, "<artificial>") == 0 )
- continue;
---
-2.55.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-10-20 17:26 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 9:29 [PATCH 0/7] Upgrades on 20th October Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 1/7] elfutils: upgrade 0.196 -> 0.197 Jaipaul Cheernam
2026-10-20 14:13 ` [OE-core] " Mathieu Dubois-Briand
2026-10-20 15:33 ` Jaipaul Cheernam
2026-10-20 15:42 ` Khem Raj
2026-10-20 15:31 ` [PATCH v2] " Jaipaul Cheernam
2026-10-20 17:26 ` [PATCH v3] " Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 2/7] ethtool: upgrade 7.1 -> 7.2 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 3/7] repo: upgrade 2.68.1 -> 2.69 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 4/7] libzip: upgrade 1.12 -> 1.12.1 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 5/7] libunistring: upgrade 1.4.2 -> 1.5 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 6/7] log4cplus: upgrade 2.2.0.1 -> 2.2.1 Jaipaul Cheernam
2026-10-20 9:29 ` [PATCH 7/7] python3-jsonpointer: upgrade 3.2.1 -> 3.4 Jaipaul Cheernam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.