Skip to contentSkip to conversation

mcelog: upgrade 208 -> 210

PATCH New Wang Mingyu 1 participant 2 messages Jan 23

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mcelog: upgrade 208 -> 210

From: Wang Mingyu <[email protected]>

---
 .../recipes-support/mcelog/{mcelog_208.bb => mcelog_210.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/mcelog/{mcelog_208.bb => mcelog_210.bb} (92%)
meta-oe/recipes-support/mcelog/mcelog_210.bb renamed from meta-oe/recipes-support/mcelog/mcelog_208.bb +2 -2
similarity index 92%
rename from meta-oe/recipes-support/mcelog/mcelog_208.bb
rename to meta-oe/recipes-support/mcelog/mcelog_210.bb
index 4a72cd4d66..f009ba98ad 100644
@@ -5,12 +5,12 @@ and should run on all Linux systems that need error handling."
 HOMEPAGE = "https://mcelog.org/"
 SECTION = "System Environment/Base"
 
-SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \
+SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master;tag=v${PV} \
            file://0001-client-Include-string.h-form-mem-function-prototypes.patch \
            file://run-ptest \
            "
 
-SRCREV = "2965a540ac2fbf1e0a992afd17c01747d6fd66aa"
+SRCREV = "357b136f95be23be1dda2c5e220e0430e9b20765"
 
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/1 pahole: upgrade 1.29 -> 1.31

From: Wang Mingyu <[email protected]>

0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch revemoed since it's included in 1.31

---
 ...r-Fix-elf_functions-cleanup-on-error.patch | 54 -------------------
 .../pahole/{pahole_1.29.bb => pahole_1.31.bb} |  6 +--
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/pahole/files/0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch
 rename meta-oe/recipes-devtools/pahole/{pahole_1.29.bb => pahole_1.31.bb} (87%)
meta-oe/recipes-devtools/pahole/files/0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch deleted +0 -54
deleted file mode 100644
index dad5a9646a..0000000000
@@ -1,54 +0,0 @@
-From 6fa2b7de3e647e64c5d693aea7f3bacbfa964f53 Mon Sep 17 00:00:00 2001
-From: Ihor Solodari <[email protected]>
-Date: Wed, 20 Aug 2025 09:00:03 +0100
-Subject: [PATCH] btf_encoder: Fix elf_functions cleanup on error
-
-When elf_functions__new() errors out and jumps to
-elf_functions__delete(), pahole segfaults on attempt to list_del() the
-elf_functions instance from a list, to which it was never added.
-
-Fix this by moving list_del() call out of elf_functions__delete().
-Remove from the list only on normal cleanup in
-elf_functions_list__clear().
-
-v1:
-https://lore.kernel.org/dwarves/[email protected]/
-
-Closes:
-https://lore.kernel.org/dwarves/[email protected]/
-Reported-by: Changqing Li <[email protected]>
-Signed-off-by: Ihor Solodrai <[email protected]>
-Reviewed-by: Arnaldo Carvalho de Melo <[email protected]>
-Link: https://lore.kernel.org/dwarves/[email protected]/
-Signed-off-by: Alan Maguire <[email protected]>
-
-Upstream-Status: Backport [https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=next&id=fe6738f4b46b63dcdc5b15b252a014b3eaba16a4]
-
-Signed-off-by: Changqing Li <[email protected]>
----
- btf_encoder.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/btf_encoder.c b/btf_encoder.c
-index 511c1ea..2f8c6bb 100644
---- a/btf_encoder.c
-+++ b/btf_encoder.c
-@@ -162,7 +162,6 @@ static inline void elf_functions__delete(struct elf_functions *funcs)
- 		free(funcs->entries[i].alias);
- 	free(funcs->entries);
- 	elf_symtab__delete(funcs->symtab);
--	list_del(&funcs->node);
- 	free(funcs);
- }
- 
-@@ -204,6 +203,7 @@ static inline void elf_functions_list__clear(struct list_head *elf_functions_lis
- 
- 	list_for_each_safe(pos, tmp, elf_functions_list) {
- 		funcs = list_entry(pos, struct elf_functions, node);
-+		list_del(&funcs->node);
- 		elf_functions__delete(funcs);
- 	}
- }
--- 
-2.34.1
-
meta-oe/recipes-devtools/pahole/pahole_1.31.bb renamed from meta-oe/recipes-devtools/pahole/pahole_1.29.bb +3 -3
similarity index 87%
rename from meta-oe/recipes-devtools/pahole/pahole_1.29.bb
rename to meta-oe/recipes-devtools/pahole/pahole_1.31.bb
index 4f2737767b..62f053b6aa 100644
@@ -9,10 +9,10 @@ DEPENDS = "elfutils zlib libbpf"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
 
-SRCREV = "b9cc7963051b2099795129450f9b70c81950d02f"
-SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
+SRCREV = "1f2805b6eef104df3125143c949b391f6122e5b9"
+SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master;tag=v${PV} \
            file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch \
-           file://0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch"
+           "
 
 
 inherit cmake pkgconfig
Signature · 1 line
2.43.0