From patchwork Fri Jun 19 08:32:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 928BBCD98F8 for ; Fri, 19 Jun 2026 08:33:12 +0000 (UTC) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38119.1781857991158043938 for ; Fri, 19 Jun 2026 01:33:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=ZV61J+fA; spf=pass (domain: gmail.com, ip: 209.85.128.43, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4923fb1f095so6889205e9.1 for ; Fri, 19 Jun 2026 01:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857989; x=1782462789; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=G4/1+wI12Uy7vJmmYbttQCbU8Arkg/4X3A77B6ejeXA=; b=ZV61J+fAr1HFpoSt8K5qyQFp+9ZN2fcXgXbFpRgnxTKYUBckq+gF1lQXzQVnJteJfL IiXMcJZ9rWpkC+KJU4r6K/A8WNMKPZ0Cyz0fCaP1SMUIms+0DumqP2NnEogNzqSEaJwV 0DH9HbRMxloyvox/mmvrfxWI4wXuY/9eQeMXeldybEPcmZS121yv8f76Swog2PcKZypJ ERCVrFpZf5Jqn/+S1kopzPhZYhMOVZWguDJBkR2YIUyiJYVnyknWBHHrdp2nlj0x+Hal 0aOUyYxUAenpEFo//LQS+PAa09yEOPunaD5y7gn9dKPG64bpUA0yWEZti8QVeZrWa99i 0u2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857989; x=1782462789; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G4/1+wI12Uy7vJmmYbttQCbU8Arkg/4X3A77B6ejeXA=; b=EhlULn5tZq98IZzHyy0E7wYmbKsrGH8YB0n2ftwY9LJYa9SSSEj/XCkGdnVlp/OV+T BbTsgZZx8egZWzRcOM232hmPRoR6AyQv98XqTBAhLI/q3DL7uislPlEHj65oXcd7K9Mz 2LMFw1UGSmRvKwST7I8RQouNNeaWXvXfhoOJxV//rUR0Nxs9ho/KK9LguoESREeHM1UN EgFs1izR3HvxqQ89fHhRewerCzXrbV6gATR9afIOa8V5Ww7j3LTCpzMdM1JdHF8NFxWb kSPBnWcBNH6yxAK1Luf/YDgooltwrHGD9RsvwcYQlxYjqooD4zwFyVqlBVZ7VXnVkGM+ hP+g== X-Gm-Message-State: AOJu0YxR9/yff5dvYwgPgNUlQp+GjsPp7jRmwlFLNQ6xrjgdOI/WtbQ/ MntshcbR+fRVMQsrriLMIuie3o2/1FW8DP4ppaR8qXvYsBsfvJEZAHgEcNy9/pPC X-Gm-Gg: AfdE7cleTAyph2AijWvVzmEbSLGOrWPgrxFS4f2tOl79oZR4KHb9KntF6gcBna3hVsn UVoi4is4piLQWZFxMA+G2plGzOPQ1qmbTLf4P01x3+843ZRpEABJ6l+hfrbX3DJc40cLJw4ZRg+ BVYEQk+Ch1izABxy6YnEwIRER/FApA+hscyrEe+XthRt22CFyp6EPNhaZdFD+ePISdBNUhUADVh CaHySgIOip8Du8M5UnTVYtgPYJRMXa5k9nOWGvjjTPWOTDfgCVkxzlm5jUqXqLLQs2UvPWGeOAp NUNgKxNZcganwCaXjB31dl9fZq4+0W0gaGPF1YcYNwodSe8GnlaeyAvRWKpsu1VrLT45fmqZdmM 9v2+H9AbdJAieoF5VWJIXXmS0Ael4kEtuSMO7AY9Sdf/4sIth684M0SYkWTup8WtmCegQh37sKj CYmzEcDkW4qSglMEmcBcFaHUZOnze/D3hQx1rh19woXlT8WSYt X-Received: by 2002:a05:600c:154b:b0:492:328f:8623 with SMTP id 5b1f17b1804b1-49242592630mr23284685e9.31.1781857989101; Fri, 19 Jun 2026 01:33:09 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:08 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 01/15] gn: upgrade to latest revision Date: Fri, 19 Jun 2026 10:32:43 +0200 Message-ID: <20260619083305.3505156-1-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239136 From: Alexander Kanavin Remove patch as issue is fixed upstream. Signed-off-by: Alexander Kanavin --- ...001-gn-fix-build-with-gcc-16-on-musl.patch | 33 ------------------- meta/recipes-devtools/gn/gn_git.bb | 3 +- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch diff --git a/meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch b/meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch deleted file mode 100644 index e933c17d8a..0000000000 --- a/meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6d22f5c9e96811f1abcedd8fb1849fe72747b5c4 Mon Sep 17 00:00:00 2001 -From: Hemanth Kumar M D -Date: Mon, 11 May 2026 02:43:10 -0700 -Subject: [PATCH] gn: fix build with GCC 16 on musl - -Add missing include in src/gn/pool.h for int64_t. - -Fixes: -| ../sources/gn-0+git/src/gn/pool.h:26:3: error: 'int64_t' does not name a type - -Upstream-Status: Submitted [https://gn-review.googlesource.com/c/gn/+/22740] - -Signed-off-by: Hemanth Kumar M D - ---- - src/gn/pool.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/gn/pool.h b/src/gn/pool.h -index e03113608..247cb6425 100644 ---- a/src/gn/pool.h -+++ b/src/gn/pool.h -@@ -6,6 +6,7 @@ - #define TOOLS_GN_POOL_H_ - - #include -+#include - - #include "gn/item.h" - --- -2.49.0 - diff --git a/meta/recipes-devtools/gn/gn_git.bb b/meta/recipes-devtools/gn/gn_git.bb index 6047ab5e2b..c5ba7761b4 100644 --- a/meta/recipes-devtools/gn/gn_git.bb +++ b/meta/recipes-devtools/gn/gn_git.bb @@ -7,9 +7,8 @@ DEPENDS += "ninja-native" UPSTREAM_CHECK_COMMITS = "1" SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \ - file://0001-gn-fix-build-with-gcc-16-on-musl.patch \ " -SRCREV = "eab8a9f92dca9b8548a89d9e5eb6aeb8ac6bba77" +SRCREV = "bac66cfc3254aabcd8640c8ebbeb6d62a198d454" PV = "0+git" BB_GIT_SHALLOW = "" From patchwork Fri Jun 19 08:32:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90497 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7793CCDB466 for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38120.1781857992146679423 for ; Fri, 19 Jun 2026 01:33:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=E0ElkbJx; spf=pass (domain: gmail.com, ip: 209.85.221.43, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4626fdc829aso1403175f8f.3 for ; Fri, 19 Jun 2026 01:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857990; x=1782462790; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lFzTV8SUPACvLkJ0Yek+3QZC0oAbPhHvJBRB/E17EUg=; b=E0ElkbJxJNSv7Aig1g50VqESJFmUAcXNDjpipZhPs/xIW5izDQr9tLzuVXu//kjF1B sJgpEfd1MGMbiSGR/01/KsqRFb7a0pq1FH7JXuVRf6hkBb+OLNBdEQm3PSWORrRQQXZZ tXTuz3ZoHhZHmoYkMcV8c47tlWsCSpeeqMZSRlnUNhEorQs0XYZhcpf89TTnlJEXalHr wL19p9pKdGwog8fqT7814Ba8YM2V/0mIlfmTFShfDk1mAqjkOAFBAanVDLZfKrlIzzzk GcgjfYWS22wbryNwtORdY6/mkjJrjRLxhMimQ8hd9gNl7uAAFrj3RqAeNW71o4X/n3RQ XDxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857990; x=1782462790; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lFzTV8SUPACvLkJ0Yek+3QZC0oAbPhHvJBRB/E17EUg=; b=Itv1spLMENR69Y47cv+qtFesF6QFizWzGMqvkyRG1aF2M+3zTeurtyuev351PrIo/a 3OotM7ZwkJMnsQE1IGzZEba54IpbE5rFz/D0Ebk+/q3P3UZqqm2CXRM52bsWM8vu1Gie Z0FnxmX1dWpwgyCRETXCvbKqeNfC01VSlp3PPQME3cZEboT1wEYSgdImkhtYN7Kh7c3c /CnVqJ0gqwpeCmpQ3I1NKplEDKzqEQBmBA4LV8IGE8aD6QAKgPhOpx5eY4k5ASEYqa3R rgG29PPjCtYeKLdWFmgbKY9X0gNFIXZPL2wG3P1jkHPYYqmuLVjs782i7Xwd5GP85Vj0 fHJQ== X-Gm-Message-State: AOJu0YxUJoQabFW0ptQAeemfD4Pvyli6q8eX+rmkZRg+zLpjx09AoJRZ m7vKmXmNIumXhCLiDLQB3nFSeda/OWtjF/Co3bliLbVmtrugxkvc+mCKzhe4jsV2 X-Gm-Gg: AfdE7cm8GqqMbjyQaggbiEUC1A6MvDBcYpgchdyVqMWGnqwGlNiZLZBxdlzTkKsrzrq ds0XPIbywNgvomq5p4l6l4bqylT/40LyAPiEkkLgeWVM/6HitPl7BBP9HxKJ8ykJqMi7URl9qYk YCWRe6ctdwo3lA5MHA/JiVlG+23aWGSmR63u6yqC1glE5Nw+PVFv//3Cj/wWkzFUyO+YevZ0dPE diV9qimJ7V9BSQxZ//bi6G+Sm3hIs/Nn1G18GlbLsvgwuIR3wIuyjpMJ/2ixUGsesWFvQO0qTtv eJGRuSQibLhOMv60PgadjjY+VMA2KMhxbA1elubB5r2WBcs22Ccn536vWjLn54Jrywx56e9ldJL WG3qvqHoEgRvy5F9ssvERVO/liFQgbLEa3W8PauR0NQGJfVSmLF3MgDgqi4gKMT4jiKNtVrEd8J k0CDE7ZxGlD59PUUMUFgrLcmiS8pFcJklDc7h2aMeBUrac8F/j X-Received: by 2002:a5d:5e91:0:b0:460:138d:c9b0 with SMTP id ffacd0b85a97d-4656d831749mr1939877f8f.2.1781857989957; Fri, 19 Jun 2026 01:33:09 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:09 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 02/15] util-linux: upgrade 2.41.3 -> 2.42.2 Date: Fri, 19 Jun 2026 10:32:44 +0200 Message-ID: <20260619083305.3505156-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239137 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- ...2.41.3.bb => util-linux-libuuid_2.42.2.bb} | 0 meta/recipes-core/util-linux/util-linux.inc | 6 +- ...DEV_FL_NOFOLLOW-to-prevent-symlink-a.patch | 114 ------------------ ...gn-sockets-skip-when-lacking-sock_di.patch | 33 ----- ...ests-script-Disable-size-option-test.patch | 13 +- ...code-avoid-using-shell-built-in-kill.patch | 33 ----- ...se-RTMIN-from-kill-L-instead-of-hard.patch | 55 --------- .../util-linux/avoid_parallel_tests.patch | 4 +- .../util-linux/configure-sbindir.patch | 4 +- .../display_testname_for_subtest.patch | 4 +- .../util-linux/util-linux/ptest.patch | 6 +- .../util-linux/util-linux/run-ptest | 5 +- ...l-linux_2.41.3.bb => util-linux_2.42.2.bb} | 2 +- 13 files changed, 20 insertions(+), 259 deletions(-) rename meta/recipes-core/util-linux/{util-linux-libuuid_2.41.3.bb => util-linux-libuuid_2.42.2.bb} (100%) delete mode 100644 meta/recipes-core/util-linux/util-linux/0001-loopdev-add-LOOPDEV_FL_NOFOLLOW-to-prevent-symlink-a.patch delete mode 100644 meta/recipes-core/util-linux/util-linux/0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch delete mode 100644 meta/recipes-core/util-linux/util-linux/0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch delete mode 100644 meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch rename meta/recipes-core/util-linux/{util-linux_2.41.3.bb => util-linux_2.42.2.bb} (99%) diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.41.3.bb b/meta/recipes-core/util-linux/util-linux-libuuid_2.42.2.bb similarity index 100% rename from meta/recipes-core/util-linux/util-linux-libuuid_2.41.3.bb rename to meta/recipes-core/util-linux/util-linux-libuuid_2.42.2.bb diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 0235862666..460b996403 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc @@ -16,13 +16,9 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin file://run-ptest \ file://display_testname_for_subtest.patch \ file://avoid_parallel_tests.patch \ - file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ - file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ - file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ file://0001-tests-script-Disable-size-option-test.patch \ - file://0001-loopdev-add-LOOPDEV_FL_NOFOLLOW-to-prevent-symlink-a.patch \ " -SRC_URI[sha256sum] = "3330d873f0fceb5560b89a7dc14e4f3288bbd880e96903ed9b50ec2b5799e58b" +SRC_URI[sha256sum] = "03a05d3adf9602ef128f2da05b84b3205ce60c351e5737c0370f74000679ce8a" CVE_PRODUCT = "util-linux" diff --git a/meta/recipes-core/util-linux/util-linux/0001-loopdev-add-LOOPDEV_FL_NOFOLLOW-to-prevent-symlink-a.patch b/meta/recipes-core/util-linux/util-linux/0001-loopdev-add-LOOPDEV_FL_NOFOLLOW-to-prevent-symlink-a.patch deleted file mode 100644 index 0951c9f5fb..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-loopdev-add-LOOPDEV_FL_NOFOLLOW-to-prevent-symlink-a.patch +++ /dev/null @@ -1,114 +0,0 @@ -From f55f9906b4f6eeb2b4a4120317df9de935253c10 Mon Sep 17 00:00:00 2001 -From: Karel Zak -Date: Thu, 19 Feb 2026 13:59:46 +0100 -Subject: [PATCH] loopdev: add LOOPDEV_FL_NOFOLLOW to prevent symlink attacks - -Add a new LOOPDEV_FL_NOFOLLOW flag for loop device context that -prevents symlink following in both path canonicalization and file open. - -When set: -- loopcxt_set_backing_file() uses strdup() instead of - ul_canonicalize_path() (which calls realpath() and follows symlinks) -- loopcxt_setup_device() adds O_NOFOLLOW to open() flags - -The flag is set for non-root (restricted) mount operations in -libmount's loop device hook. This prevents a TOCTOU race condition -where an attacker could replace the backing file (specified in -/etc/fstab) with a symlink to an arbitrary root-owned file between -path resolution and open(). - -Vulnerable Code Flow: - - mount /mnt/point (non-root, SUID) - mount.c: sanitize_paths() on user args (mountpoint only) - mnt_context_mount() - mnt_context_prepare_mount() - mnt_context_apply_fstab() <-- source path from fstab - hooks run at MNT_STAGE_PREP_SOURCE - hook_loopdev.c: setup_loopdev() - backing_file = fstab source path ("/home/user/disk.img") - loopcxt_set_backing_file() <-- calls realpath() as ROOT - ul_canonicalize_path() <-- follows symlinks! - loopcxt_setup_device() - open(lc->filename, O_RDWR|O_CLOEXEC) <-- no O_NOFOLLOW - -Two vulnerabilities in the path: - -1) loopcxt_set_backing_file() calls ul_canonicalize_path() which uses - realpath() -- this follows symlinks as euid=0. If the attacker swaps - the file to a symlink before this call, lc->filename becomes the - resolved target path (e.g., /root/secret.img). - -2) loopcxt_setup_device() opens lc->filename without O_NOFOLLOW. Even - if canonicalization happened correctly, the file can be swapped to a - symlink between canonicalize and open. - -Addresses: https://github.com/util-linux/util-linux/security/advisories/GHSA-qq4x-vfq4-9h9g -Signed-off-by: Karel Zak -(cherry picked from commit 5e390467b26a3cf3fecc04e1a0d482dff3162fc4) - -CVE: CVE-2026-27456 -Upstream-Status: Backport -Signed-off-by: Ross Burton ---- - include/loopdev.h | 3 ++- - lib/loopdev.c | 7 ++++++- - libmount/src/hook_loopdev.c | 3 ++- - 3 files changed, 10 insertions(+), 3 deletions(-) - -diff --git a/include/loopdev.h b/include/loopdev.h -index e5ec1c98a..6bdb1393a 100644 ---- a/include/loopdev.h -+++ b/include/loopdev.h -@@ -140,7 +140,8 @@ enum { - LOOPDEV_FL_NOIOCTL = (1 << 6), - LOOPDEV_FL_DEVSUBDIR = (1 << 7), - LOOPDEV_FL_CONTROL = (1 << 8), /* system with /dev/loop-control */ -- LOOPDEV_FL_SIZELIMIT = (1 << 9) -+ LOOPDEV_FL_SIZELIMIT = (1 << 9), -+ LOOPDEV_FL_NOFOLLOW = (1 << 10) /* O_NOFOLLOW, don't follow symlinks */ - }; - - /* -diff --git a/lib/loopdev.c b/lib/loopdev.c -index 2359bf781..76685be70 100644 ---- a/lib/loopdev.c -+++ b/lib/loopdev.c -@@ -1267,7 +1267,10 @@ int loopcxt_set_backing_file(struct loopdev_cxt *lc, const char *filename) - if (!lc) - return -EINVAL; - -- lc->filename = canonicalize_path(filename); -+ if (lc->flags & LOOPDEV_FL_NOFOLLOW) -+ lc->filename = strdup(filename); -+ else -+ lc->filename = canonicalize_path(filename); - if (!lc->filename) - return -errno; - -@@ -1408,6 +1411,8 @@ int loopcxt_setup_device(struct loopdev_cxt *lc) - - if (lc->config.info.lo_flags & LO_FLAGS_DIRECT_IO) - flags |= O_DIRECT; -+ if (lc->flags & LOOPDEV_FL_NOFOLLOW) -+ flags |= O_NOFOLLOW; - - if ((file_fd = open(lc->filename, mode | flags)) < 0) { - if (mode != O_RDONLY && (errno == EROFS || errno == EACCES)) -diff --git a/libmount/src/hook_loopdev.c b/libmount/src/hook_loopdev.c -index 444d69d6f..34351116c 100644 ---- a/libmount/src/hook_loopdev.c -+++ b/libmount/src/hook_loopdev.c -@@ -272,7 +272,8 @@ static int setup_loopdev(struct libmnt_context *cxt, - } - - DBG(LOOP, ul_debugobj(cxt, "not found; create a new loop device")); -- rc = loopcxt_init(&lc, 0); -+ rc = loopcxt_init(&lc, -+ mnt_context_is_restricted(cxt) ? LOOPDEV_FL_NOFOLLOW : 0); - if (rc) - goto done_no_deinit; - if (mnt_opt_has_value(loopopt)) { --- -2.43.0 - diff --git a/meta/recipes-core/util-linux/util-linux/0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch b/meta/recipes-core/util-linux/util-linux/0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch deleted file mode 100644 index ff596ff9d6..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 855dbea3e6b3c7ed9ba11eff38f888cc4b7678c8 Mon Sep 17 00:00:00 2001 -From: Chen Qi -Date: Mon, 26 May 2025 15:24:16 +0800 -Subject: [PATCH] lsfd/mkfds-foreign-sockets: skip when lacking sock_diag - ability - -The ENDPOINTS will need sock_diag ability. The kernel might not -enable related configs. Check and skip in case of lacking such ability. - -Fixes: https://github.com/util-linux/util-linux/issues/3590 - -Signed-off-by: Chen Qi - -Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3591] - -Signed-off-by: Chen Qi ---- - tests/ts/lsfd/mkfds-foreign-sockets | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tests/ts/lsfd/mkfds-foreign-sockets b/tests/ts/lsfd/mkfds-foreign-sockets -index cd94da7..76138a7 100755 ---- a/tests/ts/lsfd/mkfds-foreign-sockets -+++ b/tests/ts/lsfd/mkfds-foreign-sockets -@@ -30,6 +30,8 @@ ts_skip_nonroot - ts_skip_qemu_user - ts_cd "$TS_OUTDIR" - -+lsfd_check_sockdiag "unix" -+ - declare -A tcase - tcase[NAME]="state=connected" - tcase[SOCK.NETNS]= diff --git a/meta/recipes-core/util-linux/util-linux/0001-tests-script-Disable-size-option-test.patch b/meta/recipes-core/util-linux/util-linux/0001-tests-script-Disable-size-option-test.patch index 4181f5b5ae..924c8c6827 100644 --- a/meta/recipes-core/util-linux/util-linux/0001-tests-script-Disable-size-option-test.patch +++ b/meta/recipes-core/util-linux/util-linux/0001-tests-script-Disable-size-option-test.patch @@ -1,4 +1,4 @@ -From 1d38887185c0424a82bcf05efbd8585df1bba8cf Mon Sep 17 00:00:00 2001 +From 078231e4ecb5fa12107cd463f42e4c63ef3ff15c Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 5 Jan 2026 09:56:41 +0000 Subject: [PATCH] tests: script: Disable size option test @@ -24,20 +24,17 @@ Signed-off-by: Paul Barker 1 file changed, 6 deletions(-) diff --git a/tests/ts/script/options b/tests/ts/script/options -index 3cbd5c8ab463..4da51cd83c66 100755 +index f46cc34..537ea31 100755 --- a/tests/ts/script/options +++ b/tests/ts/script/options -@@ -57,10 +57,4 @@ $TS_HELPER_SCRIPT --return --append -c "exit 127" $TS_OUTPUT /dev/nu - echo $? >> $TS_OUTPUT +@@ -103,10 +103,4 @@ $TS_HELPER_SCRIPT -Bc -- echo dashdash-bundle /dev/null 2>&1 + mv c "$TS_OUTPUT" ts_finalize_subtest -ts_init_subtest "size" -$TS_HELPER_SCRIPT --output-limit 9 --command "echo 1:1234567890" $TS_OUTPUT /dev/null 2>&1 --$TS_HELPER_SCRIPT -a -o 9 --command "echo 2:1234567890" $TS_OUTPUT /dev/null 2>&1 +-$TS_HELPER_SCRIPT -a --output-limit 9 --command "echo 2:1234567890" $TS_OUTPUT /dev/null 2>&1 -echo $? >> $TS_OUTPUT -ts_finalize_subtest - ts_finalize --- -2.43.0 - diff --git a/meta/recipes-core/util-linux/util-linux/0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch b/meta/recipes-core/util-linux/util-linux/0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch deleted file mode 100644 index 72daf7f8e4..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 514ff160e37c0cca5eee79892a6b65516a92de34 Mon Sep 17 00:00:00 2001 -From: Chen Qi -Date: Thu, 15 May 2025 16:44:33 +0800 -Subject: [PATCH] tests/ts/kill/decode: avoid using shell built-in kill command - -This test case should do the same as other kill test cases, avoiding -using shell built-in kill command. - -Signed-off-by: Chen Qi - -Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/d2eeccf36542d506b660641a07a44f3976772897] - -Signed-off-by: Chen Qi ---- - tests/ts/kill/decode | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode -index 03bc25f..5714989 100755 ---- a/tests/ts/kill/decode -+++ b/tests/ts/kill/decode -@@ -18,6 +18,11 @@ TS_DESC="decode functions" - . "$TS_TOPDIR/functions.sh" - ts_init "$*" - -+# make sure we do not use shell built-in command -+if [ "$TS_USE_SYSTEM_COMMANDS" == "yes" ]; then -+ TS_CMD_KILL="$(which kill)" -+fi -+ - ts_skip_qemu_user - - ts_check_test_command "$TS_CMD_KILL" diff --git a/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch b/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch deleted file mode 100644 index ecd8d18213..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 75c10a9edefc1597f708043e5561c2ff87305bf0 Mon Sep 17 00:00:00 2001 -From: Chen Qi -Date: Wed, 4 Jun 2025 16:27:19 +0800 -Subject: [PATCH] ts/kill/decode: use RTMIN from 'kill -L' instead of - hardcoding 34 - -glibc uses 34 as the value of SIGRTMIN: -https://sourceware.org/git/?p=glibc.git;a=blob;f=signal/allocrtsig.c;h=8ed8e37dd6c41f94be6eef042ce9db1af1153228;hb=HEAD#l27 """ -static int current_rtmin = __SIGRTMIN + RESERVED_SIGRT; """ - -musl uses 35 as the value of SIGRTMIN: -https://git.musl-libc.org/cgit/musl/tree/src/signal/sigrtmin.c - -With the hardcoded 34, test case fails with the following difference: - --Ignored: HUP QUIT TRAP PIPE ALRM -+Ignored: HUP QUIT TRAP PIPE ALRM 34 - -Extract the value of RTMIN from 'kill -L' to avoid such hardcoding. - -Signed-off-by: Chen Qi - -Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/c5d5e8873029d170fcab38a6fbd5d5a355574b9f] - -Signed-off-by: Chen Qi ---- - tests/ts/kill/decode | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode -index 5714989..524b4e5 100755 ---- a/tests/ts/kill/decode -+++ b/tests/ts/kill/decode -@@ -53,14 +53,19 @@ ACK= - # Sending one more USR1 is for making the signal pending state. - "$TS_CMD_KILL" -USR1 "$PID" - "$TS_CMD_KILL" -d "$PID" | { -- if [[ $("$TS_CMD_KILL" --list=34) == RT0 ]]; then -+ SIGRTMIN=$("$TS_CMD_KILL" -L | grep -o '[0-9]\+ RTMIN' | cut -d " " -f 1) -+ if [[ $("$TS_CMD_KILL" --list=$SIGRTMIN) == RT0 ]]; then - # See man signal(7). - # The Linux kernel supports a range of 33 different real-time signals, - # numbered 32 to 64. However, the glibc POSIX threads implementation in‐ - # ternally uses two (for NPTL) or three (for LinuxThreads) real-time sig‐ - # nals (see pthreads(7)), and adjusts the value of SIGRTMIN suitably (to - # 34 or 35). -- sed -e s/' 32 33'// -e s/' 34'// -+ sed_cmd="sed" -+ for ((i=32; i<=SIGRTMIN; i++)); do -+ sed_cmd+=" -e s/' $i'//" -+ done -+ eval $sed_cmd - else - cat - fi diff --git a/meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch b/meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch index 19c113febf..44a8d768d2 100644 --- a/meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch +++ b/meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch @@ -1,4 +1,4 @@ -From 1f55d079887f0ef7857819e9c8a1def8180c69d4 Mon Sep 17 00:00:00 2001 +From 4303ca5212f78fa276be750e077303f5090b7e33 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Mon, 14 Jun 2021 14:00:31 +0200 Subject: [PATCH] util-linux: Add ptest @@ -14,7 +14,7 @@ Upstream-Status: Inappropriate 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index f664d12..8d9efaa 100644 +index e2061e7..f816656 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AC_CONFIG_MACRO_DIR([m4]) diff --git a/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch b/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch index 31d00f7983..6d50cfd2c0 100644 --- a/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch +++ b/meta/recipes-core/util-linux/util-linux/configure-sbindir.patch @@ -1,4 +1,4 @@ -From d521ca39a781873882b52ee52f46294596f41848 Mon Sep 17 00:00:00 2001 +From d91f680b43b0c70ee7c4f3b74996c342ca15129e Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 24 Sep 2012 07:24:51 +0100 Subject: [PATCH] util-linux: Ensure that ${sbindir} is respected @@ -14,7 +14,7 @@ Upstream-Status: Inappropriate [configuration] 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index d32b11d..f664d12 100644 +index 13bed69..e2061e7 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,10 @@ AC_SUBST([runstatedir]) diff --git a/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch b/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch index 1c9e0ce4f2..1382e10c30 100644 --- a/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch +++ b/meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch @@ -1,4 +1,4 @@ -From 05b495cbe9ffa7b45d9a383610aa95e31f2ab1e3 Mon Sep 17 00:00:00 2001 +From 42cfda0aa633f3a6786be1e490202cc9fe89e4e5 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 3 Dec 2015 04:08:00 +0100 Subject: [PATCH] Display testname for subtest @@ -10,7 +10,7 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functions.sh b/tests/functions.sh -index 1d7a425..b1f0986 100644 +index f92520a..c32005c 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -455,7 +455,7 @@ function ts_init_subtest { diff --git a/meta/recipes-core/util-linux/util-linux/ptest.patch b/meta/recipes-core/util-linux/util-linux/ptest.patch index 1763c47da0..3c529f2ea5 100644 --- a/meta/recipes-core/util-linux/util-linux/ptest.patch +++ b/meta/recipes-core/util-linux/util-linux/ptest.patch @@ -1,4 +1,4 @@ -From 4c0e374ba6c64d07da8acba5476cf8638c54820d Mon Sep 17 00:00:00 2001 +From 238020ed859acb41f1f43352afc28db14cecb34e Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 3 Dec 2015 04:08:00 +0100 Subject: [PATCH] Define TESTS variable @@ -10,10 +10,10 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am -index 01e9970..c3313ff 100644 +index 02db406..e09d6df 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -66,6 +66,7 @@ sysusers_DATA = +@@ -67,6 +67,7 @@ sysusers_DATA = dist_bashcompletion_DATA = check_PROGRAMS = dist_check_SCRIPTS = diff --git a/meta/recipes-core/util-linux/util-linux/run-ptest b/meta/recipes-core/util-linux/util-linux/run-ptest index 1410229172..aa855d701a 100644 --- a/meta/recipes-core/util-linux/util-linux/run-ptest +++ b/meta/recipes-core/util-linux/util-linux/run-ptest @@ -23,7 +23,10 @@ modprobe loop mount --make-shared / # lsfd/mkfds-bpf* have issues with the gcc 15 upgrade -./tests/run.sh --use-system-commands --parsable --show-diff --exclude='lsfd/mkfds-bpf-map lsfd/mkfds-bpf-prog' | sed -u '{ +# +# chrt/chrt-ext needs skipping due to linux-yocto not enabling SCHED_EXT: +# https://github.com/util-linux/util-linux/issues/4429 +./tests/run.sh --use-system-commands --parsable --show-diff --exclude='chrt/chrt-ext lsfd/mkfds-bpf-map lsfd/mkfds-bpf-prog' | sed -u '{ s/^\(.*\):\(.*\) \.\.\. OK$/PASS: \1:\2/ s/^\(.*\):\(.*\) \.\.\. FAILED \(.*\)$/FAIL: \1:\2 \3/ s/^\(.*\):\(.*\) \.\.\. SKIPPED \(.*\)$/SKIP: \1:\2 \3/ diff --git a/meta/recipes-core/util-linux/util-linux_2.41.3.bb b/meta/recipes-core/util-linux/util-linux_2.42.2.bb similarity index 99% rename from meta/recipes-core/util-linux/util-linux_2.41.3.bb rename to meta/recipes-core/util-linux/util-linux_2.42.2.bb index f01cbaba9f..4943d5c7ab 100644 --- a/meta/recipes-core/util-linux/util-linux_2.41.3.bb +++ b/meta/recipes-core/util-linux/util-linux_2.42.2.bb @@ -424,7 +424,7 @@ do_install_ptest() { do_install_ptest:append:libc-musl() { for t in tests/ts/col/multibyte \ tests/ts/lib/timeutils \ - tests/ts/misc/enosys \ + tests/ts/enosys \ tests/ts/dmesg/limit; do rm -rf ${D}${PTEST_PATH}/$t done From patchwork Fri Jun 19 08:32:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90508 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C77B7CDB477 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38121.1781857992822483975 for ; Fri, 19 Jun 2026 01:33:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=Ov3oKUbU; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4602e2a0372so1473197f8f.3 for ; Fri, 19 Jun 2026 01:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857991; x=1782462791; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4xVY23Ehzc6zG/JYjo8GP7ySn/XADm3mzFV2jMNlTt8=; b=Ov3oKUbUOKdkyEsbiFS3/pTf2YQm7Z+1qNN1Hz0+PAPvauFD+M1hs6SOScwaCTGAaJ qDSPULIJwoeeh4dbHHdpjUN/0b0aUjZS6hH7h1WuN2vnrUKJyPdKxungZa4nuqXYTdZD 1+XJcmlw+GRXmWimxNeCXe7YZVA/i/xNWCCVXUgCBGBiA829+A/LTsQ40OdbDTYvkXDa 9me79fvVPUuBC29mO5pvKAz4TnXnxT7J8QqRSv++dO5oroqoy1XMOmYcP/OaNiq/2Fmk 0ZmiBZ7jJFnHjQBUC4/VeFX5PCzY7gKQ9GNi4a4gLEXV66OnItKMl0ymEWUO/8mi9XTr 0Upg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857991; x=1782462791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4xVY23Ehzc6zG/JYjo8GP7ySn/XADm3mzFV2jMNlTt8=; b=TRgFn8Jb6rtUXc1Kr/JNwlu078CduCpn6HcX6xuc8vtTu7lVj2QKoOQJB/N0y8+fym 58m/Q1TrYs2oSP+BDt7H7AQXUCjQwNYqPfwy+HtNGWfu2+8uJZNxlST7N1K0UM2iT5Yf j/cEK6Tb6n5g8w19ZhteqlmsoZAneHUmTIoAKPFo26iYfcBQqsR97+4IJmTuoQWaVCO+ eX80sUj9xMxKzR3O5hPkua2NiV8H4qmHvszBAojyEa4PXwe4BSd0w/0t3i8vN/hXgE/X 1wN8+g8n+kiGFgkm8933gDCpWqI7if22lz4QcILKurAl59M6XNa779J0KU3mm0b1dQXU ZpAA== X-Gm-Message-State: AOJu0Ywbfxp0rNO1dSeWaEdkbHkJ/7VsFqJBr1ge45aEBEHlmWEA3+Ra 0+CIoZeTa4sUUXxACWt0ZpSY3tJMvXc2ihenh4++u8gEMQv01xxBUO9iNJi1Nd3F X-Gm-Gg: AfdE7cmkcp5DEA4VcIE4wDUJEzwE9ypOATNUteeCnv+F8pUHHEFhHO/+rezyYiXgAfV 2lf3sZmbCMYRpKE0HsTVL08ashhs00AWDeEQeBzJUaOM/7iKfhIbkGt5NYIjy2P8YcC1wIlrKjl AWhaATP5h9nBsvW5QSfxfqjYnZkaHPClq5TZQDfHZ0ley3KPpJhzwK/xZaD4Y57DK1rw3NJmlju OHh1bXY5nk2vVSQe1H/3a7YF4qPyRa5gscKDz7hFg8vDKimBBNCWh/ATnJPwYZG56sEIV7rqmaL rrMT/6GJTFca5mea+4GupG+HbpSnCUbWNPPY+mvoWUAPCAamoYXIno7X9kdYdneKWB2LeHE25IU oVWH6wNwifoF2LvPe/ys9DVh/Q3Ds73xI9NEIaXADDvdh6krFfKS53epN/lvEAwInRQLbhF8FIq SknABPxlkecxzlk2o5BG/AXn+t72gEck9YyifS85jpTstJzizhdW3ACJmKahk= X-Received: by 2002:a05:6000:1ac8:b0:45e:dacb:8885 with SMTP id ffacd0b85a97d-4656eaa4fc7mr2130922f8f.35.1781857990664; Fri, 19 Jun 2026 01:33:10 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:10 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 03/15] lttng-tools: upgrade 2.14.1 -> 2.15.1 Date: Fri, 19 Jun 2026 10:32:45 +0200 Message-ID: <20260619083305.3505156-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239138 From: Alexander Kanavin Adjust ptest tweaks and packaging to account for test data and test cases changes/renames. Add a patch to address reproducibility issues. Signed-off-by: Alexander Kanavin --- ...static.m4-do-not-write-generation-da.patch | 27 +++++++++++++++ ...-tests-do-not-strip-a-helper-library.patch | 31 +++++++++-------- .../lttng/lttng-tools/disable-tests.patch | 11 ++++--- .../lttng/lttng-tools/disable-tests2.patch | 31 ++++++++++++----- .../lttng/lttng-tools/libc++.patch | 33 ++++++++++++------- .../lttng/lttng-tools/run-ptest | 2 +- ...-tools_2.14.1.bb => lttng-tools_2.15.1.bb} | 26 ++++++++------- 7 files changed, 110 insertions(+), 51 deletions(-) create mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch rename meta/recipes-kernel/lttng/{lttng-tools_2.14.1.bb => lttng-tools_2.15.1.bb} (91%) diff --git a/meta/recipes-kernel/lttng/lttng-tools/0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch b/meta/recipes-kernel/lttng/lttng-tools/0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch new file mode 100644 index 0000000000..5df7636be5 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools/0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch @@ -0,0 +1,27 @@ +From c58eed85e47a605e2a9f2b2bc91917f68bec023f Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Thu, 18 Jun 2026 16:48:40 +0200 +Subject: [PATCH] m4/ax_am_macros_static.m4: do not write generation date into + Makefiles + +This breaks reproducibility of ptests (which install the Makefiles), +but the fix isn't appropriate for upstream submission. + +Upstream-Status: Inappropriate [oe-core specific, really!] +Signed-off-by: Alexander Kanavin +--- + m4/ax_am_macros_static.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/m4/ax_am_macros_static.m4 b/m4/ax_am_macros_static.m4 +index f4cee8c..7fba5b2 100644 +--- a/m4/ax_am_macros_static.m4 ++++ b/m4/ax_am_macros_static.m4 +@@ -33,6 +33,6 @@ AC_DEFUN([AX_AM_MACROS_STATIC], + [ + AX_AC_PRINT_TO_FILE(AMINCLUDE_STATIC,[ + # ]AMINCLUDE_STATIC[ generated automatically by Autoconf +-# from AX_AM_MACROS_STATIC on ]m4_esyscmd([LC_ALL=C date])[ ++# from AX_AM_MACROS_STATIC + ]) + ]) diff --git a/meta/recipes-kernel/lttng/lttng-tools/0001-tests-do-not-strip-a-helper-library.patch b/meta/recipes-kernel/lttng/lttng-tools/0001-tests-do-not-strip-a-helper-library.patch index 0547f30c02..36ddf029f6 100644 --- a/meta/recipes-kernel/lttng/lttng-tools/0001-tests-do-not-strip-a-helper-library.patch +++ b/meta/recipes-kernel/lttng/lttng-tools/0001-tests-do-not-strip-a-helper-library.patch @@ -1,24 +1,27 @@ -From a45157a50e14d4bd244a3dd05d79c5703c819550 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Thu, 12 Dec 2019 16:52:07 +0100 +From 8e56c9b414b60db1a14ea8ca664e2cff941ae14d Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Wed, 17 Jun 2026 10:04:13 +0200 Subject: [PATCH] tests: do not strip a helper library Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Alexander Kanavin --- - tests/utils/testapp/userspace-probe-elf-binary/Makefile.am | 2 +- + tests/utils/testapp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am b/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am -index 836f13e..e19a554 100644 ---- a/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am -+++ b/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am -@@ -14,7 +14,7 @@ userspace_probe_elf_binary_LDADD = libfoo.la - libfoo.strip: libfoo.la - $(OBJCOPY) --strip-all .libs/libfoo.so +diff --git a/tests/utils/testapp/Makefile.am b/tests/utils/testapp/Makefile.am +index 131a4af..38ce076 100644 +--- a/tests/utils/testapp/Makefile.am ++++ b/tests/utils/testapp/Makefile.am +@@ -363,7 +363,7 @@ endif # TEST_SDT_UPROBE + TEST_DEPS = gen-py-events.py + EXTRA_DIST += gen-py-events.py --all-local: libfoo.strip +-all-local: libdynsym.strip-stamp +all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(EXTRA_DIST); do \ - cp -f $(srcdir)/$$script $(builddir); \ + for script in $(TEST_DEPS); do \ + if [ x"$$(dirname $$script)" != x"." ]; then \ +-- +2.47.3 + diff --git a/meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch b/meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch index d32cf87535..a8ee81ef0e 100644 --- a/meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch +++ b/meta/recipes-kernel/lttng/lttng-tools/disable-tests.patch @@ -1,4 +1,4 @@ -From 05cf8ed6cc42a2f6ff53009d0ae2713fe63f1245 Mon Sep 17 00:00:00 2001 +From 44c14ba25747ccee72667212003658447d8297ae Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 14 Dec 2021 12:34:04 +0000 Subject: [PATCH] lttng-tools: Disable problem tests @@ -14,14 +14,14 @@ https://bugzilla.yoctoproject.org/show_bug.cgi?id=14263 Signed-off-by: Richard Purdie --- - tests/regression/Makefile.am | 12 ------------ - 1 file changed, 12 deletions(-) + tests/regression/Makefile.am | 13 ------------- + 1 file changed, 13 deletions(-) diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am -index 7076488..e5be904 100644 +index 6730ff9..a7cd133 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am -@@ -40,18 +40,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ +@@ -46,19 +46,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ tools/regen-metadata/test_ust \ tools/regen-statedump/test_kernel \ tools/regen-statedump/test_ust \ @@ -37,6 +37,7 @@ index 7076488..e5be904 100644 - tools/notification/test_notification_notifier_discarded_count \ - tools/notification/test_notification_kernel_userspace_probe \ - tools/notification/test_notification_multi_app \ +- tools/notification/test_rotation \ tools/rotation/test_ust \ tools/rotation/test_kernel \ tools/rotation/test_ust_kernel \ diff --git a/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch b/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch index 5b9a07fcb8..a776638897 100644 --- a/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch +++ b/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch @@ -1,28 +1,43 @@ +From 16890a3395d62e760ce11c3c5e1b7323e1b79b46 Mon Sep 17 00:00:00 2001 +From: Richard Purdie +Date: Tue, 19 Aug 2025 10:09:07 +0100 +Subject: [PATCH] lttng-tools: Disable slow tests to fix ptest runs + These tests take too long to run for our default output timeout in ptest-runner (450s). We could change that to 900s but it is a global setting so skip these tests for now. Ideally tests.serial would have occasional output when running to show activity. Upstream-Status: Inappropriate [workaround for slow tests] Signed-off-by: Richard Purdie +--- + tests/regression/Makefile.am | 3 --- + 1 file changed, 3 deletions(-) -Index: lttng-tools-2.14.0/tests/regression/Makefile.am -=================================================================== ---- lttng-tools-2.14.0.orig/tests/regression/Makefile.am -+++ lttng-tools-2.14.0/tests/regression/Makefile.am -@@ -26,7 +26,6 @@ SERIAL_TESTS = tools/base-path/test_ust +diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am +index a7cd133..b5a25eb 100644 +--- a/tests/regression/Makefile.am ++++ b/tests/regression/Makefile.am +@@ -30,7 +30,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ tools/tracefile-limits/test_tracefile_count \ tools/tracefile-limits/test_tracefile_size \ tools/exclusion/test_exclusion \ - tools/snapshots/test_kernel \ tools/snapshots/test_ust_fast \ + tools/snapshots/test_ust_long \ tools/snapshots/test_ust_streaming \ - tools/snapshots/test_kernel_streaming \ -@@ -47,8 +46,6 @@ SERIAL_TESTS = tools/base-path/test_ust +@@ -53,7 +52,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ tools/rotation/test_schedule_api \ tools/metadata/test_kernel \ tools/working-directory/test_relayd_working_directory \ -- tools/clear/test_ust \ - tools/clear/test_kernel \ tools/clear/test_live_hang.py \ tools/tracker/test_event_tracker \ tools/trigger/start-stop/test_start_stop \ +@@ -66,7 +64,6 @@ SERIAL_TESTS = tools/base-path/test_ust \ + tools/trace-format/test_trace_format_kernel.py + + TESTS = tools/clear/test_disallow.py \ +- tools/clear/test_ust.py \ + tools/clear/test_ust_multi_user.py \ + tools/live/test_early_inactive_app.py \ + tools/live/test_high_latency.py \ diff --git a/meta/recipes-kernel/lttng/lttng-tools/libc++.patch b/meta/recipes-kernel/lttng/lttng-tools/libc++.patch index be793c7699..938f0856e6 100644 --- a/meta/recipes-kernel/lttng/lttng-tools/libc++.patch +++ b/meta/recipes-kernel/lttng/lttng-tools/libc++.patch @@ -1,4 +1,11 @@ -sessiond: avoid std::vector range-ctor on non-standard iterators (libc++) +From 348e1be1cdfb897bc8a907e1a806cc7591efae8a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 20 Aug 2025 23:45:20 -0700 +Subject: [PATCH] sessiond: avoid std::vector range-ctor on non-standard + iterators (libc++) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit libc++ SFINAE-gates std::vector(It, It) behind standard iterator requirements. The events_view/channels_ht_view iterators don’t model Input/Forward, so the @@ -9,12 +16,16 @@ libstdc++ behavior unchanged. Upstream-Status: Submitted [https://review.lttng.org/c/lttng-tools/+/15163] Signed-off-by: Khem Raj +--- + src/bin/lttng-sessiond/ust-registry-channel.cpp | 7 +++++-- + src/bin/lttng-sessiond/ust-registry-session.cpp | 7 +++++-- + 2 files changed, 10 insertions(+), 4 deletions(-) -Index: lttng-tools-2.14.0/src/bin/lttng-sessiond/ust-registry-channel.cpp -=================================================================== ---- lttng-tools-2.14.0.orig/src/bin/lttng-sessiond/ust-registry-channel.cpp -+++ lttng-tools-2.14.0/src/bin/lttng-sessiond/ust-registry-channel.cpp -@@ -529,8 +529,11 @@ void lsu::registry_channel::_accept_on_e +diff --git a/src/bin/lttng-sessiond/ust-registry-channel.cpp b/src/bin/lttng-sessiond/ust-registry-channel.cpp +index 45be2cc..01d5db3 100644 +--- a/src/bin/lttng-sessiond/ust-registry-channel.cpp ++++ b/src/bin/lttng-sessiond/ust-registry-channel.cpp +@@ -529,8 +529,11 @@ void lsu::registry_channel::_accept_on_event_classes( events_view(*_events->ht); /* Copy the event ptrs from the _events ht to this vector which we'll sort. */ @@ -28,11 +39,11 @@ Index: lttng-tools-2.14.0/src/bin/lttng-sessiond/ust-registry-channel.cpp std::sort(sorted_event_classes.begin(), sorted_event_classes.end(), -Index: lttng-tools-2.14.0/src/bin/lttng-sessiond/ust-registry-session.cpp -=================================================================== ---- lttng-tools-2.14.0.orig/src/bin/lttng-sessiond/ust-registry-session.cpp -+++ lttng-tools-2.14.0/src/bin/lttng-sessiond/ust-registry-session.cpp -@@ -586,8 +586,11 @@ void lsu::registry_session::_accept_on_s +diff --git a/src/bin/lttng-sessiond/ust-registry-session.cpp b/src/bin/lttng-sessiond/ust-registry-session.cpp +index 693fc71..b355a14 100644 +--- a/src/bin/lttng-sessiond/ust-registry-session.cpp ++++ b/src/bin/lttng-sessiond/ust-registry-session.cpp +@@ -587,8 +587,11 @@ void lsu::registry_session::_accept_on_stream_classes(lst::trace_class_visitor& decltype(lsu::registry_channel::_node), &lsu::registry_channel::_node> channels_ht_view(*_channels->ht); diff --git a/meta/recipes-kernel/lttng/lttng-tools/run-ptest b/meta/recipes-kernel/lttng/lttng-tools/run-ptest index e7edc03e96..a6764f8744 100755 --- a/meta/recipes-kernel/lttng/lttng-tools/run-ptest +++ b/meta/recipes-kernel/lttng/lttng-tools/run-ptest @@ -20,7 +20,7 @@ function validate_lttng_modules_present() return 1 } -export LD_LIBRARY_PATH=FIXMEPTESTPATH/tests/utils/testapp/userspace-probe-elf-binary/.libs:FIXMEPTESTPATH/tests/utils/testapp/gen-ust-events-constructor/.libs +export LD_LIBRARY_PATH=FIXMEPTESTPATH/tests/utils/testapp/.libs:FIXMEPTESTPATH/tests/utils/testapp/gen-ust-events-constructor/.libs makeargs="LOG_DRIVER_FLAGS=--ignore-exit top_srcdir=FIXMEPTESTPATH top_builddir=FIXMEPTESTPATH" #If current system doesn't have lttng kernel modules, disable lttng kernel related tests. diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb b/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb similarity index 91% rename from meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb rename to meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb index 3a3f2cff2c..9fdb0ede72 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.15.1.bb @@ -29,6 +29,7 @@ RDEPENDS:${PN}-ptest += "perl-module-getopt-long \ python3-io \ python3-shell \ python3-xml \ + python3-resource \ " INSANE_SKIP:${PN}-ptest += "dev-deps" @@ -50,9 +51,10 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://disable-tests.patch \ file://disable-tests2.patch \ file://libc++.patch \ + file://0001-m4-ax_am_macros_static.m4-do-not-write-generation-da.patch \ " -SRC_URI[sha256sum] = "0e68eb27923621c4bc127cfce40422d28cf7e473fedf6229ae6c32ba5c5b7c6d" +SRC_URI[sha256sum] = "8b6d4ba7ae2c036f7dafbb4e29717677411078f9a9d961b2dc7c1ba16273e9e9" inherit autotools ptest pkgconfig useradd python3-dir manpages systemd @@ -95,7 +97,7 @@ do_install_ptest () { install -D "${B}/$f" "${D}${PTEST_PATH}/$f" done - for f in tests/utils/tap-driver.sh config/test-driver src/common/session.xsd src/common/mi-lttng-4.1.xsd \ + for f in tests/utils/tap-driver.sh config/test-driver src/common/session.xsd src/common/mi-lttng-4.2.xsd \ tests/regression/tests.serial; do install -D "${S}/$f" "${D}${PTEST_PATH}/$f" done @@ -140,8 +142,8 @@ do_install_ptest () { done done - chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary - chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary + chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary + chrpath --delete ${D}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-cxx-binary chrpath --delete ${D}${PTEST_PATH}/tests/regression/ust/ust-dl/libbar.so chrpath --delete ${D}${PTEST_PATH}/tests/regression/ust/ust-dl/libfoo.so @@ -207,12 +209,12 @@ do_install_ptest:append:libc-musl () { } INHIBIT_PACKAGE_STRIP_FILES = "\ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/.libs/userspace-probe-elf-binary \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-cxx-binary/.libs/userspace-probe-elf-cxx-binary \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events/gen-syscall-events \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events/.libs/gen-syscall-events \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack \ - ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events-callstack/.libs/gen-syscall-events-callstack \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/.libs/userspace-probe-elf-binary \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-cxx-binary \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/.libs/userspace-probe-elf-cxx-binary \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/.libs/gen-syscall-events \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/gen-syscall-events-callstack \ + ${PKGD}${PTEST_PATH}/tests/utils/testapp/.libs/gen-syscall-events-callstack \ " From patchwork Fri Jun 19 08:32:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90502 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3AF3CD4F26 for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38256.1781857993710219998 for ; Fri, 19 Jun 2026 01:33:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=IzLxgmB8; spf=pass (domain: gmail.com, ip: 209.85.128.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-490b1bbcf3aso11752505e9.1 for ; Fri, 19 Jun 2026 01:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857992; x=1782462792; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pk3/7Vgx9wqUc75evU/FMdMHjEOD7xNU5M20wvf4vr0=; b=IzLxgmB889hFcd0tB0lAN1ZOUPPIEvXrWUo6aFus+OslwfMOBaRknsVNjrXDUlnaxZ yqZpSVOM6HMhKs/IleOvlKmELOrTS9JevXuAYqMLCrLWS2w3PNhO6W9Lf78Y/MTKhLnu hGhijLzgj4Tz4S3HFzIWkskypPpeJX/CVsL8V2FYDS18VhAOHAqOvY5WQf3EDGe9ymSr LcVxnfWwc4+FTb+jZtgPXIA7yC6zOIc5I9u5glRZvcKayk22fH/UtWWbEPRjfEzezRpn 405fV6s+3NqZj7qIsAqEmJhL57N0tnPkEO+XRyRbFPUlNBGSRrocDp5xePTN4GnQk3sZ lgXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857992; x=1782462792; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=pk3/7Vgx9wqUc75evU/FMdMHjEOD7xNU5M20wvf4vr0=; b=ZvL69fY7gg4bT+HU3awF5iiMB+FoKPbcJnd3M7kCG8W3pJBi0I/LOxCU5bpoMJyigH lqzGuV9uBFzrwgukKdHowjDq0g5sLbvWtBQOSSfIgZ/8a8L3JIXU5MlninUqJI4RXE8x 0fHQ8KWMyxjxkyXuetawZhRsXN7GLmxF0uL3kWYn7K6m+RitXvTjhsWVA2slKyVCrfZF Jd3nok3VtTG8bneTv8x+Eo+rNpEVXGvFfzNAmQyavxwIiB+hp7ShqN67glHDkO7Q8eRu MBe0QSWW037ObuZa2U1ZZuR+cnOw5uy+/fUFTMArK37CXnInD/rJlKbX+dqtslQYBrum xyVw== X-Gm-Message-State: AOJu0YyIK++s0x+RzTKCA3dVigAkKNU4oywfbUc79pIJ888hwK+5kVVE fH0N3evi40Nz8e+mFlX2bUCkRsiAfbUPNFQUk/dk2+MBDRnZj1fCT81dGfWVVLKS X-Gm-Gg: AfdE7ckPVVcOvqQZXso2pckpq5peFQ3p/VkPPRKF62BmpgTfoYZ63MGH7ySx5uHcEmj PLTs4cTsrAAykLDehLKR1/4Sb7Mn7OePwze2ngjk4iIEdieAdhlVpYat4Jf4L/GiGI2q4zbdN0j CnHLWHsaH+3RTBLI7vqwfVLanmV37HJewb4xp80kpkN2uYNRpEtTgIYrZvjHg/oH8Cm9lgXttgv oY71qpS6/FVJrDm2koIP/2nYUgzDnkf18vl5Km0HX96wElcSQwJus6GOkDHzoLP013BKbAOcVr1 B0TCRzWh74h/3mvFpiJE9ibu/wVXjTPXjlOlRfPyYmFy7i8oY1XMQl3XdFXDRKcrevbpSuDtd67 +TzHRVheVVZV5FhTU8IDuaHlto2l2jQ7/Ovn9vqeVB1L5JrVs72/iXywARNimb6in+cgN7uGP/I kOVzoJCJPaJelth8QyQNLu+49ViRCoqi1y7do0Cw55CUnPDiGb X-Received: by 2002:a05:600c:3b11:b0:490:d354:bd00 with SMTP id 5b1f17b1804b1-4923f584984mr50700505e9.25.1781857991451; Fri, 19 Jun 2026 01:33:11 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:11 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 04/15] lttng-modules: upgrade 2.14.4 -> 2.15.1 Date: Fri, 19 Jun 2026 10:32:46 +0200 Message-ID: <20260619083305.3505156-4-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239139 From: Alexander Kanavin Drop a backported patch. Signed-off-by: Alexander Kanavin --- ...st-range-in-btrfs-probe-for-v6.18.14.patch | 36 ------------------- ...ts-during-the-folios-writeback-v6.17.patch | 11 +++--- ...trace-event-i_ino-fields-to-u64-v7.1.patch | 9 ++--- ...p-unnecessary-pointer-indirection-in.patch | 9 ++--- ...ce-trace-noise-in-hrtimer_start-v7.1.patch | 10 ++---- ...onvert-pageout-to-take-a-folio-v5.18.patch | 9 ++--- ...group-IDs-to-vmscan-tracepoints-v7.1.patch | 10 ++---- ...i_ino-from-unsigned-long-to-u64-v7.1.patch | 11 +++--- ...trace-event-i_ino-fields-to-u64-v7.1.patch | 9 ++--- ...e-missing-CONFIG_TRACEPOINTS-to-warn.patch | 16 +++++---- ...ules_2.14.4.bb => lttng-modules_2.15.1.bb} | 3 +- 11 files changed, 36 insertions(+), 97 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch rename meta/recipes-kernel/lttng/{lttng-modules_2.14.4.bb => lttng-modules_2.15.1.bb} (92%) diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch deleted file mode 100644 index 662a803680..0000000000 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch +++ /dev/null @@ -1,36 +0,0 @@ -From de7ca66c797ba0b3273a217a47c8fb791d896f7c Mon Sep 17 00:00:00 2001 -From: Michael Jeanson -Date: Fri, 27 Feb 2026 17:54:39 -0500 -Subject: [PATCH] fix: adjust range in btrfs probe for v6.18.14 - -Upstream commit c5667f9c8eb9 ("btrfs: headers cleanup to remove -unnecessary local includes") was backported in v6.18.14, adjust the -range accordingly in the btrfs probe. - -Upstream-Status: Backport from commit ca93dc3b05fcb - -Change-Id: I51c5cb6345c6a1e1aa4e5e3cb9a4af2ec962ecb2 -Signed-off-by: Michael Jeanson -Signed-off-by: Mathieu Desnoyers -Signed-off-by: Xiangyu Chen ---- - include/instrumentation/events/btrfs.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/include/instrumentation/events/btrfs.h b/include/instrumentation/events/btrfs.h -index feb4f40b..e87f0085 100644 ---- a/include/instrumentation/events/btrfs.h -+++ b/include/instrumentation/events/btrfs.h -@@ -12,7 +12,8 @@ - #include - #include - --#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,19,0)) -+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,19,0) || \ -+ LTTNG_KERNEL_RANGE(6,18,14, 6,19,0)) - #include <../fs/btrfs/ordered-data.h> - #endif - --- -2.47.3 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-enhance-tracepoints-during-the-folios-writeback-v6.17.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-enhance-tracepoints-during-the-folios-writeback-v6.17.patch index a8403fbb3f..90a46df3cb 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-enhance-tracepoints-during-the-folios-writeback-v6.17.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-enhance-tracepoints-during-the-folios-writeback-v6.17.patch @@ -1,8 +1,8 @@ -From 329ef88b9ae02228387f55a61ca1cef87a5cf3f4 Mon Sep 17 00:00:00 2001 +From 8abda1d7c6b4a6346ef79e1b677ced4077c6b96e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 16:22:42 -0400 -Subject: [PATCH 7/8] fix: ext4: enhance tracepoints during the folios - writeback (v6.17) +Subject: [PATCH] fix: ext4: enhance tracepoints during the folios writeback + (v6.17) See upstream commits: @@ -38,7 +38,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 34 insertions(+) diff --git a/include/instrumentation/events/ext4.h b/include/instrumentation/events/ext4.h -index 75f92b31..fa5de84d 100644 +index 75f92b3..fa5de84 100644 --- a/include/instrumentation/events/ext4.h +++ b/include/instrumentation/events/ext4.h @@ -242,6 +242,39 @@ LTTNG_TRACEPOINT_EVENT(ext4_da_writepages, @@ -89,6 +89,3 @@ index 75f92b31..fa5de84d 100644 LTTNG_TRACEPOINT_EVENT(ext4_da_write_pages_extent, TP_PROTO(struct inode *inode, struct ext4_map_blocks *map), --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-widen-trace-event-i_ino-fields-to-u64-v7.1.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-widen-trace-event-i_ino-fields-to-u64-v7.1.patch index 5031ac5d42..4b8799bd6d 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-widen-trace-event-i_ino-fields-to-u64-v7.1.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-ext4-widen-trace-event-i_ino-fields-to-u64-v7.1.patch @@ -1,7 +1,7 @@ -From e80f709c4665a333da82b27605c26a3afccb299f Mon Sep 17 00:00:00 2001 +From 22078c50f8093b80741e080e17a3196fe074884c Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 16:01:09 -0400 -Subject: [PATCH 8/8] fix: ext4: widen trace event i_ino fields to u64 (v7.1) +Subject: [PATCH] fix: ext4: widen trace event i_ino fields to u64 (v7.1) See upstream commit: @@ -24,7 +24,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 1048 insertions(+), 75 deletions(-) diff --git a/include/instrumentation/events/ext4.h b/include/instrumentation/events/ext4.h -index fa5de84d..43b93cde 100644 +index fa5de84..43b93cd 100644 --- a/include/instrumentation/events/ext4.h +++ b/include/instrumentation/events/ext4.h @@ -26,6 +26,95 @@ struct ext4_extent; @@ -1419,6 +1419,3 @@ index fa5de84d..43b93cde 100644 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0)) LTTNG_TRACEPOINT_EVENT(ext4_fc_replay_scan, --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Drop-unnecessary-pointer-indirection-in.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Drop-unnecessary-pointer-indirection-in.patch index 8bf20a2047..e9c9e5957a 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Drop-unnecessary-pointer-indirection-in.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Drop-unnecessary-pointer-indirection-in.patch @@ -1,7 +1,7 @@ -From a74f94be254e5a9856655c982dbca44b86437897 Mon Sep 17 00:00:00 2001 +From faf9b9d9584ef6615243dc123f7c14ab01b0e7c3 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 10:54:27 -0400 -Subject: [PATCH 2/8] fix: hrtimer: Drop unnecessary pointer indirection in +Subject: [PATCH] fix: hrtimer: Drop unnecessary pointer indirection in hrtimer_expire_entry event (v7.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -29,7 +29,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 24 insertions(+) diff --git a/include/instrumentation/events/timer.h b/include/instrumentation/events/timer.h -index dfc295e0..c4a94605 100644 +index dfc295e..c4a9460 100644 --- a/include/instrumentation/events/timer.h +++ b/include/instrumentation/events/timer.h @@ -299,6 +299,29 @@ LTTNG_TRACEPOINT_EVENT_MAP(hrtimer_start, @@ -70,6 +70,3 @@ index dfc295e0..c4a94605 100644 LTTNG_TRACEPOINT_EVENT_CLASS(timer_hrtimer_class, --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch index de5e08c346..6dd794f460 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch @@ -1,8 +1,7 @@ -From 531c6e02c5a231f153d12ff628ecb677b7c2f7b9 Mon Sep 17 00:00:00 2001 +From 82000f32ec1c54a83e95ce10aefedfd6c41ec4bd Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 10:38:18 -0400 -Subject: [PATCH 1/8] fix: hrtimer: Reduce trace noise in hrtimer_start() - (v7.1) +Subject: [PATCH] fix: hrtimer: Reduce trace noise in hrtimer_start() (v7.1) See upstream commit: @@ -38,7 +37,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/include/instrumentation/events/timer.h b/include/instrumentation/events/timer.h -index f69e069b..dfc295e0 100644 +index f69e069..dfc295e 100644 --- a/include/instrumentation/events/timer.h +++ b/include/instrumentation/events/timer.h @@ -220,12 +220,43 @@ LTTNG_TRACEPOINT_EVENT_MAP(hrtimer_init, @@ -98,6 +97,3 @@ index f69e069b..dfc295e0 100644 LTTNG_TRACEPOINT_EVENT_MAP(hrtimer_start, timer_hrtimer_start, --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-Convert-pageout-to-take-a-folio-v5.18.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-Convert-pageout-to-take-a-folio-v5.18.patch index de498fa448..660c7a43a8 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-Convert-pageout-to-take-a-folio-v5.18.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-Convert-pageout-to-take-a-folio-v5.18.patch @@ -1,7 +1,7 @@ -From b9d853f90111cf657762c3e23110ab9f7a66e1aa Mon Sep 17 00:00:00 2001 +From 62aa0b4bba7e3b0c60f0bcdb5c98c77bedcd45ba Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 11:36:32 -0400 -Subject: [PATCH 3/8] fix: mm/vmscan: Convert pageout() to take a folio (v5.18) +Subject: [PATCH] fix: mm/vmscan: Convert pageout() to take a folio (v5.18) See upstream commit: @@ -24,7 +24,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/instrumentation/events/mm_vmscan.h b/include/instrumentation/events/mm_vmscan.h -index 15d56b38..f33bcbd2 100644 +index 15d56b3..f33bcbd 100644 --- a/include/instrumentation/events/mm_vmscan.h +++ b/include/instrumentation/events/mm_vmscan.h @@ -510,7 +510,20 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(mm_vmscan_lru_isolate_template, mm_vmscan_memcg_ @@ -49,6 +49,3 @@ index 15d56b38..f33bcbd2 100644 LTTNG_TRACEPOINT_EVENT(mm_vmscan_writepage, TP_PROTO(struct page *page), --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-add-cgroup-IDs-to-vmscan-tracepoints-v7.1.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-add-cgroup-IDs-to-vmscan-tracepoints-v7.1.patch index c1113468bd..506004a3c6 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-add-cgroup-IDs-to-vmscan-tracepoints-v7.1.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-mm-vmscan-add-cgroup-IDs-to-vmscan-tracepoints-v7.1.patch @@ -1,8 +1,7 @@ -From 0d2ee7c9cb79a880c440153beeacd736d1b61a31 Mon Sep 17 00:00:00 2001 +From c3dac15e9e2be4ab818b59a74fda26466cc16c2c Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 11:30:54 -0400 -Subject: [PATCH 4/8] fix: mm: vmscan: add cgroup IDs to vmscan tracepoints - (v7.1) +Subject: [PATCH] fix: mm: vmscan: add cgroup IDs to vmscan tracepoints (v7.1) See upstream commit: @@ -29,7 +28,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 123 insertions(+), 2 deletions(-) diff --git a/include/instrumentation/events/mm_vmscan.h b/include/instrumentation/events/mm_vmscan.h -index f33bcbd2..cce06198 100644 +index f33bcbd..cce0619 100644 --- a/include/instrumentation/events/mm_vmscan.h +++ b/include/instrumentation/events/mm_vmscan.h @@ -121,7 +121,43 @@ LTTNG_TRACEPOINT_EVENT(mm_vmscan_wakeup_kswapd, @@ -193,6 +192,3 @@ index f33bcbd2..cce06198 100644 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,7,0) || \ LTTNG_RHEL_KERNEL_RANGE(5,14,0,427,16,1, 5,15,0,0,0,0)) --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-treewide-change-inode-i_ino-from-unsigned-long-to-u64-v7.1.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-treewide-change-inode-i_ino-from-unsigned-long-to-u64-v7.1.patch index c7b4c1a7f1..a87ee574fb 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-treewide-change-inode-i_ino-from-unsigned-long-to-u64-v7.1.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-treewide-change-inode-i_ino-from-unsigned-long-to-u64-v7.1.patch @@ -1,8 +1,8 @@ -From 0ae8e932cc2c431bafe390a43feb29b0c6a98ab5 Mon Sep 17 00:00:00 2001 +From 69ee47280a495540d91718442a66af18362a4a26 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 14:52:02 -0400 -Subject: [PATCH 6/8] fix: treewide: change inode->i_ino from unsigned long to - u64 (v7.1) +Subject: [PATCH] fix: treewide: change inode->i_ino from unsigned long to u64 + (v7.1) See upstream commit: @@ -37,7 +37,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lttng-uprobes.c b/src/lttng-uprobes.c -index 39c09b8f..84edbd33 100644 +index 39c09b8..84edbd3 100644 --- a/src/lttng-uprobes.c +++ b/src/lttng-uprobes.c @@ -256,8 +256,8 @@ int lttng_uprobes_add_callsite(struct lttng_uprobe *uprobe, @@ -51,6 +51,3 @@ index 39c09b8f..84edbd33 100644 uprobe_handler->offset); ret = -1; goto register_error; --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-vfs-widen-trace-event-i_ino-fields-to-u64-v7.1.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-vfs-widen-trace-event-i_ino-fields-to-u64-v7.1.patch index c16e6e932e..ee38b753f3 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-vfs-widen-trace-event-i_ino-fields-to-u64-v7.1.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-vfs-widen-trace-event-i_ino-fields-to-u64-v7.1.patch @@ -1,7 +1,7 @@ -From 95d19f6ff3d0591afce0e5666d3d17b9192789f6 Mon Sep 17 00:00:00 2001 +From 06f95d412fd63d4bd0ba2c24243a67808931f034 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 25 May 2026 11:37:51 -0400 -Subject: [PATCH 5/8] fix: vfs: widen trace event i_ino fields to u64 (v7.1) +Subject: [PATCH] fix: vfs: widen trace event i_ino fields to u64 (v7.1) See upstream commit: @@ -26,7 +26,7 @@ Signed-off-by: Michael Jeanson 1 file changed, 174 insertions(+), 5 deletions(-) diff --git a/include/instrumentation/events/writeback.h b/include/instrumentation/events/writeback.h -index f53d9d3c..cbf9a426 100644 +index f53d9d3..cbf9a42 100644 --- a/include/instrumentation/events/writeback.h +++ b/include/instrumentation/events/writeback.h @@ -35,6 +35,31 @@ static inline const char *lttng_bdi_dev_name(struct backing_dev_info *bdi) @@ -271,6 +271,3 @@ index f53d9d3c..cbf9a426 100644 LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_single_inode_template, writeback_single_inode, TP_PROTO(struct inode *inode, struct writeback_control *wbc, --- -2.43.0 - diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch index a47b5b9789..b6001c2e29 100644 --- a/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch @@ -1,4 +1,4 @@ -From 60d423945bd4f4c4b7bfc6f29da9231152d05690 Mon Sep 17 00:00:00 2001 +From e7d6a99119798856810f4067c7c550cae2173cef Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sat, 15 May 2021 10:26:38 -0400 Subject: [PATCH] src/Kbuild: change missing CONFIG_TRACEPOINTS to warning @@ -19,11 +19,13 @@ Signed-off-by: Bruce Ashfield src/Kbuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -Index: lttng-modules-2.14.0/src/Kbuild -=================================================================== ---- lttng-modules-2.14.0.orig/src/Kbuild -+++ lttng-modules-2.14.0/src/Kbuild -@@ -3,10 +3,13 @@ +diff --git a/src/Kbuild b/src/Kbuild +index f33d0d5..beef608 100644 +--- a/src/Kbuild ++++ b/src/Kbuild +@@ -1,12 +1,15 @@ + # SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + # SPDX-FileCopyrightText: 2010-2024 EfficiOS Inc. -ifdef CONFIG_LOCALVERSION # Check if dot-config is included. +ifneq ($(CONFIG_LOCALVERSION)$(CONFIG_LOCALVERSION_AUTO),) # Check if dot-config is included. @@ -39,7 +41,7 @@ Index: lttng-modules-2.14.0/src/Kbuild TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/.. lttng_check_linux_version = $(shell pwd)/include/linux/version.h -@@ -168,3 +171,5 @@ +@@ -168,3 +171,5 @@ obj-$(CONFIG_LTTNG) += tests/ obj-$(CONFIG_LTTNG_SYSCALLS_EXTRACTOR) += lttng-syscalls-extractor.o # vim:syntax=make diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.14.4.bb b/meta/recipes-kernel/lttng/lttng-modules_2.15.1.bb similarity index 92% rename from meta/recipes-kernel/lttng/lttng-modules_2.14.4.bb rename to meta/recipes-kernel/lttng/lttng-modules_2.15.1.bb index 6e0cc811b4..c6c78c1840 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.14.4.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.15.1.bb @@ -14,7 +14,6 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ # Use :append here so that the patch is applied also when using devupstream SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \ - file://0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch \ file://0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch \ file://0001-fix-hrtimer-Drop-unnecessary-pointer-indirection-in.patch \ file://0001-fix-mm-vmscan-Convert-pageout-to-take-a-folio-v5.18.patch \ @@ -24,7 +23,7 @@ SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-w file://0001-fix-ext4-enhance-tracepoints-during-the-folios-writeback-v6.17.patch \ file://0001-fix-ext4-widen-trace-event-i_ino-fields-to-u64-v7.1.patch \ " -SRC_URI[sha256sum] = "63deefbc15d9ce7c43d858187533367b01dcb6e8469d6b69ccb757d6d3dbb0ad" +SRC_URI[sha256sum] = "4eab35edeaa84ddefa243f2f842af1482325062ee008fb511a3ff191b9aa09ac" export INSTALL_MOD_DIR = "kernel/lttng-modules" From patchwork Fri Jun 19 08:32:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90503 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47BD6CDB472 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38122.1781857994056230307 for ; Fri, 19 Jun 2026 01:33:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=S9Tyqwzx; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-46066e640easo1128694f8f.1 for ; Fri, 19 Jun 2026 01:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857992; x=1782462792; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LdLnLLqMbheT/sF/Zw7YxxnMjkntbWZ9+3Apqdz8onw=; b=S9TyqwzxJurNH9rZu9laCg54aLm3LTHLvVC1oEVQfgT6RVPIBQZS7F22+yEUlh8eXK MWmyqOmKyRADTKQueJmOKOMg7E3/EqyTLuTvkNy2klrJRxMkDoE20lUbYQJvL2vTl33N VN7c8xkq7QcPw20avDNomM/eB19ZefvcPEPzFN+HibbgEToIB5cHtWynVfMLNaq6X8PE PAvPY7+zLv6zpJG6DqEEG04XsBFYk8ynttxGtQlYoBBvqaPaGMf2GX0ljtoPH4eiJm26 Ox5QWTEyepAtvfMzvTwgoqvAmJLWWYetAQ6QFqnqXK43V0zGRdAM+T8v5mRFYBmwXdWM 0oRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857992; x=1782462792; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LdLnLLqMbheT/sF/Zw7YxxnMjkntbWZ9+3Apqdz8onw=; b=MK0qdazCnU8ed8mTST7eRijLlYCuIk6m2YEx/WZYOftfi9qgfhFFYzf+iEc3gjbwkR XjL87GbL4oReoYUYZnbyeKu3hvd0ghOVlLBnvfhn0L1kGhs7of0v0Ioncv+49tVWtX1D muaVKbIPWVaavpS8BW16CHmKBK383+JdRMBBy4UYgSTf0R+J8RKRg5+Thn5BHJYqAHNf WtA5L1MuQ6svXzjnL0aEBPyl4kjccjZM2dOEDuBdRstTTQPksTfVIbLDDtxbr/uMuRG0 siogxLJhvUEO48XpFSYj7F4RN4qMurBmCkxBv9w6hvtHccRMeLcQ88GtQnsHWD4apPQ4 KrWQ== X-Gm-Message-State: AOJu0YwRpvAsPZE3kKSckVWFblgz1QUk7XPyT116liCCxCmCWj1O+Xuq hhEcEuzEW1GZU3SDpdJp5v5VbilsQmebMJZHXEwNRCfPWVhX49oBqxQ7oJILL2j4 X-Gm-Gg: AfdE7cl/VhxQ0oGJBVI0ZHzH+C4ItJBeKtXUCtdPTk5GD4SPeTHb6FxXTstLn9/QmlD xv38J7RhpyjdY05/83DorBY23M/JYQxKWuYbtmTnMAZV1EjRmkpugmQ/H6SCdtFqP12yh+IKcKy RHE0b8UrMOl3Y8RjmvLXNEot47FLjUnKdjSsUbbKSQIFxk0mRbcUMnr6ewRWVVWC8qDeTd1Vros MKeCGyW03TZQCQIjcj5p8tQPpvNpU1GYR0MpnSglRlDXkuXGPs/6o6Oxcg7Qd3tgiKvEmmQl0nV f6LSfr7kylNnuHGwcnt9O3H++5vINiOr9dpa4ELL3Itqgrw/0BcrfY0HOaGE18/+Qq4od0hcLvl OtMwEcYPp1vZBogMpxjJT1BuM6gvpd+zlix3dus2JnRgNvSQqqO0tR5xx/ydc8ZaX6NpjKBSwHo 9oehbWXEBGVOndeOXdeCtyAqg4oKbjSmGQ5Iuvd1jWPWwHc5gs X-Received: by 2002:a05:6000:41e6:b0:465:7c2f:c09 with SMTP id ffacd0b85a97d-4657c2f0c7cmr2385777f8f.16.1781857992220; Fri, 19 Jun 2026 01:33:12 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:11 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 05/15] lttng-ust: upgrade 2.14.0 -> 2.15.1 Date: Fri, 19 Jun 2026 10:32:47 +0200 Message-ID: <20260619083305.3505156-5-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239140 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- ...0001-lttng-ust-common-link-with-liburcu-explicitly.patch | 6 +++--- ...thon-lttngust-Makefile.am-Add-install-lib-to-setup.patch | 6 +++--- .../lttng/{lttng-ust_2.14.0.bb => lttng-ust_2.15.1.bb} | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename meta/recipes-kernel/lttng/{lttng-ust_2.14.0.bb => lttng-ust_2.15.1.bb} (95%) diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch index ceb240680b..d9cf861dbc 100644 --- a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch +++ b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch @@ -1,4 +1,4 @@ -From 1b6bbf14de8fdfe60e446c93969e29bc2cf5f2dc Mon Sep 17 00:00:00 2001 +From 182cb1e754e861a4eff4bde3919bc32462e3072c Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 5 Sep 2021 10:44:19 +0200 Subject: [PATCH] lttng-ust-common: link with liburcu explicitly @@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+) diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am -index 1ccc290..6531fa0 100644 +index c350edc..09212a7 100644 --- a/src/lib/lttng-ust-common/Makefile.am +++ b/src/lib/lttng-ust-common/Makefile.am -@@ -16,6 +16,7 @@ liblttng_ust_common_la_SOURCES = \ +@@ -18,6 +18,7 @@ liblttng_ust_common_la_SOURCES = \ liblttng_ust_common_la_LIBADD = \ $(top_builddir)/src/common/libcommon.la \ diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch index 7bbe5c216e..733a4de456 100644 --- a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch +++ b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch @@ -1,4 +1,4 @@ -From 30660997d220602202d8dc7264e49095a1581947 Mon Sep 17 00:00:00 2001 +From cd2fbbf5454af7c0910549e841b5da7a1b133a89 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 20 Feb 2024 12:19:06 +0000 Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py @@ -14,10 +14,10 @@ Signed-off-by: Robert Yang 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am -index d53e21d..283901e 100644 +index 30db9fb..d46b6ee 100644 --- a/src/python-lttngust/Makefile.am +++ b/src/python-lttngust/Makefile.am -@@ -45,7 +45,7 @@ install-exec-local: build-python-bindings.stamp +@@ -47,7 +47,7 @@ install-exec-local: build-python-bindings.stamp if [ "$(DESTDIR)" != "" ]; then \ opts="$$opts --root=$(DESTDIR)"; \ fi; \ diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.15.1.bb similarity index 95% rename from meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb rename to meta/recipes-kernel/lttng/lttng-ust_2.15.1.bb index 1a15c5b420..d731aa2eb0 100644 --- a/meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb +++ b/meta/recipes-kernel/lttng/lttng-ust_2.15.1.bb @@ -33,7 +33,7 @@ SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \ file://0001-lttng-ust-common-link-with-liburcu-explicitly.patch \ " -SRC_URI[sha256sum] = "82cdfd304bbb2b2b7d17cc951a6756b37a9f73868ec0ba7db448a0d5ca51b763" +SRC_URI[sha256sum] = "37c9b58ea7aa7bc47d6630b52ba1a48ebce095b9a196eab4ddd273d78301792d" CVE_PRODUCT = "ust" From patchwork Fri Jun 19 08:32:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90506 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AD26CDB473 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38257.1781857994877010989 for ; Fri, 19 Jun 2026 01:33:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=MbDx+v0Q; spf=pass (domain: gmail.com, ip: 209.85.221.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-46066e640easo1128703f8f.1 for ; Fri, 19 Jun 2026 01:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857993; x=1782462793; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QXHNCJPS6qLN3PQYHf/9sM8KggzRMYc8WXxJstQB/jo=; b=MbDx+v0QCQ8VrBhGK+xNY6/wKBYyqrRkWxTwOzk1beqB/NcGe47FlhjO3hIjMclQ8x puKOLUqbuFMGimcfkjkhcQHcborJq2cqT54CANxR2UCYimKef+VIgTb6X9wy61Oekl3f gHYtVJzGQhfI92kYRxpkFKWIZBEo3pgeQYACACy3k6Ft/d7ZUzxStaqD8qffTrth2ilM pssu6VnVXrzOEaSsMZ2iWIc6QeBt89wH+7fFaMNGiPjJWdbJHmxOaSKFnxHwo2W+xpM/ 60VObJobu7bHm1D7FT8lQCOUJE5QNuTKFxmGtpx4OA7gO222tUK0wkdXma0HAJNBgq0i U0KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857993; x=1782462793; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QXHNCJPS6qLN3PQYHf/9sM8KggzRMYc8WXxJstQB/jo=; b=qHbW5Z+MXKTYqQLwQ1nD0do3zhHhAJJUUiXnFbiEJmYVDTMUadAtQcXLG3rf2FkHvf u/MW5dGHWZ4Brl/zHzS+qrz4YtnDNAlPbAPKG1Je+Ad/QXnVJ5wp62zvS7ZiZjjkymDK UEF87eTrZtkYmEs4GUgYMWHm8MqO62UZDINbkeQNseMlF6qWOagtjTIXx4nVhELU75NJ Vrrx2wj1QtIrHjK0rDuQsrhj7ZAM5QQbfg7q5TjpnYpwHZZMDzWPWoewzR6xnX9KESUB OhU7wDVU8DdsE3QPQwcdIFiR1s6Lsi352YFdzyr3hRE/RxgyCOfbBppl81ssbOM7yGIN 1EbQ== X-Gm-Message-State: AOJu0YyQVGnz/WOPQUi/KRoLsRzlE7dTxkFvpxa75ic+rrurbhtzVxAC X3KDOgPQXclyc8uM2t/WaEBBrrW78wfEaHs6Se0yp0Icmdo815+e1V8G0nnXJF/P X-Gm-Gg: AfdE7cmrCdjzvTAluV7yczz5KUPnTDXnZKvqxZYwhUP87rfQubFO4gKFduMpcxS97Xf g3ePz/tt+KckJJsqcMbV4TVoyrMwYK8SpYnrSad9SaHflog2o2uRDWJ/iLFm4/0BhzFdlFuxItq unb+jAIVYCGPO7CCqRIN90PcCHK3MgnjFS7SPetcmTyMS8B1enrK70NSBQsRIuLrjVTZDJtG6Yb UtV8NRdmCQxseB+m8VoVJVjReqXYH3MXl6glo9st6JnoXTQPww2EZq6AuVSLW5qw59o+0dsS5ls KCONSwQQpxs62N2H+uEozoRSJ6M5W8re7BgBh9O850qTiNTNm+y8m+8+MxeI2Ej68tCuXNUZ0P3 fzAkayez+fzs+vPNMvgDE8+9xD/0uDNY1vHx3x6TYykFONSlfEO7zj2UVKDclFmWDLLPZaQbjO8 de+LQcUM3Y+sywjiRPXK5v0KmXQxfPnpRvQlHrApnhXNlQHDUR X-Received: by 2002:a05:6000:481b:b0:45e:eaed:afd2 with SMTP id ffacd0b85a97d-465041d5b0amr5022874f8f.0.1781857992985; Fri, 19 Jun 2026 01:33:12 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:12 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 06/15] systemtap: upgrade 5.4 -> 5.5 Date: Fri, 19 Jun 2026 10:32:48 +0200 Message-ID: <20260619083305.3505156-6-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239141 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- ...-native_5.4.bb => systemtap-native_5.5.bb} | 0 ...gure-write-a-python-location-into-th.patch | 7 +- ...ython-modules-to-correct-library-dir.patch | 2 +- .../0001-elaborate.cxx-fix-32-bit-build.patch | 104 ------------------ ...rove-reproducibility-for-c-compiling.patch | 10 +- ...staprun-address-ncurses-6.3-failures.patch | 11 +- ...-don-t-support-installing-a-non-root.patch | 17 ++- .../systemtap/systemtap/readline.patch | 29 +++-- .../{systemtap_5.4.bb => systemtap_5.5.bb} | 0 .../systemtap/systemtap_git.inc | 3 +- 10 files changed, 39 insertions(+), 144 deletions(-) rename meta/recipes-kernel/systemtap/{systemtap-native_5.4.bb => systemtap-native_5.5.bb} (100%) delete mode 100644 meta/recipes-kernel/systemtap/systemtap/0001-elaborate.cxx-fix-32-bit-build.patch rename meta/recipes-kernel/systemtap/{systemtap_5.4.bb => systemtap_5.5.bb} (100%) diff --git a/meta/recipes-kernel/systemtap/systemtap-native_5.4.bb b/meta/recipes-kernel/systemtap/systemtap-native_5.5.bb similarity index 100% rename from meta/recipes-kernel/systemtap/systemtap-native_5.4.bb rename to meta/recipes-kernel/systemtap/systemtap-native_5.5.bb diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-Do-not-let-configure-write-a-python-location-into-th.patch b/meta/recipes-kernel/systemtap/systemtap/0001-Do-not-let-configure-write-a-python-location-into-th.patch index 742b1187fc..8a6cc4e0a4 100644 --- a/meta/recipes-kernel/systemtap/systemtap/0001-Do-not-let-configure-write-a-python-location-into-th.patch +++ b/meta/recipes-kernel/systemtap/systemtap/0001-Do-not-let-configure-write-a-python-location-into-th.patch @@ -1,4 +1,4 @@ -From ab29615ed6c2e779b472903564dc683dc1015de7 Mon Sep 17 00:00:00 2001 +From adf505ededdd25cf43111fd12a59090a8f7de856 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 22 Feb 2017 13:37:33 +0200 Subject: [PATCH] Do not let configure write a python location into the dtrace @@ -11,7 +11,7 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtrace.in b/dtrace.in -index 5e1cf8079..a24229cbc 100644 +index 73a6f22e2..870999e36 100644 --- a/dtrace.in +++ b/dtrace.in @@ -1,4 +1,4 @@ @@ -20,6 +20,3 @@ index 5e1cf8079..a24229cbc 100644 # vim: et sta sts=4 sw=4 ts=8 # This handles the systemtap equivalent of --- -2.11.0 - diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch b/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch index 21e3096405..6a3fa04bea 100644 --- a/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch +++ b/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch @@ -1,4 +1,4 @@ -From 7847240a97f5010ebab775f7ac51812a7705a886 Mon Sep 17 00:00:00 2001 +From a261ee9efca120b6d65310a972d91dffc00ac937 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 24 Feb 2017 17:53:02 +0200 Subject: [PATCH] Install python modules to correct library dir. diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-elaborate.cxx-fix-32-bit-build.patch b/meta/recipes-kernel/systemtap/systemtap/0001-elaborate.cxx-fix-32-bit-build.patch deleted file mode 100644 index bfc9699728..0000000000 --- a/meta/recipes-kernel/systemtap/systemtap/0001-elaborate.cxx-fix-32-bit-build.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 94efb7c4eb02de0e3565cb165b53963602d3dcb6 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Sun, 30 Nov 2025 20:58:01 +0000 -Subject: [PATCH] elaborate.cxx: fix 32-bit build - -Without the change the build fails on i686-linux as: - - elaborate.cxx:5119:33: error: - format '%ld' expects argument of type 'long int', - but argument 2 has type 'int64_t' {aka 'long long int'} [-Werror=format=] - 5119 | session.print_warning (_F("Collapsing unresolved @define to %ld [stapprobes]", value), e->tok); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Upstream-Status: Backport [https://sourceware.org/git/?p=systemtap.git;a=patch;h=94efb7c4eb02de0e3565cb165b53963602d3dcb6] -Signed-off-by: Victor Kamensky ---- - elaborate.cxx | 2 +- - po/cs.po | 2 +- - po/en.po | 2 +- - po/fr.po | 2 +- - po/pl.po | 2 +- - po/systemtap.pot | 2 +- - 6 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/elaborate.cxx b/elaborate.cxx -index 93ecffa1a..3ad3614e7 100644 ---- a/elaborate.cxx -+++ b/elaborate.cxx -@@ -5116,7 +5116,7 @@ const_folder::visit_defined_op (defined_op* e) - // Don't be greedy... we'll only collapse one at a time so type - // resolution can have another go at it. - relaxed_p = false; -- session.print_warning (_F("Collapsing unresolved @define to %ld [stapprobes]", value), e->tok); -+ session.print_warning (_F("Collapsing unresolved @define to %lld [stapprobes]", (long long)value), e->tok); - literal_number* n = new literal_number (value); - n->tok = e->tok; - n->visit (this); -diff --git a/po/cs.po b/po/cs.po -index df6412772..92fdef7ad 100644 ---- a/po/cs.po -+++ b/po/cs.po -@@ -2039,7 +2039,7 @@ msgstr "Zahazuji kontrolu '@defined' bez vedlejších účinků " - - #: elaborate.cxx:5119 - #, fuzzy, c-format --msgid "Collapsing unresolved @define to %ld [stapprobes]" -+msgid "Collapsing unresolved @define to %lld [stapprobes]" - msgstr "Zahazuji kontrolu '@defined' bez vedlejších účinků " - - #: elaborate.cxx:5127 -diff --git a/po/en.po b/po/en.po -index 8847639e8..1db2292bd 100644 ---- a/po/en.po -+++ b/po/en.po -@@ -2050,7 +2050,7 @@ msgstr "" - - #: elaborate.cxx:5119 - #, c-format --msgid "Collapsing unresolved @define to %ld [stapprobes]" -+msgid "Collapsing unresolved @define to %lld [stapprobes]" - msgstr "" - - #: elaborate.cxx:5127 -diff --git a/po/fr.po b/po/fr.po -index b8677707b..55e409919 100644 ---- a/po/fr.po -+++ b/po/fr.po -@@ -2090,7 +2090,7 @@ msgstr "" - - #: elaborate.cxx:5119 - #, c-format --msgid "Collapsing unresolved @define to %ld [stapprobes]" -+msgid "Collapsing unresolved @define to %lld [stapprobes]" - msgstr "" - - #: elaborate.cxx:5127 -diff --git a/po/pl.po b/po/pl.po -index e3b6700ee..0b35880c1 100644 ---- a/po/pl.po -+++ b/po/pl.po -@@ -1977,7 +1977,7 @@ msgstr "" - - #: elaborate.cxx:5119 - #, c-format --msgid "Collapsing unresolved @define to %ld [stapprobes]" -+msgid "Collapsing unresolved @define to %lld [stapprobes]" - msgstr "" - - #: elaborate.cxx:5127 -diff --git a/po/systemtap.pot b/po/systemtap.pot -index 32ddb2290..4ec0d9a8c 100644 ---- a/po/systemtap.pot -+++ b/po/systemtap.pot -@@ -1973,7 +1973,7 @@ msgstr "" - - #: elaborate.cxx:5119 - #, c-format --msgid "Collapsing unresolved @define to %ld [stapprobes]" -+msgid "Collapsing unresolved @define to %lld [stapprobes]" - msgstr "" - - #: elaborate.cxx:5127 --- -2.45.0 - diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch b/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch index 7d35f76b29..894cd3b407 100644 --- a/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch +++ b/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch @@ -1,4 +1,4 @@ -From 6288ba5df0a8c73ef842b609081449ac4de86123 Mon Sep 17 00:00:00 2001 +From 06522edad080caa76f5abc8586fe5baf3b620f16 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Wed, 18 Jul 2018 16:58:33 +0800 Subject: [PATCH] improve reproducibility for c++ compiling @@ -13,10 +13,10 @@ Signed-off-by: Hongxu Jia stringtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: git/stringtable.h -=================================================================== ---- git.orig/stringtable.h -+++ git/stringtable.h +diff --git a/stringtable.h b/stringtable.h +index aef564824..a04888f3c 100644 +--- a/stringtable.h ++++ b/stringtable.h @@ -23,7 +23,7 @@ #if 0 && defined(HAVE_BOOST_UTILITY_STRING_REF_HPP) diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch index 1decf21593..59c0e8a7fd 100644 --- a/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch +++ b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-address-ncurses-6.3-failures.patch @@ -1,4 +1,4 @@ -From 191f528da19193d713d94ee252e2485efd9af4d3 Mon Sep 17 00:00:00 2001 +From 7672d0e398b29a52f59a1a0cbb75d4d07bd5f975 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 25 Oct 2021 17:59:24 +0200 Subject: [PATCH] staprun: address ncurses 6.3 failures @@ -10,10 +10,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/staprun/monitor.c b/staprun/monitor.c -index 478634c09..f4fbfd686 100644 +index 851ee14c4..7d83a3846 100644 --- a/staprun/monitor.c +++ b/staprun/monitor.c -@@ -448,12 +448,12 @@ void monitor_render(void) +@@ -453,12 +453,12 @@ void monitor_render(void) if (active_window == 0) wattron(status, A_BOLD); wprintw(status, "\n%*s\t%*s\t%*s\t%*s\t%*s\t%*s\t%s\n", @@ -32,7 +32,7 @@ index 478634c09..f4fbfd686 100644 HIGHLIGHT("name", p_name, comp_fn_index)); if (active_window == 0) wattroff(status, A_BOLD); -@@ -466,17 +466,17 @@ void monitor_render(void) +@@ -471,17 +471,17 @@ void monitor_render(void) json_object *probe, *field; probe = json_object_array_get_idx(jso_probe_list, i); json_object_object_get_ex(probe, "index", &field); @@ -56,6 +56,3 @@ index 478634c09..f4fbfd686 100644 getyx(status, discard, cur_x); json_object_object_get_ex(probe, "name", &field); wprintw(status, "%.*s", max_cols-cur_x-1, json_object_get_string(field)); --- -2.20.1 - diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch index e2f8b3b057..8273e34b57 100644 --- a/meta/recipes-kernel/systemtap/systemtap/0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch +++ b/meta/recipes-kernel/systemtap/systemtap/0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch @@ -1,4 +1,4 @@ -From 3e13a006fe3dff9489269274093bf868532036e2 Mon Sep 17 00:00:00 2001 +From 3483d0bc400eb618add607097027eafb075722f4 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 5 Sep 2017 16:02:55 -0700 Subject: [PATCH] staprun/stapbpf: don't support installing a non-root @@ -10,15 +10,14 @@ the binaries. Upstream-Status: Inappropriate [Embedded] Signed-off-by: Saul Wold --- - stapbpf/Makefile.am | 14 +++++++------- - staprun/Makefile.am | 12 ++++++------ - 2 files changed, 13 insertions(+), 13 deletions(-) + stapbpf/Makefile.am | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) -Index: git/stapbpf/Makefile.am -=================================================================== ---- git.orig/stapbpf/Makefile.am -+++ git/stapbpf/Makefile.am -@@ -41,10 +41,10 @@ +diff --git a/stapbpf/Makefile.am b/stapbpf/Makefile.am +index 4bd116bc3..e06d0801b 100644 +--- a/stapbpf/Makefile.am ++++ b/stapbpf/Makefile.am +@@ -40,10 +40,10 @@ git_version.stamp ../git_version.h: # Why the "id -u" condition? This way, an unprivileged user can run # make install, and have "sudo stap ...." or "sudo stapbpf ...." work later. diff --git a/meta/recipes-kernel/systemtap/systemtap/readline.patch b/meta/recipes-kernel/systemtap/systemtap/readline.patch index d7afc800cd..f452188179 100644 --- a/meta/recipes-kernel/systemtap/systemtap/readline.patch +++ b/meta/recipes-kernel/systemtap/systemtap/readline.patch @@ -1,4 +1,7 @@ -configure: add option to enable/disable readline +From ee20cb1c1ca0337c56087934efbd66ba30d2d5c3 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Mon, 13 Apr 2026 11:28:39 +0100 +Subject: [PATCH] configure: add option to enable/disable readline Add an option to control explicitly whether systemtap will look for and use readline, for reproducible builds. @@ -10,11 +13,14 @@ not be used. Upstream-Status: Submitted [https://sourceware.org/pipermail/systemtap/2026q2/028333.html] Signed-off-by: Ross Burton +--- + configure.ac | 67 +++++++++++++++++++++++++++++----------------------- + 1 file changed, 38 insertions(+), 29 deletions(-) -diff --git i/configure.ac w/configure.ac -index 6fb99da40..01457bafb 100644 ---- i/configure.ac -+++ w/configure.ac +diff --git a/configure.ac b/configure.ac +index 6fb99da40..2ec72e85a 100644 +--- a/configure.ac ++++ b/configure.ac @@ -525,38 +525,47 @@ AC_CHECK_HEADERS([rpm/rpmcrypto.h], [ have_rpmcrypto_h=yes AC_MSG_NOTICE([separate rpm/rpmcrypto.h])]) @@ -23,7 +29,7 @@ index 6fb99da40..01457bafb 100644 -dnl -dnl First save the orignal value of LIBS. -LIBS_no_readline=$LIBS - +- -dnl Check how for readline presence and how to link with it. On some -dnl systems you need to add a termcap compatible library. -have_libreadline="no" @@ -31,6 +37,7 @@ index 6fb99da40..01457bafb 100644 -for libtermcap in "" tinfo ncursesw ncurses curses termcap; do - if test -z "$libtermcap"; then - READLINE_LIBS="-lreadline" ++ +AC_ARG_WITH([readline], + AS_HELP_STRING([--without-readline],[disable use of readline]), [], [with_readline="check"]) + @@ -66,17 +73,17 @@ index 6fb99da40..01457bafb 100644 + READLINE_LIBS="" else - READLINE_LIBS="-lreadline -l$libtermcap" -+ AC_MSG_RESULT([$READLINE_LIBS]) -+ AC_DEFINE(HAVE_LIBREADLINE, [1], -+ [Define if you have the readline library (-lreadline).]) - fi +- fi - LIBS="$READLINE_LIBS $LIBS_no_readline" - AC_LINK_IFELSE( - [AC_LANG_CALL([],[readline])], - [have_libreadline="yes"]) - if test "$have_libreadline" = "yes"; then - break -- fi ++ AC_MSG_RESULT([$READLINE_LIBS]) ++ AC_DEFINE(HAVE_LIBREADLINE, [1], ++ [Define if you have the readline library (-lreadline).]) + fi -done -if test "$have_libreadline" = "no"; then - AC_MSG_RESULT([none]) diff --git a/meta/recipes-kernel/systemtap/systemtap_5.4.bb b/meta/recipes-kernel/systemtap/systemtap_5.5.bb similarity index 100% rename from meta/recipes-kernel/systemtap/systemtap_5.4.bb rename to meta/recipes-kernel/systemtap/systemtap_5.5.bb diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc index a18381a56d..7845905d10 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.inc +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc @@ -5,11 +5,10 @@ SRC_URI = "git://sourceware.org/git/systemtap.git;protocol=https;branch=master;t file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \ file://0001-Install-python-modules-to-correct-library-dir.patch \ file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ - file://0001-elaborate.cxx-fix-32-bit-build.patch \ file://readline.patch \ " -SRCREV = "911a1354aac264651fda932061e7f20d2ecc2471" +SRCREV = "90b164cf106ef16f873ab58c8c6f653718bb6e17" COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64|riscv32).*-linux' COMPATIBLE_HOST:libc-musl = 'null' From patchwork Fri Jun 19 08:32:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90507 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7E8FCDB475 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38123.1781857996049228912 for ; Fri, 19 Jun 2026 01:33:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=PlHntSXc; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4903d730b1fso23587685e9.2 for ; Fri, 19 Jun 2026 01:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857994; x=1782462794; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FwNfROmjO/EW0EiyHDeTbvQSHan7b/U1GdWAvAk+pk8=; b=PlHntSXcepHniWDEbG2v78gywYmhe+JgfjzPgfz53VGA6nTrNA62cuSFRkwKtgiF8Y iXjV21cS7LWuGln5prsGfCHK/8x4z320Ag4S8X/py4MPZv1TKSh3zzn+qZFmec2grgeX UDN+SfRIpY1QvtDpyfTksHtCTURx2deEmwUtWAE40PiMEbZo2w/6tPbxNWBr5cqx3ZDR dbWjfwqKFgpY2tD0rF7MOKUzdjexbvv4l3ZnImyaaQ8Aq/+EWW8nnCiLS0BE6qV7JJ2J GARAN6P5W8jW/T+njGIA5aiCdPjXQ4GqNF8Zk0s+yizE+eYiWVWtdQwX1GU4Yk9nwF3w lAEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857994; x=1782462794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FwNfROmjO/EW0EiyHDeTbvQSHan7b/U1GdWAvAk+pk8=; b=ZzLnF2HIf0XfRifOGYslo8LWH9YqE9k3c4F85OhbDIk3k/2ItcTaaRqnIq07c4olXQ RrIo7pZSS71ZlFUEdzClWuuDcj0Auh6ZG6QAey418atKm6aDAJQVWwL7uIH2wCw0BnD0 uc75vG2bw6+yLdVEd5Jyt8PYN0XYjM7cUY8EOPln/yFYzTBlHbaxPF+uOSsK9KKwXTBK Y1++263Xywbj7ply9Scmkofw5a8nSM0JYJ9AfIWM21F0PYw3+EBuDQefwq5zgfM7VPiM 9s5PIFptxHJ904ezW5bivthPg/1rHnPEdyXSSPWYYGx5IpsMujJWpDToF43eSWyRSDCe Ycnw== X-Gm-Message-State: AOJu0YxEIGHN7jBb5zHMFGncAejfpV6UNAXMmVtNSgbUmBx3CJ2d3KkL OxSkAbDB+P7NJmGfe5G+6hYoSGijpZtCcwUP9VJ8F5WiFo7LKZTLCLzliFKUcvEh X-Gm-Gg: AfdE7cngE2pLNkz6QL/gE6jrU+lbWDRr8d0lGLkKliuQ+P0eRmHHp/n8w2hxmrIW6G4 GiCfrRsuEPv1q1D7R3ApcR6u0IMJRvc0Ocmu6hV25e5zurnI/xUXR0cGqkqINtk2FVFICLFqLpm MRn03Fo4RCP1P0iCURqEYhZn/OfVVFiLHkYi7GopbEg44epPKMnWP+3+oULY8MaolDjWKAEL5V5 yZHjCG4q3gOaA2M1IABL0EDGSql6hMhhaw5zDmiyYIddltNAwUCV/2cJbJFu/6ApAI//+P6AgH4 P8LeufaWQCp0s00oCfrFVZQsugcYcDOGOVdZq47hU2hl+lETS+Zx482RncEnxo5wLBiRiJkw35L ji2h2Zw5yLgIsMx6wCDpJVBC+DdtsuVzZCuwMifVayw9KV+vORG0aMCGSkO+2drqEIr0roruHc0 HLkgnywh+1McBJmu0kF0em34kDND6sKYtAR24eXbd3jw8qIyR0 X-Received: by 2002:a05:600c:8010:b0:490:bad9:de43 with SMTP id 5b1f17b1804b1-4923eeaca70mr51016745e9.0.1781857993718; Fri, 19 Jun 2026 01:33:13 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:13 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 07/15] inetutils: upgrade 2.7 -> 2.8 Date: Fri, 19 Jun 2026 10:32:49 +0200 Message-ID: <20260619083305.3505156-7-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239142 From: Alexander Kanavin All dropped patches are backports. Add warnings disabling as upstream does something custom that clashes with oe's flags: | cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] Signed-off-by: Alexander Kanavin --- .../inetutils/CVE-2026-24061-01.patch | 38 ----- .../inetutils/CVE-2026-24061-02.patch | 82 ----------- .../inetutils/inetutils/CVE-2026-28372.patch | 86 ----------- .../inetutils/inetutils/CVE-2026-32746.patch | 55 ------- .../inetutils/inetutils/CVE-2026-32772.patch | 138 ------------------ .../{inetutils_2.7.bb => inetutils_2.8.bb} | 8 +- 6 files changed, 2 insertions(+), 405 deletions(-) delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-01.patch delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-02.patch delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2026-28372.patch delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32746.patch delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32772.patch rename meta/recipes-connectivity/inetutils/{inetutils_2.7.bb => inetutils_2.8.bb} (96%) diff --git a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-01.patch b/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-01.patch deleted file mode 100644 index 9c05df22c7..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-01.patch +++ /dev/null @@ -1,38 +0,0 @@ -From fd702c02497b2f398e739e3119bed0b23dd7aa7b Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Tue, 20 Jan 2026 01:10:36 -0800 -Subject: [PATCH] Fix injection bug with bogus user names - -Problem reported by Kyu Neushwaistein. -* telnetd/utility.c (_var_short_name): -Ignore user names that start with '-' or contain shell metacharacters. - -Signed-off-by: Simon Josefsson - -CVE: CVE-2026-24061 -Upstream-Status: Backport [https://codeberg.org/inetutils/inetutils/commit/fd702c02497b2f398e739e3119bed0b23dd7aa7b] -Signed-off-by: Peter Marko ---- - telnetd/utility.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/telnetd/utility.c b/telnetd/utility.c -index b486226e..c02cd0e6 100644 ---- a/telnetd/utility.c -+++ b/telnetd/utility.c -@@ -1733,7 +1733,14 @@ _var_short_name (struct line_expander *exp) - return user_name ? xstrdup (user_name) : NULL; - - case 'U': -- return getenv ("USER") ? xstrdup (getenv ("USER")) : xstrdup (""); -+ { -+ /* Ignore user names starting with '-' or containing shell -+ metachars, as they can cause trouble. */ -+ char const *u = getenv ("USER"); -+ return xstrdup ((u && *u != '-' -+ && !u[strcspn (u, "\t\n !\"#$&'()*;<=>?[\\^`{|}~")]) -+ ? u : ""); -+ } - - default: - exp->state = EXP_STATE_ERROR; diff --git a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-02.patch b/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-02.patch deleted file mode 100644 index 62df504e60..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-24061-02.patch +++ /dev/null @@ -1,82 +0,0 @@ -From ccba9f748aa8d50a38d7748e2e60362edd6a32cc Mon Sep 17 00:00:00 2001 -From: Simon Josefsson -Date: Tue, 20 Jan 2026 14:02:39 +0100 -Subject: [PATCH] telnetd: Sanitize all variable expansions - -* telnetd/utility.c (sanitize): New function. -(_var_short_name): Use it for all variables. - -CVE: CVE-2026-24061 -Upstream-Status: Backport [https://codeberg.org/inetutils/inetutils/commit/ccba9f748aa8d50a38d7748e2e60362edd6a32cc] -Signed-off-by: Peter Marko ---- - telnetd/utility.c | 32 ++++++++++++++++++-------------- - 1 file changed, 18 insertions(+), 14 deletions(-) - -diff --git a/telnetd/utility.c b/telnetd/utility.c -index c02cd0e6..b21ad961 100644 ---- a/telnetd/utility.c -+++ b/telnetd/utility.c -@@ -1684,6 +1684,17 @@ static void _expand_cond (struct line_expander *exp); - static void _skip_block (struct line_expander *exp); - static void _expand_block (struct line_expander *exp); - -+static char * -+sanitize (const char *u) -+{ -+ /* Ignore values starting with '-' or containing shell metachars, as -+ they can cause trouble. */ -+ if (u && *u != '-' && !u[strcspn (u, "\t\n !\"#$&'()*;<=>?[\\^`{|}~")]) -+ return u; -+ else -+ return ""; -+} -+ - /* Expand a variable referenced by its short one-symbol name. - Input: exp->cp points to the variable name. - FIXME: not implemented */ -@@ -1710,13 +1721,13 @@ _var_short_name (struct line_expander *exp) - return xstrdup (timebuf); - - case 'h': -- return xstrdup (remote_hostname); -+ return xstrdup (sanitize (remote_hostname)); - - case 'l': -- return xstrdup (local_hostname); -+ return xstrdup (sanitize (local_hostname)); - - case 'L': -- return xstrdup (line); -+ return xstrdup (sanitize (line)); - - case 't': - q = strchr (line + 1, '/'); -@@ -1724,23 +1735,16 @@ _var_short_name (struct line_expander *exp) - q++; - else - q = line; -- return xstrdup (q); -+ return xstrdup (sanitize (q)); - - case 'T': -- return terminaltype ? xstrdup (terminaltype) : NULL; -+ return terminaltype ? xstrdup (sanitize (terminaltype)) : NULL; - - case 'u': -- return user_name ? xstrdup (user_name) : NULL; -+ return user_name ? xstrdup (sanitize (user_name)) : NULL; - - case 'U': -- { -- /* Ignore user names starting with '-' or containing shell -- metachars, as they can cause trouble. */ -- char const *u = getenv ("USER"); -- return xstrdup ((u && *u != '-' -- && !u[strcspn (u, "\t\n !\"#$&'()*;<=>?[\\^`{|}~")]) -- ? u : ""); -- } -+ return xstrdup (sanitize (getenv ("USER"))); - - default: - exp->state = EXP_STATE_ERROR; diff --git a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-28372.patch b/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-28372.patch deleted file mode 100644 index 79d390f473..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-28372.patch +++ /dev/null @@ -1,86 +0,0 @@ -From 4db2f19f4caac03c7f4da6363c140bd70df31386 Mon Sep 17 00:00:00 2001 -From: Erik Auerswald -Date: Sun, 15 Feb 2026 15:38:50 +0100 -Subject: [PATCH] telnetd: don't allow systemd service credentials - -The login(1) implementation of util-linux added support for -systemd service credentials in release 2.40. This allows to -bypass authentication by specifying a directory name in the -environment variable CREDENTIALS_DIRECTORY. If this directory -contains a file named 'login.noauth' with the content of 'yes', -login(1) skips authentication. - -GNU Inetutils telnetd supports to set arbitrary environment -variables using the 'Environment' and 'New Environment' -Telnet options. This allows specifying a directory containing -'login.noauth'. A local user can create such a directory -and file, and, e.g., specify the user name 'root' to escalate -privileges. - -This problem was reported by Ron Ben Yizhak in -. - -This commit clears CREDENTIALS_DIRECTORY from the environment -before executing login(1) to implement a simple fix that can -be backported easily. - -* NEWS.md: Mention fix. -* THANKS: Mention Ron Ben Yizhak. -* telnetd/pty.c: Clear CREDENTIALS_DIRECTORY from the environment -before executing 'login'. - -CVE: CVE-2026-28372 -Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=4db2f19f4caac03c7f4da6363c140bd70df31386] -Signed-off-by: Peter Marko ---- - NEWS | 5 +++++ - THANKS | 1 + - telnetd/pty.c | 8 ++++++++ - 3 files changed, 14 insertions(+) - -diff --git a/NEWS b/NEWS -index 877ca53b..f5172a71 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,5 +1,10 @@ - GNU inetutils NEWS -- history of user-visible changes. - -+** Prevent privilege escalation via telnetd abusing systemd service -+credentials support added to the login(1) implementation of util-linux -+in release 2.40. Reported by Ron Ben Yizhak in -+. -+ - # Noteworthy changes in release 2.7 (2025-12-14) [stable] - - ** Systems without asprintf are now supported through the use of gnulib. -diff --git a/THANKS b/THANKS -index 8d1d3dbb..ef5f6063 100644 ---- a/THANKS -+++ b/THANKS -@@ -9,6 +9,7 @@ In particular: - NIIBE Yutaka (Security fixes & making talk finally work) - Nathan Neulinger (tftpd) - Thomas Bushnell (sockaddr sin_len field) -+ Ron Ben Yizhak (reported privilege escalation via telnetd) - - Please see version control logs and ChangeLog.? for full credits. - -diff --git a/telnetd/pty.c b/telnetd/pty.c -index c727e7be..f3518049 100644 ---- a/telnetd/pty.c -+++ b/telnetd/pty.c -@@ -129,6 +129,14 @@ start_login (char *host, int autologin, char *name) - if (!cmd) - fatal (net, "can't expand login command line"); - argcv_get (cmd, "", &argc, &argv); -+ -+ /* util-linux's "login" introduced an authentication bypass method -+ * via environment variable "CREDENTIALS_DIRECTORY" in version 2.40. -+ * Clear it from the environment before executing "login" to prevent -+ * abuse via Telnet. -+ */ -+ unsetenv ("CREDENTIALS_DIRECTORY"); -+ - execv (argv[0], argv); - syslog (LOG_ERR, "%s: %m\n", cmd); - fatalperror (net, cmd); diff --git a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32746.patch b/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32746.patch deleted file mode 100644 index 63dd8b8c58..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32746.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 6864598a29b652a6b69a958f5cd1318aa2b258af Mon Sep 17 00:00:00 2001 -From: Collin Funk -Date: Wed, 11 Mar 2026 23:06:46 -0700 -Subject: [PATCH] telnetd: fix stack buffer overflow processing SLC suboption - triplets - -Previously a client could write past the end of an internal buffer using -an SLC suboption with many triplets using function octets greater than -18, possibly leading to remote code execution. Reported by Adiel Sol, -Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, Daniel Lubel at DREAM -Security Research Team at: -. - -* telnetd/slc.c (add_slc): Return early if writing the tuple would lead -us to writing past the end of the buffer. -* NEWS.md: Mention the fix. - -CVE: CVE-2026-32746 -Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=6864598a29b652a6b69a958f5cd1318aa2b258af] -Signed-off-by: Peter Marko ---- - NEWS | 6 ++++++ - telnetd/slc.c | 3 +++ - 2 files changed, 9 insertions(+) - -diff --git a/NEWS b/NEWS -index 5fe1e4c5..c03d22f4 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,5 +1,11 @@ - GNU inetutils NEWS -- history of user-visible changes. - -+** telnetd no longer allows clients to write past the end of a stack -+allocated buffer, possibly leading to remote code execution, using an -+SLC suboption with many triplets using function octets greater than 18. -+Reported by Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, Ben Grinberg, -+Daniel Lubel at DREAM Security Research Team. -+ - ** Prevent privilege escalation via telnetd abusing systemd service - credentials support added to the login(1) implementation of util-linux - in release 2.40. Reported by Ron Ben Yizhak in -diff --git a/telnetd/slc.c b/telnetd/slc.c -index f45e7725..2dfef22f 100644 ---- a/telnetd/slc.c -+++ b/telnetd/slc.c -@@ -162,6 +162,9 @@ get_slc_defaults (void) - void - add_slc (char func, char flag, cc_t val) - { -+ /* Do nothing if the entire triplet cannot fit in the buffer. */ -+ if (slcbuf + sizeof slcbuf - slcptr <= 6) -+ return; - - if ((*slcptr++ = (unsigned char) func) == 0xff) - *slcptr++ = 0xff; diff --git a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32772.patch b/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32772.patch deleted file mode 100644 index 232774195f..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/CVE-2026-32772.patch +++ /dev/null @@ -1,138 +0,0 @@ -From d6b8b83aa51616946fd314bc48087312d13c99f8 Mon Sep 17 00:00:00 2001 -From: Collin Funk -Date: Thu, 26 Mar 2026 22:52:54 -0700 -Subject: [PATCH] telnet: don't leak the value of unexported environment - variables - -Patch based on the following OpenBSD commit: - - -* NEWS.md: Mention the fix. -* telnet/commands.c (env_getvalue): Add a boolean argument to prevent -prevent unexported variables from being returned. -* telnet/externs.h (env_getvalue): Adjust the function declaration. -* telnet/authenc.c (telnet_getenv): Add the new argument. -* telnet/telnet.c (dooption, gettermname, suboption, env_opt_add) -(telnet): Likewise. - -CVE: CVE-2026-32772 -Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=d6b8b83aa51616946fd314bc48087312d13c99f8] -Signed-off-by: Peter Marko ---- - NEWS | 5 +++++ - telnet/authenc.c | 2 +- - telnet/commands.c | 6 ++---- - telnet/externs.h | 3 ++- - telnet/telnet.c | 10 +++++----- - 5 files changed, 15 insertions(+), 11 deletions(-) - -diff --git a/NEWS b/NEWS -index 08370442..6e259e02 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,5 +1,10 @@ - GNU inetutils NEWS -- history of user-visible changes. - -+** telnet no longer leaks the value of unexported environment variables -+to servers sending the NEW-ENVIRON SEND USERVAR command. -+Reported by Justin Swartz in -+. -+ - ** telnetd no longer allows clients to write past the end of a stack - allocated buffer, possibly leading to remote code execution, using an - SLC suboption with many triplets using function octets greater than 18. -diff --git a/telnet/authenc.c b/telnet/authenc.c -index 2706c9f8..f8daea9d 100644 ---- a/telnet/authenc.c -+++ b/telnet/authenc.c -@@ -93,7 +93,7 @@ telnet_spin (void) - char * - telnet_getenv (char *val) - { -- return ((char *) env_getvalue (val)); -+ return (char *) env_getvalue (val, false); - } - - char * -diff --git a/telnet/commands.c b/telnet/commands.c -index 4967559b..9d85df73 100644 ---- a/telnet/commands.c -+++ b/telnet/commands.c -@@ -2050,12 +2050,10 @@ env_default (int init, int welldefined) - } - - unsigned char * --env_getvalue (const char *var) -+env_getvalue (const char *var, bool exported_only) - { - struct env_lst *ep = env_find (var); -- if (ep) -- return (ep->value); -- return (NULL); -+ return ep && (! exported_only || ep->export) ? ep->value : NULL; - } - - #if defined OLD_ENVIRON && defined ENV_HACK -diff --git a/telnet/externs.h b/telnet/externs.h -index c1f5850e..0adc295a 100644 ---- a/telnet/externs.h -+++ b/telnet/externs.h -@@ -331,7 +331,8 @@ env_opt (unsigned char *, int), - env_opt_start (void), - env_opt_start_info (void), env_opt_add (unsigned char *), env_opt_end (int); - --extern unsigned char *env_default (int, int), *env_getvalue (const char *); -+extern unsigned char *env_default (int, int); -+extern unsigned char *env_getvalue (const char *, bool); - - int dosynch (const char *); - int get_status (const char *); -diff --git a/telnet/telnet.c b/telnet/telnet.c -index 6b0befc3..f83dfc18 100644 ---- a/telnet/telnet.c -+++ b/telnet/telnet.c -@@ -496,7 +496,7 @@ dooption (int option) - #endif - - case TELOPT_XDISPLOC: /* X Display location */ -- if (env_getvalue ("DISPLAY")) -+ if (env_getvalue ("DISPLAY", false)) - new_state_ok = 1; - break; - -@@ -793,7 +793,7 @@ gettermname (void) - resettermname = 0; - if (tnamep && tnamep != unknown) - free (tnamep); -- if ((tname = (char *) env_getvalue ("TERM")) && -+ if ((tname = (char *) env_getvalue ("TERM", false)) && - (init_term (tname, &err) == 0)) - { - tnamep = mklist (termbuf, tname); -@@ -992,7 +992,7 @@ suboption (void) - unsigned char temp[50], *dp; - int len; - -- if ((dp = env_getvalue ("DISPLAY")) == NULL) -+ if ((dp = env_getvalue ("DISPLAY", false)) == NULL) - { - /* - * Something happened, we no longer have a DISPLAY -@@ -1727,7 +1727,7 @@ env_opt_add (unsigned char *ep) - env_opt_add (ep); - return; - } -- vp = env_getvalue ((char *) ep); -+ vp = env_getvalue ((char *) ep, true); - if (opt_replyp + (vp ? strlen ((char *) vp) : 0) + - strlen ((char *) ep) + 6 > opt_replyend) - { -@@ -2484,7 +2484,7 @@ telnet (char *user) - send_will (TELOPT_LINEMODE, 1); - send_will (TELOPT_NEW_ENVIRON, 1); - send_do (TELOPT_STATUS, 1); -- if (env_getvalue ("DISPLAY")) -+ if (env_getvalue ("DISPLAY", false)) - send_will (TELOPT_XDISPLOC, 1); - if (eight) - tel_enter_binary (eight); diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.7.bb b/meta/recipes-connectivity/inetutils/inetutils_2.8.bb similarity index 96% rename from meta/recipes-connectivity/inetutils/inetutils_2.7.bb rename to meta/recipes-connectivity/inetutils/inetutils_2.8.bb index eb8b669e7c..b87c0ede43 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.7.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.8.bb @@ -11,18 +11,13 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" -SRC_URI[sha256sum] = "a156be1cde3c5c0ffefc262180d9369a60484087907aa554c62787d2f40ec086" +SRC_URI[sha256sum] = "57b3cf4f77555992881e5ba2a09a63b05aa2c56342a60ed4305b5f45938390b5" SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ file://rexec.xinetd.inetutils \ file://rlogin.xinetd.inetutils \ file://rsh.xinetd.inetutils \ file://telnet.xinetd.inetutils \ file://tftpd.xinetd.inetutils \ - file://CVE-2026-24061-01.patch \ - file://CVE-2026-24061-02.patch \ - file://CVE-2026-28372.patch \ - file://CVE-2026-32746.patch \ - file://CVE-2026-32772.patch \ " inherit autotools gettext update-alternatives texinfo @@ -44,6 +39,7 @@ EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \ --with-path-cp=${base_bindir}/cp \ --with-path-uucico=${libexecdir}/uuico \ --with-path-procnet-dev=/proc/net/dev \ + --enable-gcc-warnings=no \ " EXTRA_OECONF:append:libc-musl = " --with-path-utmpx=/dev/null/utmpx --with-path-wtmpx=/dev/null/wtmpx" From patchwork Fri Jun 19 08:32:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90504 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F48FCDB470 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38124.1781857996349403326 for ; Fri, 19 Jun 2026 01:33:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=ZbPVxvfL; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-490cdae130cso9620895e9.0 for ; Fri, 19 Jun 2026 01:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857994; x=1782462794; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H3F1ixIBA9AVFxxlazaolJRgG2o+V7vGoezrj9X9Hwk=; b=ZbPVxvfLrCK9F9nqCqqfCddUku7oTaiwVokIH7FeE1gWlEipR2GBFcq1wAMF6ROZhp Hc8cCkYVa09Cc5o5p6Lfz1M1kTd6cinzx03gILJES2ocToVUk16Dm2/HL5I8ApeimBSD M0KWzDwpDpGP9ex9AXR3fOqiPieZ3rGDy+j5VPnVpn+dNNQjREUtw7Gb27jys7xJZb0+ 2lrvoCCaFW4Dbn1pecKVjSnd7ImX4yh5zE67lbs1wfN24Vqa7PNb6CB5lLQF0sTL3f4I LKGD870TiowVH+AVFSV5TdXaIIl/bzgFw1+sY3bN5SualTOb2ZTU16AkLfflkDRMIHTS mvWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857994; x=1782462794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=H3F1ixIBA9AVFxxlazaolJRgG2o+V7vGoezrj9X9Hwk=; b=e4iiXsK1fqU7WdabwUZU0o5TDbknXEqB8V9AH7sKJ8DROv95q+tDX7GUIWSL05LmxS XUwx5PxRV+hpKA0sQkmocf7idf0Q0ZQu8bhuprVkGPGod+0J6MqfjJdvI1LD+//uYAl2 eJ45Xm4Hqnz/mOC/6q2olCjpCTetbKZXXzKzkerH75oTcdA7fDW1omqj8hkZCPm8aIr/ qRaL0rZbBFzuB7ZiTqRkPBLYNOlRgop/k0v1VfBp7UB7tlsOlHhcmIcJq7P3SlBMP1cd OTVRPkl1kreR/pY/8UGtKBF8y3SbOjzsst+iGf+T10yWfqALlkpn4JYlstJlNoaQJruZ jJZQ== X-Gm-Message-State: AOJu0YwYAJQ3FrjelSejgJbTaDhpaxaXMrIp6ttv9Xvv7d1DKJgVvLzb 9cKSq7cpkSUpy/1Ko2BgSmelsio77gqVg3rRvbM/MKcTVoLQBlLJUVahksXe66ZG X-Gm-Gg: AfdE7cmuKFZeu0woTRXIseAhhLT8AFIxW3YFgyVL3YJNmb2Qw/DPrU4jGriAi6lounC 0eL82muAsrpoSsG8pBygmQIXZ0bvRdl9dwuLqcg4nhJ+oFjhUXZWKVxO53IhsukblIxwZYorAIW nrVIKHKnLfRQX2imidwNTNPuvVgBJPx9fAuSlkrSYPVWn0kk1P+DNkrig6MV987FKXbldwPfPut yPjolDv5bxZVG8BSTFPUpHI0LDzY2poLaRv2BgJ32cNjJCnL37k6XlCmktPt+/HemGnzfVFtfVJ JY8egxWFNoZwrXAClAVNAs+JjxgzXvKz1SeUkpBgaxYSCCvwKW1b9Ic3iuy8ZsrHRy+bXiEg6th NjdFVyY3RrmisCMChTdbhaLbYKW4Ru4CRPqaM53xGEalJiVkgoH3sbnyK7hQ+faWL4IngrvkuZR wuwW93WCr/8ngQ1CyDd4PgYz4XLgGtgmNypWi2XnTNM/Mm8Rrc X-Received: by 2002:a05:600c:5494:b0:485:9a50:3370 with SMTP id 5b1f17b1804b1-4923ef53be4mr47697025e9.8.1781857994445; Fri, 19 Jun 2026 01:33:14 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:14 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 08/15] debugedit: upgrade 5.2 -> 5.3 Date: Fri, 19 Jun 2026 10:32:50 +0200 Message-ID: <20260619083305.3505156-8-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239143 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- .../{debugedit_5.2.bb => debugedit_5.3.bb} | 3 +- ...not-check-for-executables-needed-onl.patch | 63 +++++++++++++++++++ ...003-Makefile.am-do-not-update-manual.patch | 22 ++++--- 3 files changed, 80 insertions(+), 8 deletions(-) rename meta/recipes-devtools/debugedit/{debugedit_5.2.bb => debugedit_5.3.bb} (86%) create mode 100644 meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch diff --git a/meta/recipes-devtools/debugedit/debugedit_5.2.bb b/meta/recipes-devtools/debugedit/debugedit_5.3.bb similarity index 86% rename from meta/recipes-devtools/debugedit/debugedit_5.2.bb rename to meta/recipes-devtools/debugedit/debugedit_5.3.bb index 76c54ba63d..7732dde52a 100644 --- a/meta/recipes-devtools/debugedit/debugedit_5.2.bb +++ b/meta/recipes-devtools/debugedit/debugedit_5.3.bb @@ -11,9 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz \ file://0003-Makefile.am-do-not-update-manual.patch \ + file://0001-configure.ac-do-not-check-for-executables-needed-onl.patch \ " -SRC_URI[sha256sum] = "705296803cc4403f38764e891b4ed38f8d8d4f8a9164bd4f86c9d4bedcac68dd" +SRC_URI[sha256sum] = "3b8c6396fe235e0270c9b9c0d244cfd0e86c284fc27e820acc58360e7cfa08c2" DEPENDS = "elfutils xxhash" DEPENDS:append:libc-musl = " musl-legacy-error" diff --git a/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch b/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch new file mode 100644 index 0000000000..a241972efa --- /dev/null +++ b/meta/recipes-devtools/debugedit/files/0001-configure.ac-do-not-check-for-executables-needed-onl.patch @@ -0,0 +1,63 @@ +From bb64eddf41794ca5fd85dc3fecd29246d4d9ad23 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Wed, 17 Jun 2026 18:59:57 +0200 +Subject: [PATCH] configure.ac: do not check for executables needed only in + tests + +Otherwise this would require depending on various native pieces +needlessly. + +This is effectively a revert of https://sourceware.org/cgit/debugedit/commit/?id=83963a11a07035445d93be9cf1feaf2d8865f052 + +Upstream-Status: Inappropriate [undoes what is clearly upstream preference] + +Signed-off-by: Alexander Kanavin +--- + configure.ac | 27 +-------------------------- + 1 file changed, 1 insertion(+), 26 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4868844..8d74463 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -51,31 +51,6 @@ AC_CHECK_TOOL([NM], [nm]) + AC_CHECK_TOOL([AR], [ar]) + AM_MISSING_PROG(HELP2MAN, help2man) + +-AC_CHECK_PROG([HAS_CPIO], [cpio], [yes], [no]) +-if test x$HAS_CPIO = xno; then +- AC_MSG_ERROR([cpio needed by find-debuginfo]) +-fi +- +-AC_CHECK_PROG([HAS_EU_STRIP], [eu-strip], [yes], [no]) +-if test x$HAS_EU_STRIP = xno; then +- AC_MSG_ERROR([eu-strip needed by find-debuginfo (strip_to_debug)]) +-fi +- +-AC_CHECK_PROG([HAS_XZ], [xz], [yes], [no]) +-if test x$HAS_XZ = xno; then +- AC_MSG_ERROR([xz needed by find-debuginfo (add_minidebug)]) +-fi +- +-AC_CHECK_PROG([HAS_GDB_ADD_INDEX], [gdb-add-index], [yes], [no]) +-if test x$HAS_GDB_ADD_INDEX = xno; then +- AC_MSG_ERROR([gdb-add-index needed by find-debuginfo]) +-fi +- +-AC_CHECK_PROG([HAS_EU_ELFLINT], [eu-elflint], [yes], [no]) +-if test x$HAS_HAS_EU_ELFLINT = xno; then +- AC_MSG_ERROR([eu-elflint needed by find-debuginfo (--check-elf)]) +-fi +- + # Whether dwz support -j. + # Make sure to compile something with -g. + # Run dwz on it with -j1. +@@ -93,7 +68,7 @@ if test "x$DWZ" = "xdwz"; then + fi + CFLAGS="$save_CFLAGS" + else +- AC_MSG_ERROR([dwz needed by find-debuginfo]) ++ AC_MSG_WARN([dwz needed by find-debuginfo]) + fi + AC_SUBST([DWZ_J]) + diff --git a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch index d0414f739a..50be95696d 100644 --- a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch +++ b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch @@ -1,4 +1,4 @@ -From b2715c3f4d28fab1c238086d9b5435e269b06301 Mon Sep 17 00:00:00 2001 +From f9e6f9cadedc94323e8878e60aaa684be7c52d97 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 23 Mar 2023 13:09:23 +0800 Subject: [PATCH] Makefile.am: do not update manual @@ -16,16 +16,16 @@ Upstream-Status: Inappropriate [OE Specific] Signed-off-by: Chen Qi --- - Makefile.am | 30 ------------------------------ - 1 file changed, 30 deletions(-) + Makefile.am | 38 -------------------------------------- + 1 file changed, 38 deletions(-) diff --git a/Makefile.am b/Makefile.am -index c590edf..692e016 100644 +index d3068d5..f218a05 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@ - # Manual pages are generated for dist - dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1 +@@ -60,44 +60,6 @@ debugedit_classify_ar_LDADD = @LIBELF_LIBS@ + dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1 \ + debugedit-classify-ar.1 -# The 'case' ensures the man pages are only generated if the corresponding -# source script (the first prerequisite) or configure.ac (for the version) @@ -49,6 +49,14 @@ index c590edf..692e016 100644 - * ) : ;; \ - esac - +-debugedit-classify-ar.1: tools/debugedit-classify-ar.c configure.ac debugedit-classify-ar$(EXEEXT) +- @case '$?' in \ +- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \ +- --name='Checks whether ELF archive members should be processed' \ +- ./debugedit-classify-ar$(EXEEXT) ;;\ +- * ) : ;; \ +- esac +- -find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo.in configure.ac find-debuginfo - @case '$?' in \ - *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \ From patchwork Fri Jun 19 08:32:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90500 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA6C6CDB46D for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38259.1781857997830918132 for ; Fri, 19 Jun 2026 01:33:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=STa3g2L+; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-45ef6565cfdso913133f8f.0 for ; Fri, 19 Jun 2026 01:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857996; x=1782462796; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3GsQbsIB0BXMZ4oT8TQKQK3gcly8bAkBIPXej8QDBfA=; b=STa3g2L+LcVjeUDt6LXuZa2hxPkS5L1+6907P9/2MAN58FddPnkVqAUx8SKg4kapc6 vFthp7uA5LZPg51Obv8oAMpdwfDpvr/QT40FBElVapcWQrbDeRVBs71CjQH4yys5aFFe e1OTrovAPQGG0hB068gaM7f4Y6iSDjL9EhbDJ0bEc8IIKs/y2sVO3yW8Dg+jGD6I+GLq NKuYUCLPc9mwbEfif+mzuRk9F50oDFavOoou8Pdt4f+PPKuCXzCsUhaNGtSCZhnpQbSz 0pFadjCU6s006Gi8U7rb4pW1Npa34TL8kNdk/pNM6KFhhR6cba8kQ+Y5V4kYjpJiov1W 8Zcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857996; x=1782462796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3GsQbsIB0BXMZ4oT8TQKQK3gcly8bAkBIPXej8QDBfA=; b=KUIR8nFi78dfD4ceGibulQjjcN40TlSodCAzPRx5WFM+QgLPVFLUR7cQrkDcgOvIPA tE1t07inBGNB/jiGEX46AVFiPPGA3NGa0xg55X7dEdO0eu29F6SvbiblMyrRRfzEZJHH S+yC8nMt6uefM11RLulAorqfqpM+MKerDVTJS5gsqffAMDkekrehJ88Dk5cTBCdaY3vN DSDHiOlyOjhbX2+FO3I21Tb2aiLJXs/bZ6SGx1pLi3Nko9bbHHniTI325in5/Kb8glZB An4pH3VCWWdJO0GDCkf/NxShPnNTnE1Xj2hzp9pMHziz9NdTv7X0T+E5F/PF1svvqSXs Mlsg== X-Gm-Message-State: AOJu0Yyi0Yhf0QrYxfUMpEkMi0JzyldUfm/fOFKKgp6fjys4NTUbEN2b uGeL7qO8FzncNaGNcxPfqWfVNW399noq0/dTwX7T4HA83FZzyUQcPhI+KaVsICKu X-Gm-Gg: AfdE7cno5M3CmNYfMOeItdoEoY6TayKK1+5+2w8OKtDW1FlDOJd0l3CwZtsi9O+Srj1 5mcrNQf5wByt71XczljYIbImE+4FY8a6Y56P3DN/IhgPI1cSIlODYphUpaamFERkBEsQP8jXwbT tra/dCqTGhmmLvhXPAQSrcmwjOL/MTw4Vkcv5iuLgcoMC2AphAVPBHZUGm6skR+viXtibWtHTa2 RmNx+SAjjThVbkqR7OZbFRqHngl4ZqJWvu8uCMEFyd+Mx8NNN1f+z1CnuIZvFCcamnaetMR1Zp3 Wf9K4KPVPubGw1aN0gtJjBXkh7aHC/YPnnYbVMp4JWhOLy3iBoGT6m9Tmc/36YqAuml2tPlFKyI C8vp/YS/gBJ+xi0gW9Ov9y15SRvWLr5N68HO1hhJdwYsWAsbv/2DmTspCiV/NRViaWf7nxKJhpm 7drsjLDOrLc0uDS61b9R6LV1C/LsTxBu69Z4y/nQ458rA0Bdvr X-Received: by 2002:a05:600c:b90:b0:490:ec79:3077 with SMTP id 5b1f17b1804b1-4923f436f0dmr58197565e9.16.1781857995736; Fri, 19 Jun 2026 01:33:15 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:14 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 09/15] elfutils: upgrade 0.194 -> 0.195 Date: Fri, 19 Jun 2026 10:32:51 +0200 Message-ID: <20260619083305.3505156-9-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239144 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- .../{elfutils_0.194.bb => elfutils_0.195.bb} | 3 +- ...001-config-eu.am-do-not-force-Werror.patch | 12 ++-- ...u-objects-to-libelf.a-static-archive.patch | 6 +- ...-check-data_list.data.d.d_buf-before.patch | 6 +- ...-skip-the-test-when-gcc-not-deployed.patch | 2 +- ...m-compile-test_nlist-with-standard-C.patch | 6 +- ...cvt_gunhash-if-dest-and-src-are-same.patch | 8 +-- .../elfutils/files/0003-fixheadercheck.patch | 6 +- .../elfutils/files/0003-musl-utils.patch | 6 +- ...h64-Recognize-SHT_AARCH64_ATTRIBUTES.patch | 60 ------------------- .../elfutils/files/ptest.patch | 14 ++--- 11 files changed, 34 insertions(+), 95 deletions(-) rename meta/recipes-devtools/elfutils/{elfutils_0.194.bb => elfutils_0.195.bb} (98%) delete mode 100644 meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch diff --git a/meta/recipes-devtools/elfutils/elfutils_0.194.bb b/meta/recipes-devtools/elfutils/elfutils_0.195.bb similarity index 98% rename from meta/recipes-devtools/elfutils/elfutils_0.194.bb rename to meta/recipes-devtools/elfutils/elfutils_0.195.bb index 2173a94401..bfc648d69f 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.194.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.195.bb @@ -20,12 +20,11 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ file://0001-config-eu.am-do-not-force-Werror.patch \ file://0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch \ - file://0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch \ " SRC_URI:append:libc-musl = " \ file://0003-musl-utils.patch \ " -SRC_URI[sha256sum] = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e" +SRC_URI[sha256sum] = "37629fdf7f1f3dc2818e138fca2b8094177d6c2d0f701d3bb650a561218dc026" inherit autotools gettext ptest pkgconfig 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 d4e141927f..0149c64602 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 e169c3fc734be1783b3e1a4768dbec05fb64cb4f Mon Sep 17 00:00:00 2001 +From 5a82f181583e02e19ed739a195801032532474bf Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 22 Nov 2024 12:50:48 +0100 Subject: [PATCH] config/eu.am: do not force -Werror @@ -13,18 +13,18 @@ Signed-off-by: Alexander Kanavin 1 file changed, 2 deletions(-) diff --git a/config/eu.am b/config/eu.am -index 0b7dab5..5e7a03f 100644 +index 321591f..a1748a8 100644 --- a/config/eu.am +++ b/config/eu.am -@@ -99,7 +99,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ - $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ +@@ -135,7 +135,6 @@ AM_CFLAGS = -Wall -Wshadow -Wformat=2 \ $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ - $(USE_AFTER_FREE3_WARNING) \ + $(USE_AFTER_FREE3_WARNING) $(MISSING_PARAMETER_NAME_WARNING) \ + $(DEPRECATED_NON_PROTOTYPE_WARNING) $(FREE_LABELS_WARNING) \ - $(if $($(*F)_no_Werror),,-Werror) \ $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \ -@@ -109,7 +108,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \ +@@ -145,7 +144,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \ $(TRAMPOLINES_WARNING) \ $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch index 81c5255447..c2571c27f9 100644 --- a/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch +++ b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch @@ -1,4 +1,4 @@ -From f5d6e088f84dd05278c4698a21cbf1ff4569978d Mon Sep 17 00:00:00 2001 +From ad94a59ebcc32f71853716aff650997076d112df Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 22 Oct 2024 15:03:42 +0200 Subject: [PATCH] libelf: Add libeu objects to libelf.a static archive @@ -20,10 +20,10 @@ Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h 1 file changed, 3 insertions(+) diff --git a/libelf/Makefile.am b/libelf/Makefile.am -index 05484c1..72f1e22 100644 +index cc539c8..156a486 100644 --- a/libelf/Makefile.am +++ b/libelf/Makefile.am -@@ -125,6 +125,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS) +@@ -126,6 +126,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS) libeu_objects = $(shell cat ../lib/libeu.manifest) libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects)) 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 1ee50588dc..297cf19ccb 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 c4a26ff38182b289a1076bbef263e808b5e3aa97 Mon Sep 17 00:00:00 2001 +From 6b339ad9f9084b653b0d0c3823c871a7a9774b63 Mon Sep 17 00:00:00 2001 From: Robert Yang 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 @@ -19,10 +19,10 @@ Signed-off-by: Robert Yang 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libelf/elf_end.c b/libelf/elf_end.c -index da8f3a2..8557658 100644 +index 9df2e16..339d7ed 100644 --- a/libelf/elf_end.c +++ b/libelf/elf_end.c -@@ -170,14 +170,16 @@ elf_end (Elf *elf) +@@ -176,14 +176,16 @@ elf_end (Elf *elf) architecture doesn't require overly stringent alignment the raw data buffer is the same as the one used for presenting to the caller. */ 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 2fc526372d..7a9e1fbcdd 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 d59d6fd13e4a7fe3fdca2a4ce1cd2def36356bb4 Mon Sep 17 00:00:00 2001 +From 168f8b6e37a762a6263c279d95fee9346e1f44ca Mon Sep 17 00:00:00 2001 From: Mingli Yu 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 f3790a6d25..455704b065 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 34ae914b362c84ff0a96b8936beedb44a2e3f451 Mon Sep 17 00:00:00 2001 +From 7355ed2e9d0e1f38ab87f115011ab498388b4a41 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 23 Jun 2020 07:49:35 +0000 Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS @@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am -index eed9bd4..5dd6e05 100644 +index 946c7d2e..32590f6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -104,7 +104,7 @@ endif +@@ -118,7 +118,7 @@ endif test-nlist$(EXEEXT): test-nlist.c $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) \ 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 bf177cce4a..b02f8e4c08 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 bd78783254a7126d82eab26a2069b3a457b98e2e Mon Sep 17 00:00:00 2001 +From ad1bf27f823db8a48e1e64ecce2e6998e990dc41 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 15 Aug 2017 17:13:59 +0800 Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same. @@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libelf/gnuhash_xlate.h b/libelf/gnuhash_xlate.h -index 3a00ae0..40468fc 100644 +index cf9d4b5..f518ce2 100644 --- a/libelf/gnuhash_xlate.h +++ b/libelf/gnuhash_xlate.h -@@ -42,6 +42,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) +@@ -41,6 +41,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) words. We must detangle them here. */ Elf32_Word *dest32 = dest; const Elf32_Word *src32 = src; @@ -28,7 +28,7 @@ index 3a00ae0..40468fc 100644 /* First four control words, 32 bits. */ for (unsigned int cnt = 0; cnt < 4; ++cnt) -@@ -52,7 +53,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) +@@ -51,7 +52,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) len -= 4; } diff --git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch index a539396fd8..fd0efe595d 100644 --- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch +++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch @@ -1,4 +1,4 @@ -From da61b483072b7b0bfac1f034ad03972f5104a410 Mon Sep 17 00:00:00 2001 +From 7b48ae456de3e2f2a94f91c800b238788d5fd277 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 15 Aug 2017 17:17:20 +0800 Subject: [PATCH] fixheadercheck @@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libelf/elf32_updatenull.c b/libelf/elf32_updatenull.c -index 3594e8b..a3314e5 100644 +index 57239ee..3a640bd 100644 --- a/libelf/elf32_updatenull.c +++ b/libelf/elf32_updatenull.c -@@ -355,8 +355,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) +@@ -360,8 +360,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) we test for the alignment of the section being large enough for the largest alignment required by a data block. */ diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch index d8961f6293..21073716a0 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 b1c956cd739f364c4a80381578ddaba43e36903b Mon Sep 17 00:00:00 2001 +From efa2836719b669c3200a615898627f6b6a4dd570 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Fri, 23 Aug 2019 10:19:48 +0800 Subject: [PATCH] musl-utils @@ -56,7 +56,7 @@ index f771b92..263de62 100644 ARGP_PROGRAM_VERSION_HOOK_DEF = print_version; diff --git a/src/strip.c b/src/strip.c -index 403e0f6..738e948 100644 +index 20cc8a2..2ce52e8 100644 --- a/src/strip.c +++ b/src/strip.c @@ -45,6 +45,13 @@ @@ -74,7 +74,7 @@ index 403e0f6..738e948 100644 /* Name and version of program. */ diff --git a/src/unstrip.c b/src/unstrip.c -index d70053d..b8a6ff3 100644 +index 5585b0e..adc39a3 100644 --- a/src/unstrip.c +++ b/src/unstrip.c @@ -51,6 +51,15 @@ diff --git a/meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch b/meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch deleted file mode 100644 index 34c96a7942..0000000000 --- a/meta/recipes-devtools/elfutils/files/0004-aarch64-Recognize-SHT_AARCH64_ATTRIBUTES.patch +++ /dev/null @@ -1,60 +0,0 @@ -From: Mark Wielaard -To: elfutils-devel@sourceware.org -Cc: Mark Wielaard -Subject: [PATCH] aarch64: Recognize SHT_AARCH64_ATTRIBUTES -Date: Tue, 24 Feb 2026 22:32:26 +0100 [thread overview] -Message-ID: <20260224213226.3212482-1-mark@klomp.org> (raw) - -Recognize SHT_AARCH64_ATTRIBUTES. This is enough to stop elflint -complaining about unknown section types. But doesn't implement parsing -the attributes. - - * backends/aarch64_symbol.c (aarch64_section_type_name): - New function. - * backends/aarch64_init.c (aarch64_init): Hook - section_type_name. - -Upstream-Status: Submitted [https://inbox.sourceware.org/elfutils-devel/20260224213226.3212482-1-mark@klomp.org/] - -Signed-off-by: Hemanth Kumar M D - -diff --git a/backends/aarch64_init.c b/backends/aarch64_init.c -index bed929548dcd..c61767d56636 100644 ---- a/backends/aarch64_init.c -+++ b/backends/aarch64_init.c -@@ -54,6 +54,7 @@ aarch64_init (Elf *elf __attribute__ ((unused)), - HOOK (eh, dynamic_tag_check); - HOOK (eh, data_marker_symbol); - HOOK (eh, abi_cfi); -+ HOOK (eh, section_type_name); - - /* X0-X30 (31 regs) + SP + 1 Reserved + ELR, 30 Reserved regs (34-43) - + V0-V31 (32 regs, least significant 64 bits only) -diff --git a/backends/aarch64_symbol.c b/backends/aarch64_symbol.c -index 15e0805b7604..af9322fda561 100644 ---- a/backends/aarch64_symbol.c -+++ b/backends/aarch64_symbol.c -@@ -134,3 +134,21 @@ aarch64_dynamic_tag_check (int64_t tag) - || tag == DT_AARCH64_PAC_PLT - || tag == DT_AARCH64_VARIANT_PCS); - } -+ -+/* Return symbolic representation of section type. */ -+const char * -+aarch64_section_type_name (int type, -+ char *buf __attribute__ ((unused)), -+ size_t len __attribute__ ((unused))) -+{ -+ switch (type) -+ { -+#ifndef SHT_AARCH64_ATTRIBUTES -+#define SHT_AARCH64_ATTRIBUTES 0x70000003 -+#endif -+ case SHT_AARCH64_ATTRIBUTES: -+ return "AARCH64_ATTRIBUTES"; -+ } -+ -+ return NULL; -+} --- -2.52.0 diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch index 6b83fa4662..ebf1d3f4c2 100644 --- a/meta/recipes-devtools/elfutils/files/ptest.patch +++ b/meta/recipes-devtools/elfutils/files/ptest.patch @@ -1,4 +1,4 @@ -From 74dad3295f2b8dc06b7e6bb876bc4541e927ef47 Mon Sep 17 00:00:00 2001 +From eeafa586990429f440eb2dbd9b4231edff6ae904 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 1 May 2019 16:37:48 +0100 Subject: [PATCH] Changes to allow ptest to run standalone on target: @@ -21,10 +21,10 @@ Upstream-Status: Inappropriate [oe specific] 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac -index 0670e01..14f3e36 100644 +index 80c7fd8..3e31485 100644 --- a/configure.ac +++ b/configure.ac -@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2025 The elfutils developers.]) +@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2026 The elfutils developers.]) AC_PREREQ(2.69) dnl Minimum Autoconf version required. dnl We use GNU make extensions; automake 1.10 defaults to -Wportability. @@ -34,20 +34,20 @@ index 0670e01..14f3e36 100644 AM_SILENT_RULES([yes]) diff --git a/tests/Makefile.am b/tests/Makefile.am -index 00ba754..6be7dd6 100644 +index 9a00541..946c7d2e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -937,3 +937,5 @@ check: check-am coverage +@@ -943,3 +943,5 @@ check: check-am coverage coverage: -$(srcdir)/coverage.sh endif +oecheck: + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) diff --git a/tests/test-subr.sh b/tests/test-subr.sh -index ea80cbe..7632d20 100644 +index 623b5b7..5bac66c 100644 --- a/tests/test-subr.sh +++ b/tests/test-subr.sh -@@ -92,12 +92,6 @@ installed_testrun() +@@ -95,12 +95,6 @@ installed_testrun() program="$1" shift case "$program" in From patchwork Fri Jun 19 08:32:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DA99CDB471 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38125.1781857998222294118 for ; Fri, 19 Jun 2026 01:33:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=GuArcBQR; spf=pass (domain: gmail.com, ip: 209.85.221.51, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-4627adcf4d6so1206909f8f.3 for ; Fri, 19 Jun 2026 01:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857996; x=1782462796; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wo0EJ+mCf+acB9p/SHKmJwiM1W2NxYFJ7466AxwCTVk=; b=GuArcBQR+XBZyBwIJESeLwstZ3G4Sn2zLGJqZMMo+b7DLVz1PzJg9p2snsjBtKiTcv 2kpihAxFHZpmPTUZ/cDJU56yrqgfvHQ+E1mdWHu72dQVB/M7d2zlvCz9rrHK/azTCdCD YEIpH3nKipRenduPc6XrmF3F/eaLc5xde8VChGjI7ECuZApCkLxHq1Tg2LYQPD3XCzhK eiKDn5cmHCNAbSzkMwFp0enW8pEA7kT668pOfjw0THJSNBWsuR2QkYaRSmCLuwW+96b1 D8+50zh3WaVXaqoKIZoxsqxIeTHaHHIQgIdU3VUCRXISycnqV/lR8mtTgenp9j958qLM DAbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857996; x=1782462796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Wo0EJ+mCf+acB9p/SHKmJwiM1W2NxYFJ7466AxwCTVk=; b=X8Fwc6k4Fj47JgaWJ/Vr3zp5EgosGeGQvGACG0Wo7gAZOZSqFmVxH4ySul+Ow68qPj W1DraZSFEeZmInPUt1DeggDyGFShlP5D9GpkDbFsAWGO84NnvtBMzYqKnUGdDMgsfNCf KKPI2fHie4FWu6zFKOlWY8jIdZSWG9PgHsBSQLvsdKKH6rve7URRi6epkZ7ElrVy5jwX sQ479RUK5HG/0X/Q1GtmteSa5nF1c0W0ac1Y4NnBYKFEjCXHEhPpoFzc+TScwA42fjs3 Z+wLiiaL7KwI8S8Cxg41yb8IIwTK+CqAd5nysSFlrJqraU7q32t4lVvH8dfbbGWbiTqE mBww== X-Gm-Message-State: AOJu0YwDr3H0xD6dxTkvwMLh7RoM/6V1kjKtQZ3PUboeUMaNwcmsc81j YQfRMt9iJcsIxPUyjSu2bOONsER5jVbGNgnuwK9vGQ2U9X7/1FjWvpiZ2tajRIkY X-Gm-Gg: AfdE7cmQ5gDJXLbai5VYAXx8XRA0YEp59dioz1xeV8cKA4oaK2v1iS4J1orJfJivDqj 6KTIQLjganMLcoAxE459kPAuSS3bZbW0k/CmWGlXbphMMtWmJnV+b+HizGc8bqZL9s17OGUhl46 wSgoh5XFEUzQeQH9+HpYAPGM37g4ZiKZHUBg3iGodNH4fNq7siwBhj/DeMfaxsou3Ol7vi/wHdS vXBNG3CzHYqu/FjV2ddPMw/CphKx+Infy4UGNTYgQKgA4rnQyAV0c7DLgjS9bN4dnd97X0DwbDQ veGGSfwwN7pjRSHFgfbQSRCQNvuLg7m3JHLHSjux7YJR1LnfZDbL7UpWjCclh6I7vmzLrcK6J/u XDSwlz3BGE7Poq4zT7zvdoB5eZP4fZXNPg5+DV/S7xz4tHNhx3rGllluT0C3K0EvaQprMBlZ3n4 RpZDAjfAJLLPSj9XZPiDgktLt8uXaN463HeoVCSz6KgLlz2hq2 X-Received: by 2002:a5d:6f09:0:b0:465:fa66:be57 with SMTP id ffacd0b85a97d-465fa66bedcmr7206f8f.30.1781857996377; Fri, 19 Jun 2026 01:33:16 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:16 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 10/15] libsolv: upgrade 0.7.37 -> 0.7.39 Date: Fri, 19 Jun 2026 10:32:52 +0200 Message-ID: <20260619083305.3505156-10-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239145 From: Alexander Kanavin Drop a patch as upstream solved the issue separately by moving the data to the heap. Signed-off-by: Alexander Kanavin --- ...0001-compress_buf-fix-musl-segfaults.patch | 41 ------------------- .../{libsolv_0.7.37.bb => libsolv_0.7.39.bb} | 3 +- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch rename meta/recipes-extended/libsolv/{libsolv_0.7.37.bb => libsolv_0.7.39.bb} (92%) diff --git a/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch b/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch deleted file mode 100644 index c2734eb676..0000000000 --- a/meta/recipes-extended/libsolv/libsolv/0001-compress_buf-fix-musl-segfaults.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 847fb663583fd01121313d1ec0e9ceab240c9143 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Thu, 26 Mar 2026 12:11:42 +0100 -Subject: [PATCH] compress_buf: fix musl segfaults - -By default, musl has a stack size of 128K, while the compress_buf -method uses 256KB of stack space! - -The easiest course of action is to add `static thread_local` -to htab and hnext. - -Upstream-Status: Submitted [https://github.com/openSUSE/libsolv/pull/612] - -Signed-off-by: Adam Duskett ---- - src/repopage.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/repopage.c b/src/repopage.c -index 77c7fcc7..470e4f34 100644 ---- a/src/repopage.c -+++ b/src/repopage.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #ifdef _WIN32 - #include -@@ -100,8 +101,8 @@ compress_buf(const unsigned char *in, unsigned int in_len, - unsigned int oo = 0; /* out-offset */ - unsigned int io = 0; /* in-offset */ - #define HS (65536) -- Ref htab[HS]; -- Ref hnext[BLOCK_SIZE]; -+ static thread_local Ref htab[HS]; -+ static thread_local Ref hnext[BLOCK_SIZE]; - unsigned int litofs = 0; - memset(htab, -1, sizeof (htab)); - memset(hnext, -1, sizeof (hnext)); diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.37.bb b/meta/recipes-extended/libsolv/libsolv_0.7.39.bb similarity index 92% rename from meta/recipes-extended/libsolv/libsolv_0.7.37.bb rename to meta/recipes-extended/libsolv/libsolv_0.7.39.bb index 1a95d1d11d..48fa03eb70 100644 --- a/meta/recipes-extended/libsolv/libsolv_0.7.37.bb +++ b/meta/recipes-extended/libsolv/libsolv_0.7.39.bb @@ -9,11 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" DEPENDS = "expat zlib zstd" SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https;tag=${PV} \ - file://0001-compress_buf-fix-musl-segfaults.patch \ file://run-ptest \ " -SRCREV = "806c0513cd0799a37802f483710cfbdcc6d16b5f" +SRCREV = "2f58c6f86edd978d6bdbd87dce9c85388e9b9dcc" UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" From patchwork Fri Jun 19 08:32:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90498 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEFAACDB46F for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38260.1781857998932136597 for ; Fri, 19 Jun 2026 01:33:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=JWhGyUWF; spf=pass (domain: gmail.com, ip: 209.85.128.42, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-490a76757e5so11590865e9.2 for ; Fri, 19 Jun 2026 01:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857997; x=1782462797; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/I+CjyDKY1lX3/Ba99n21x0cucTjg6MpM5AH8LqMfQg=; b=JWhGyUWFUnHbOzXghOQLHapQQV4nHNK82wXsiV9yq5fQ1yBRV/yLtkoSnqYxsEob8r 7NgFypr/s8rC54G6Fo32aSvrO1EPQxrCUoFy5V/dCU+Z4aNMotpNYSLJJ7/JukJWx4hV 1USNJ5u5Dvwtf1tjT2wua92MOqoFWMJS8vGPUTEM+QogZycPdAQfIYIj4oPSmVke4AU7 dSebwk2/D9nuR1uE0jqdER8to0x8K34/V8CnS2S5do6p+63lj0z9tbrsOX0oVF3ncDJ7 Ac0dEGwltxSankuBN8a34SfBxUv60nom3NDuefea1xQKh6DMmRSIkOjPZeu32OwDIRyV /sKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857997; x=1782462797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/I+CjyDKY1lX3/Ba99n21x0cucTjg6MpM5AH8LqMfQg=; b=HdSKdLwMFs0OW/i7UPB13a3Fgkqij/c6NiHcpAhdbqQ+Y2ixc2McQon/Jlt4+DuuaE mEwtsOjju9Ddhs3ZxTjTVROGsRMUmSdmrLW6KyvmSx38jJ4k+1zczZ/Vm5F9xSBvEVJB 9AYVxw1Qoo8e0f+e0m+pxchLfsPmpwxNzKCcOtqRahqGRt+39xLyGHnr4nCgHzIokJ4g tdL4W2kKw9hvPQuH3KZazhvuKTHE6zJF4JcZXD8w1qjWFXkLcmv8NBa2oTiYvxEKuiFF RY+FMD3Z1nC93NJr3O1Hv8z/GnVl/ew+rlBFLEBxE4sEGDi6m1zVYUTx/XF6ltRAGkyP OGaA== X-Gm-Message-State: AOJu0YzCuQOTjR7nHWnQyrC9i4YW1LgCAtx5aKq6vQ8xfaRwLowCXnrR 02UlMrifLgd5cohlyoTvYHRxs5Fm3fJeftM9X7a7hrmz8yvOx2Rbn5F5BB91d0IN X-Gm-Gg: AfdE7clkplHckhLxJ7ljOafdtIIWzDihNi6nCcctSHLEQ3cUEc9+X86pvE8Kc1E8IPJ Ln1eat/ULNocZIdQLZB/EdoicP7NKJO9y1seVed0pRVu2Qtq8Bk+JW0CCUwufFqNq8JfZvTYDxF DlJwzniaB5g1vSwWqM66l5bGLyTI67CPn1obnl7X53ZszUvEXa2HuJlh4tItQBeuoczt9tj1/JQ E6/eFz9Pgy6sRzxRfEuriJbecQRIuXN8lVV9WLGH0eq20TAw2tTpSXTGiSOVcDPuNLoceekdUlh rUeGaVlsvGPTCniKD90iqspGVGcC5tIFoG3MIWawxuSL5ScyzOAktuNJYXuQY1GFvI9mxgN0KcT lprbQefCn6/jso7EIpSaoO1MwEtNKXGorlWfjF3RwF8J822Yq/FUSHP5sN7H+uai0OuZbsm99fx DJHu4fk04qxHSSqGmOewJ0HaEMA5wZcqoaz8m2MOUIh1I8650GGIqu3BDH2nE= X-Received: by 2002:a05:600c:1796:b0:490:e170:b7ee with SMTP id 5b1f17b1804b1-4923f572919mr32347015e9.17.1781857997039; Fri, 19 Jun 2026 01:33:17 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:16 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 11/15] man-pages: upgrade 6.17 -> 6.18 Date: Fri, 19 Jun 2026 10:32:53 +0200 Message-ID: <20260619083305.3505156-11-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239146 From: Alexander Kanavin License-Update: formatting Signed-off-by: Alexander Kanavin --- .../man-pages/{man-pages_6.17.bb => man-pages_6.18.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/man-pages/{man-pages_6.17.bb => man-pages_6.18.bb} (92%) diff --git a/meta/recipes-extended/man-pages/man-pages_6.17.bb b/meta/recipes-extended/man-pages/man-pages_6.18.bb similarity index 92% rename from meta/recipes-extended/man-pages/man-pages_6.17.bb rename to meta/recipes-extended/man-pages/man-pages_6.18.bb index bf4cbca932..3e2eb66156 100644 --- a/meta/recipes-extended/man-pages/man-pages_6.17.bb +++ b/meta/recipes-extended/man-pages/man-pages_6.18.bb @@ -4,7 +4,7 @@ SECTION = "console/utils" HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" LICENSE = "GPL-2.0-or-later & GPL-2.0-only & GPL-1.0-or-later & BSD-2-Clause & BSD-3-Clause & BSD-4-Clause-UC & MIT" -LIC_FILES_CHKSUM = "file://README;md5=c2d6fa1a74bdd79c25de6f4db7332294 \ +LIC_FILES_CHKSUM = "file://README;md5=e4d3c4124726a2b7763489612768c03c \ file://LICENSES/BSD-2-Clause.txt;md5=9e16594a228301089d759b4f178db91f \ file://LICENSES/BSD-3-Clause.txt;md5=407426fcc1a243b7b2eff6e35c56aca9 \ file://LICENSES/BSD-4-Clause-UC.txt;md5=1da3cf8ad50cd8d5d1de3cfc53196d01 \ @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://README;md5=c2d6fa1a74bdd79c25de6f4db7332294 \ SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz \ " -SRC_URI[sha256sum] = "ca29e4d1f1edce2e27719967e9c4c2506c5501d0567d55bb723e10ec57a6ed14" +SRC_URI[sha256sum] = "09f975373336a7b44fc1770176f3d2238a111c34e24812ad3b63ec3328795c01" inherit manpages lib_package From patchwork Fri Jun 19 08:32:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3DE0CDB46C for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.38126.1781857999648758929 for ; Fri, 19 Jun 2026 01:33:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=IfAe9gRu; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-490b8ac62baso28089145e9.0 for ; Fri, 19 Jun 2026 01:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857998; x=1782462798; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=47LNk8txhtYnT5HNBlKtfD6c3xajyCwoDiG9VDU0mps=; b=IfAe9gRuO8KBBFzDPypGLzyaRqjwDMEwTgM1B7brhaGsNSo7MfCnT2c9l/TwREUOjr nmMogF70UsDrdrEGGwHOAaih5yYuilOiG0mR/NZIg24qY0TvJRIBh6gPlGtDKv3IYcko BEYC/rsUCbfxVk+uStn0YCkqlUMTzOPkejsCiUNcsr5yVoHKfSiY5PEewS+Z7hmesH9P 11bqzaChFeXPkKKW0hgQvFSomcnc/98SdUAWypkHmJosUgglV8LpIDrx7v93uqBvondS NOF9T02qWhejLuJ5vnIkLVtsaP0/+fXYxfsNUGOEG2jcy8DhDVpeEBwPcTwUDmMxdp7C 8O3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857998; x=1782462798; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=47LNk8txhtYnT5HNBlKtfD6c3xajyCwoDiG9VDU0mps=; b=ZUVl8Rc8Qk5xig92OTHZrJ7ZlT+Arvud8jGqA1UkF0JioIXV8L9p3K0nviR9xcSL0h pLG/sUQq5Kbic3x8r+ppsLsFAyQFiy0sVbFKDoXTEQbD54TujsvCN8vkjsoAuerCbWcA yAdYjk5/UQ4cBxIWkCpvINYGZVwF9EE6Od00Xt+Az4O/SaPJrL3PClPzK1Gx/cWb/MOW 24Ke8CGmwW3qYig61NIf8ENxEiFtUNdq7/vSNJyuiLeACwz90N21GyjBkDqjWSpiDRs/ hApQfqycud8r/cEyk1EO9prFKK26CyAPEgCLpiXFFcOXpbimBBfGVSmdHrk9MmCfpmuW mvDw== X-Gm-Message-State: AOJu0YxLifePQHn4IO7ewMTd15DTPGRh00HlGQQlbmP83G0YvZgFGpZ4 7q2E1nhLGYCOxMnUPppCawYOKW5LjONY67DHlPQwnDAPpvSN8texgu4s8KaRGm/t X-Gm-Gg: AfdE7cliKPwYdemc73IDWOa1VS5+msI79NQC1RU7ckXfiWLYViQddYlaULvODp8ycOp Qh0wx4MtE5isfG/EYCw4h73XgkWJhMMHDcAInLNpfb8T3GqyMEyZj/ZStZ+aR2L7CWApXVMH48o qJQKzY0hwKszIELhjOUhb0ukHz50GJSpawyxc3TJQHgSWigo/GqgPdqqTo6wD3QXC0stw/O4G9f oGVle3yfaJOVeMbkQZBur5vv6p8N98DgwwL6Imf1UsJjqBs6GEUHvJbfy64/XRJKIVxvnvO1+2c PyBRLz0V0hTCk1qPJlK5fx/o78VR/XaHXKXB80ZgEJeQDJPuccmF85Rt/Pf1SggNNjnuPRW+LhD ULX6Ff+p/YfnbkpF8H+RSPIxgSwr1iUL9bKhENfqLDC3ItVN9x1+qRQ0u4WiwHk28itg3dkHjG9 zguhYbX/6yPkXJ447XRtK5w6FotpX9qOs9SaDDa7nIifPW22Pc X-Received: by 2002:a05:600c:e556:10b0:492:37a3:acda with SMTP id 5b1f17b1804b1-49240897a3bmr23042045e9.0.1781857997741; Fri, 19 Jun 2026 01:33:17 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:17 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 12/15] parted: upgrade 3.6 -> 3.7 Date: Fri, 19 Jun 2026 10:32:54 +0200 Message-ID: <20260619083305.3505156-12-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239147 From: Alexander Kanavin Drop three patches, as they're either obsolete, or merged upstream. Signed-off-by: Alexander Kanavin --- ...CH-parted-fix-do_version-declaration.patch | 40 ------------------- ...o-linker-flags-for-libparted-fs-resi.patch | 34 ---------------- .../parted/files/autoconf-2.73.patch | 22 ---------- .../parted/files/fix-doc-mandir.patch | 14 ++++++- .../parted/{parted_3.6.bb => parted_3.7.bb} | 5 +-- 5 files changed, 13 insertions(+), 102 deletions(-) delete mode 100644 meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch delete mode 100644 meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch delete mode 100644 meta/recipes-extended/parted/files/autoconf-2.73.patch rename meta/recipes-extended/parted/{parted_3.6.bb => parted_3.7.bb} (88%) diff --git a/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch b/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch deleted file mode 100644 index a8ea7ec4f7..0000000000 --- a/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch +++ /dev/null @@ -1,40 +0,0 @@ -From eb6bb2e8dfc78ca1a187d07ea29b23a805c61794 Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum -Date: Wed, 20 Nov 2024 12:22:22 +0000 -Subject: [PATCH] bug#74444: [PATCH] parted: fix do_version declaration - -With gcc 15-20241117 compile fails with the below error, update the -do_version declaration to match the header in command.h - -../../parted/parted.c: In function '_init_commands': -../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types] - 2469 | do_version, - | ^~~~~~~~~~ - | | - | int (*)(void) -In file included from ../../parted/parted.c:28: -../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)' - 35 | int (*method) (PedDevice** dev, PedDisk** diskp), - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/parted.git/commit/?id=16343bda6ce0d41edf43f8dac368db3bbb63d271] -Signed-off-by: Rudi Heitbaum -Signed-off-by: Brian C. Lane -Signed-off-by: Khem Raj ---- - parted/parted.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/parted/parted.c b/parted/parted.c -index 3abb52f..fc2aeba 100644 ---- a/parted/parted.c -+++ b/parted/parted.c -@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp) - } - - static int --do_version () -+do_version (PedDevice** dev, PedDisk** diskp) - { - printf ("\n%s\n%s", - prog_name, diff --git a/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch b/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch deleted file mode 100644 index 10354f1ed9..0000000000 --- a/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 12 Jun 2023 10:40:07 -0700 -Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize - library - -This library uses uuid_generate function which comes from libuuid and -hence it should be mentioned on linker cmdline - -fixes -| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate -| >>> referenced by /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/fatresize/1.1.0-r0/recipe-sysroot/usr/lib/libparted-fs-resize.so - -Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html] -Signed-off-by: Khem Raj ---- - libparted/fs/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am -index 2f345f3..a8970eb 100644 ---- a/libparted/fs/Makefile.am -+++ b/libparted/fs/Makefile.am -@@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \ - EXTRA_DIST += fsresize.sym - libparted_fs_resize_la_DEPENDENCIES = $(sym_file) - -+libparted_fs_resize_la_LIBADD = $(UUID_LIBS) - libparted_fs_resize_la_SOURCES = \ - r/filesys.c \ - r/fat/bootsector.c \ --- -2.41.0 - diff --git a/meta/recipes-extended/parted/files/autoconf-2.73.patch b/meta/recipes-extended/parted/files/autoconf-2.73.patch deleted file mode 100644 index 63dea88bfc..0000000000 --- a/meta/recipes-extended/parted/files/autoconf-2.73.patch +++ /dev/null @@ -1,22 +0,0 @@ -The gnulib largefile macro needs updating to work with autoconf 2.73. Rather -than the full code: - -https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb - -Just tweak the exiting code to work with 2.73. The next parted upgrade should -update to new gnulib - -Upstream-Status: Inappropriate -Signed-off-by: Richard Purdie - ---- a/m4/largefile.m4 -+++ b/m4/largefile.m4 -@@ -27,7 +27,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], - # Work around a problem in autoconf <= 2.69: - # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, - # or configures them incorrectly in some cases. --m4_version_prereq([2.70], [], [ -+m4_version_prereq([2.73], [], [ - - # _AC_SYS_LARGEFILE_TEST_INCLUDES - # ------------------------------- diff --git a/meta/recipes-extended/parted/files/fix-doc-mandir.patch b/meta/recipes-extended/parted/files/fix-doc-mandir.patch index 0711d4e297..76551f0b6e 100644 --- a/meta/recipes-extended/parted/files/fix-doc-mandir.patch +++ b/meta/recipes-extended/parted/files/fix-doc-mandir.patch @@ -1,3 +1,8 @@ +From fe0f3729a7b6396b0d9cc54897955c1af56fc9db Mon Sep 17 00:00:00 2001 +From: Andreas Oberritter +Date: Thu, 15 Mar 2012 23:17:52 +0100 +Subject: [PATCH] parted: update to version 3.1 + Upstream-Status: Submitted [bug-parted@gnu.org] | for po in `ls -1 ./*.pt_BR.po 2>/dev/null`; do \ @@ -6,9 +11,14 @@ Upstream-Status: Submitted [bug-parted@gnu.org] | Makefile:904: *** Recursive variable `mandir' references itself (eventually). Stop. Signed-off-by: Andreas Oberritter +--- + doc/po4a.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) ---- parted-3.1/doc/po4a.mk.orig 2012-03-15 14:09:11.555831872 +0100 -+++ parted-3.1/doc/po4a.mk 2012-03-15 14:10:44.243830985 +0100 +diff --git a/doc/po4a.mk b/doc/po4a.mk +index aaf4024..9c8672a 100644 +--- a/doc/po4a.mk ++++ b/doc/po4a.mk @@ -23,7 +23,7 @@ # threshold is 80%), it won't be distributed, and the build won't fail. # diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.7.bb similarity index 88% rename from meta/recipes-extended/parted/parted_3.6.bb rename to meta/recipes-extended/parted/parted_3.7.bb index 8f703d162f..dfa3ee163d 100644 --- a/meta/recipes-extended/parted/parted_3.6.bb +++ b/meta/recipes-extended/parted/parted_3.7.bb @@ -8,13 +8,10 @@ DEPENDS = "ncurses util-linux virtual/libiconv" SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ file://fix-doc-mandir.patch \ - file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \ - file://autoconf-2.73.patch \ - file://0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612" +SRC_URI[sha256sum] = "008de57561a4f3c25a0648e66ed11e7b30be493889b64334a6d70f2c1951ef7b" inherit autotools pkgconfig gettext texinfo ptest From patchwork Fri Jun 19 08:32:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66C3BCDB476 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38262.1781858000606644506 for ; Fri, 19 Jun 2026 01:33:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=iH5Mai0N; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-462342ac290so2104636f8f.2 for ; Fri, 19 Jun 2026 01:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857999; x=1782462799; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rVy8GPABlrjlD+iZWF7C5l/VLEX+Ohtlv65sudnGGcI=; b=iH5Mai0N0Va9XYSe3ebTUr0GjA70fHdVyOLLpC1WC6RdX8VBvO4I9odZLSl2ExyawG d6PoYayxSDw3xbqv/Ln3BLKY4KNSTeQ65oOAS6SSOrP1m4K4k/VV/SRLLn35bUZAZlHN xQtCJGiyOlBBkX8ZqRjx/+bF7DdjgUZqcE10TxruG2AsFxpPaI2PimFJj+5/AmPFW/gV m7R27m1fqphBxDaceltY1FEfnNeLAcKT9cGTt8Myr/4lqwUtObd+DzfqDaQ/yAO7ePxn SNUQ66PkJe3+84gnZD0HSSqPpCZocPNCFFMaPIXCFayqgMCNbl4nuNKj4fGiCT5jh39Y VZIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857999; x=1782462799; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rVy8GPABlrjlD+iZWF7C5l/VLEX+Ohtlv65sudnGGcI=; b=ICkgMkJy5zFC7eLKlHCKFGYjVMfl+sR175B4GUU3/fKjf4bUUi/GDkJfoah24icA48 yQl3/CEmFvnMs7CgrbshH2YELdVhwjXXoRAaoJnCIdpc9vr2NMYMOwMBMksShWXrKq1b wGtTGyXBKjdwntFKXI4+2FTtqdojJxb3ACaLhmBYU3ZaGp8gRcfg1WW4Vg1ijN2CjUTS Rfb1QpuKmxoc04LpgxmbfugRSOvmLHxiXnWHml5RlJC5sVrySg7JGe5kWUvmFu5MH6Am SrWlsnkNMGJqhXboP8glz1/f398R/di9LDg1/Iio/5ranoz+xXad91dOEEYamnHo2zfO C+dQ== X-Gm-Message-State: AOJu0YxhcNRQHvDxHOsmMZKeRQ6T4lm2Q8PmXt5rdDrn/ORIBIALRwJn HpO+M2TD/fmnBz3u3AMvmjmaPnf8G3sMWJmzxqODUKhZSukt8Zpt298vaIvBvQvX X-Gm-Gg: AfdE7ckqgJCnLLkTILezAlKZiuWo2P5+r6rTZ7JL4bCmbHDYs/yCz/e/X8cBZBH3CzE 6CzVtRWwf8KIUa+y2BeFZvSIQlZWTACnFWRFQ0on40q6F6DEJru/BImEBgTvgG995vqFWGJfI0+ j7LvlxegpoTIjIQ0iPAwPYi/jYMKT47QxyGvKFYB7rd1e36aCaxCNxocaledxF0ZB8ORsVHFlhv MYU4eSvHuTPNUhEvH7VIqTAXM+FD0ZE7R8tHUFJth4L+LHF0BpNuTiQxCWXl/u05gswMxvjN0t7 nTWfHKD2QgrT8mWpnE2BcztpZBjrCMkinm9PrKAOQA1oQ7nn1vh8hJ79/ee97/DA5VMNgAVeUW+ JIo/2PwSuhdTvhBeLFVTJS4JugLEQz41v0QCbE/on5LGN1iXof1lDs3PWT6Vm7dFAqk12B+cRVv CzgXJuO5A23Lw6T7G9gOPSTJexKjc+SAhaz569ip9BOlC0Haiz X-Received: by 2002:a05:6000:41c6:b0:45e:de0a:1773 with SMTP id ffacd0b85a97d-4656e9ae04fmr2344682f8f.33.1781857998447; Fri, 19 Jun 2026 01:33:18 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:18 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 13/15] librsvg: upgrade: 2.62.2 -> 2.62.3 Date: Fri, 19 Jun 2026 10:32:55 +0200 Message-ID: <20260619083305.3505156-13-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239148 From: Alexander Kanavin Drop patch merged upstream. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/librsvg/librsvg-crates.inc | 8 +- ...append-RUSTFLAGS-to-rustc-executable.patch | 2 +- ...e-care-of-deprecated-assert_cmd-Comm.patch | 2 +- .../librsvg/librsvg/cross-query-loaders.patch | 169 ------------------ .../{librsvg_2.62.2.bb => librsvg_2.62.3.bb} | 3 +- 5 files changed, 7 insertions(+), 177 deletions(-) delete mode 100644 meta/recipes-gnome/librsvg/librsvg/cross-query-loaders.patch rename meta/recipes-gnome/librsvg/{librsvg_2.62.2.bb => librsvg_2.62.3.bb} (97%) diff --git a/meta/recipes-gnome/librsvg/librsvg-crates.inc b/meta/recipes-gnome/librsvg/librsvg-crates.inc index dfa96e28b1..c6db9dc0bb 100644 --- a/meta/recipes-gnome/librsvg/librsvg-crates.inc +++ b/meta/recipes-gnome/librsvg/librsvg-crates.inc @@ -235,8 +235,8 @@ SRC_URI += " \ crate://crates.io/quick-error/2.0.1 \ crate://crates.io/quote/1.0.44 \ crate://crates.io/r-efi/5.3.0 \ - crate://crates.io/rand/0.8.5 \ - crate://crates.io/rand/0.9.2 \ + crate://crates.io/rand/0.8.6 \ + crate://crates.io/rand/0.9.4 \ crate://crates.io/rand_chacha/0.9.0 \ crate://crates.io/rand_core/0.6.4 \ crate://crates.io/rand_core/0.9.5 \ @@ -589,8 +589,8 @@ SRC_URI[quick-error-1.2.3.sha256sum] = "a1d01941d82fa2ab50be1e79e6714289dd7cde78 SRC_URI[quick-error-2.0.1.sha256sum] = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" SRC_URI[r-efi-5.3.0.sha256sum] = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" -SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -SRC_URI[rand-0.9.2.sha256sum] = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +SRC_URI[rand-0.8.6.sha256sum] = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" +SRC_URI[rand-0.9.4.sha256sum] = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" SRC_URI[rand_core-0.9.5.sha256sum] = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch b/meta/recipes-gnome/librsvg/librsvg/0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch index a3596fc288..1c02edad38 100644 --- a/meta/recipes-gnome/librsvg/librsvg/0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch +++ b/meta/recipes-gnome/librsvg/librsvg/0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch @@ -1,4 +1,4 @@ -From e89982e61e50c7d25d563f2fa0481f9bba481f04 Mon Sep 17 00:00:00 2001 +From 2becfbb5964754f7c3f1ff90f9447d84093ba986 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Sat, 2 Aug 2025 20:57:49 +0200 Subject: [PATCH] query-rustc: append RUSTFLAGS to rustc executable diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-tests-revert-Take-care-of-deprecated-assert_cmd-Comm.patch b/meta/recipes-gnome/librsvg/librsvg/0001-tests-revert-Take-care-of-deprecated-assert_cmd-Comm.patch index 85ae52c62f..05e0e0f857 100644 --- a/meta/recipes-gnome/librsvg/librsvg/0001-tests-revert-Take-care-of-deprecated-assert_cmd-Comm.patch +++ b/meta/recipes-gnome/librsvg/librsvg/0001-tests-revert-Take-care-of-deprecated-assert_cmd-Comm.patch @@ -1,4 +1,4 @@ -From bc089af8ce38ad268bc4283040ec28241c5064a6 Mon Sep 17 00:00:00 2001 +From 095e3c67c5e6b410098eb8d86878ec411d00fa0b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 18 Dec 2025 18:43:20 +0100 Subject: [PATCH] tests: revert 'Take care of deprecated diff --git a/meta/recipes-gnome/librsvg/librsvg/cross-query-loaders.patch b/meta/recipes-gnome/librsvg/librsvg/cross-query-loaders.patch deleted file mode 100644 index dff36aadb3..0000000000 --- a/meta/recipes-gnome/librsvg/librsvg/cross-query-loaders.patch +++ /dev/null @@ -1,169 +0,0 @@ -From e46317a80e9d37d7b9c4cbf43ff1d60c3ac21fff Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Mon, 11 May 2026 12:34:53 +0100 -Subject: [PATCH 1/2] gdk-pixbuf-loader/meson_install: improve argument parsing - and logic - -Make the arguments more explicit by changing the path arguments to be -specified with options, such as --queryloaders . Previously one of -the paths had an option, but the others were order-based. - -Check that either all of the paths have been set or --show-cross-message -has been passed. If this is not the case, print the usage and exit. - -Clean up Path usage, as the options are using pathlib.Path types in the -parser another Path instance does not need to be created. - -None of this changes the underlying logic, just makes it more consistent -and explicit. - -Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1194] -Signed-off-by: Ross Burton ---- - gdk-pixbuf-loader/meson.build | 4 +++- - gdk-pixbuf-loader/meson_install.py | 23 +++++++++++------------ - 2 files changed, 14 insertions(+), 13 deletions(-) - -diff --git a/gdk-pixbuf-loader/meson.build b/gdk-pixbuf-loader/meson.build -index 951d2d1c9..c7c017978 100644 ---- a/gdk-pixbuf-loader/meson.build -+++ b/gdk-pixbuf-loader/meson.build -@@ -43,9 +43,11 @@ else - endif - - pixbufloader_svg_install_args = [ -- '--gdk-pixbuf-moduledir', -+ '--moduledir', - pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_moduledir', pkgconfig_define: ['prefix', prefix]), -+ '--queryloaders', - gdk_pixbuf_query_loaders, -+ '--cache-file', - pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_cache_file', pkgconfig_define: ['prefix', prefix]) - ] - -diff --git a/gdk-pixbuf-loader/meson_install.py b/gdk-pixbuf-loader/meson_install.py -index ff003350f..d9bbbe433 100644 ---- a/gdk-pixbuf-loader/meson_install.py -+++ b/gdk-pixbuf-loader/meson_install.py -@@ -6,29 +6,28 @@ import os - import subprocess - import sys - --argparse = ArgumentParser('Deploy loaders.cache') -- --argparse.add_argument('--gdk-pixbuf-moduledir', type=Path) --argparse.add_argument('gdk_pixbuf_queryloaders', type=Path) --argparse.add_argument('gdk_pixbuf_cache_file', type=Path) --argparse.add_argument('--show-cross-message', action='store_true') -- - if __name__ == '__main__': -+ argparse = ArgumentParser(description='Deploy loaders.cache. Pass required paths, or --show-cross-message.') -+ argparse.add_argument('--queryloaders', type=Path, metavar="PATH", help="gdk-pixbuf-queryloaders to run") -+ argparse.add_argument('--moduledir', type=Path, metavar="PATH", help="installed gdk-pixbuf module directory") -+ argparse.add_argument('--cache-file', type=Path, metavar="PATH", help="module cache file to write") -+ argparse.add_argument('--show-cross-message', action='store_true', help="tell the user to run query-loaders manually") - args = argparse.parse_args() - -- cache_file: Path = args.gdk_pixbuf_cache_file -+ if not(args.show_cross_message or (args.queryloaders and args.moduledir and args.cache_file)): -+ argparse.print_help() -+ sys.exit(1) - - if args.show_cross_message or os.environ.get("DESTDIR"): - print('*** Note: Please run gdk-pixbuf-queryloaders manually ' + - 'against the newly-built gdkpixbuf-svg loader', file=sys.stderr) - else: - env = os.environ.copy() -- env['GDK_PIXBUF_MODULEDIR'] = Path(args.gdk_pixbuf_moduledir).as_posix() -- with cache_file.open('w', encoding='utf-8') as f: -+ env['GDK_PIXBUF_MODULEDIR'] = args.moduledir.as_posix() -+ with args.cache_file.open('w', encoding='utf-8') as f: - subprocess.run( -- [Path(args.gdk_pixbuf_queryloaders).as_posix()], -+ [args.queryloaders.as_posix()], - env=env, - stdout=f, - check=True - ) -- --- -2.43.0 - - -From 85e11b2c1c6b2a27949a0e3e883c01e4b48060e0 Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Mon, 11 May 2026 12:46:08 +0100 -Subject: [PATCH 2/2] gdk-pixbuf-loader: fix install logic in cross builds - -The logic in this install rule was getting complicated, but it should be -quite simple really: - -- In native builds we can run host binaries. Look for the - gdk-pixbuf-query-loaders tool and run it when installing. -- In cross builds we might be able to run host binaries, if an executable - wrapper has been set _and_ if the target sysroot contains executables. - -The presence of target executables isn't a given, as some systems (such -as OpenEmbedded) strip the target sysroot down to headers are libraries. - -So the logic should be: - -- In native builds, look for query-loaders and fail if not found. -- In cross builds where you can run host binaries, look for query-loaders - but allow it to be missing. -- In cross builds where you cannot run host binaries, there's no use in - looking for query-loaders. - -Then either pass the paths or --show-cross-message to meson_install.py, -depending on whether query-loaders was found or not. - -This fixes the case where Meson can run host executables, but the target -sysroot does not actually contain gdk-pixbuf-query-loaders. ---- - gdk-pixbuf-loader/meson.build | 28 +++++++++++++--------------- - 1 file changed, 13 insertions(+), 15 deletions(-) - -diff --git a/gdk-pixbuf-loader/meson.build b/gdk-pixbuf-loader/meson.build -index c7c017978..4f88ba037 100644 ---- a/gdk-pixbuf-loader/meson.build -+++ b/gdk-pixbuf-loader/meson.build -@@ -37,23 +37,21 @@ pixbuf_thumbnailer = configure_file( - ) - - if meson.can_run_host_binaries() -- gdk_pixbuf_query_loaders = find_program(pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_query_loaders', default_value: 'gdk-pixbuf-query-loaders')).path() --else -- gdk_pixbuf_query_loaders = pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_query_loaders', pkgconfig_define: ['prefix', prefix]) -+ gdk_pixbuf_query_loaders = find_program(pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_query_loaders', default_value: 'gdk-pixbuf-query-loaders'), required: not meson.is_cross_build()) - endif - --pixbufloader_svg_install_args = [ -- '--moduledir', -- pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_moduledir', pkgconfig_define: ['prefix', prefix]), -- '--queryloaders', -- gdk_pixbuf_query_loaders, -- '--cache-file', -- pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_cache_file', pkgconfig_define: ['prefix', prefix]) --] -- --# Tell people to run gdk-pixbuf-query-loaders manually for cross builds --if not meson.can_run_host_binaries() -- pixbufloader_svg_install_args += '--show-cross-message' -+if meson.can_run_host_binaries() and gdk_pixbuf_query_loaders.found() -+ pixbufloader_svg_install_args = [ -+ '--moduledir', -+ pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_moduledir', pkgconfig_define: ['prefix', prefix]), -+ '--queryloaders', -+ gdk_pixbuf_query_loaders.full_path(), -+ '--cache-file', -+ pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_cache_file', pkgconfig_define: ['prefix', prefix]) -+ ] -+else -+ # Tell people to run gdk-pixbuf-query-loaders manually for cross builds -+ pixbufloader_svg_install_args = ['--show-cross-message'] - endif - - meson.add_install_script( --- -2.43.0 - diff --git a/meta/recipes-gnome/librsvg/librsvg_2.62.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.62.3.bb similarity index 97% rename from meta/recipes-gnome/librsvg/librsvg_2.62.2.bb rename to meta/recipes-gnome/librsvg/librsvg_2.62.3.bb index 8c2623468d..b54371a194 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.62.2.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.62.3.bb @@ -25,9 +25,8 @@ require ${BPN}-crates.inc SRC_URI += "file://0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch \ file://0001-tests-revert-Take-care-of-deprecated-assert_cmd-Comm.patch \ - file://cross-query-loaders.patch \ file://run-ptest" -SRC_URI[archive.sha256sum] = "c0c1367e381e1ae4842a78f1b57c656ff19b25637e3a6527cb44ae5a1cc68d65" +SRC_URI[archive.sha256sum] = "7eb449b2722a768021356f66dfee3202c229b54ed4e6a70ce40c090e97ff16f2" UPSTREAM_CHECK_REGEX = "librsvg-(?P\d+\.\d+\.(?!9\d+)\d+)" From patchwork Fri Jun 19 08:32:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90496 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74349CD98F8 for ; Fri, 19 Jun 2026 08:33:22 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38264.1781858001041525456 for ; Fri, 19 Jun 2026 01:33:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=gEXsAj33; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-45ee5cdbd28so1709752f8f.1 for ; Fri, 19 Jun 2026 01:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781857999; x=1782462799; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Up8uPWXI7/y3AiT9scMJVMyoPTfiNBD9I8POiDjQxdY=; b=gEXsAj337tksGDD3QTJDfG5k4YwCsXanIuBUoCXoeswZm0FDJYjty7skG+KS5ENWTC KodcFLHB2Ld0EomtWHLfrgJaCVdOT5pJSTMKvMHb+5+O/cQkrYTWOMbdJrc3ncGywWpn 4wdzlU2zJe63FpyUPl/pn3GiQzTYUhA5kZZuImboqCe8fZsYTqTHfgr9IsoJS7rB7b6Z GKiuJFV8aBXPUPdIXMvaxC4t0Z+kTI3YgWvqRbYsXb0Elir34gSV44LpN1R2xogG/ZYu gMrh1T75/osEV0HELkIIkfz6+jeGQTYiLQXJ1SVhXOnbDLE9fMyiVfHChu4wQryn/cpG gHAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781857999; x=1782462799; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Up8uPWXI7/y3AiT9scMJVMyoPTfiNBD9I8POiDjQxdY=; b=GCa19G3BR7Ml/JYHmfDlTQkyC59exv7R791n96MGqUXk6yaXb6+9+lII/RN9+BYvDg uAYo/fTV2oka8whM7R6Hf8Uk0bowKCLxuVLMoyXhLpqnCBNfIHkC/obdw+3FuzU8lilX dmemW45MBwGnUZkwHHyx8GH6n7BdS3PNlN3HJ3zW3/51qh5Sg4iPYwSXQnJx+1aHcQAD 374bTgA93r3PvAlE+X2xmYDMWC59zA7SLxovv2Z0I6k8M0U89C/UY8AgXyWKmBugOhwo 6a6w4nfKZJvm4yBOghsGd3iSedwqypIwtXIduvgJpoQfSQv4nFOe8+YigV1K5SwKfaQd 75xQ== X-Gm-Message-State: AOJu0YwLIAfS1KpUTgIsp2CuUGEby/CCwSKZ+20n4EbVjiZftbJnYGc8 BMeZlQZzTUYg1ScC6liiXSKlvkOLUnXo5WiCqwMrIxcEseEC5iwc9rBynqytlQcH X-Gm-Gg: AfdE7ckifajyLUGxJVBSqdkIGGEwB438uKSnBypJ9IbteIu05EjRs5kv8Tf7VRMYQsP b6ij3K8yhDmZOssBRYZ05puccS8PQhDqTe+AEpC5J/n5G1C/UUTKVaE0+wR/pNlTgVtqryeB9Cd /4A4e1uamIoCQJ2iFdl6JFKw81bvbhIlx6uFA7bGNKk0/bbariB/1DjIGIYjl5APvi5570ipZZA O5/7qAvM0/pUKRNHhgnZmRxkumvrT/we8J1qQ/EO2/921lf6p34MTGS1dWPWj7RFkn/Dfw7xhuV mjw6IFOn7Z3Sb8Ex4JV1mkmFlwNcroV0R2lDCAkHPAlYFvpwEFOTRSvX/3foLamgqscKv5MJWMQ 2AKMSpggrWs9x3emBP9mHqrhHFN6uBuXsj5ABj7I7GBxF7/pa6I7zrhwUIZzd3PEUj+gKmA2UYC BPPsTIoKDszJr3LB4PDG3Qz4e9OszMBEY/RvhJzNZ1+lW2vVA0fVgnjh7axnQ= X-Received: by 2002:a05:6000:5c9:b0:45d:4c30:81a6 with SMTP id ffacd0b85a97d-4651c14606emr3627159f8f.5.1781857999108; Fri, 19 Jun 2026 01:33:19 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:18 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 14/15] vte: upgrade 0.82.2 -> 0.84.0 Date: Fri, 19 Jun 2026 10:32:56 +0200 Message-ID: <20260619083305.3505156-14-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239149 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- ...rt-reproducibility-for-debug-sources.patch | 48 ------------------- .../vte/{vte_0.82.2.bb => vte_0.84.0.bb} | 6 ++- 2 files changed, 4 insertions(+), 50 deletions(-) delete mode 100644 meta/recipes-support/vte/vte/0001-support-reproducibility-for-debug-sources.patch rename meta/recipes-support/vte/{vte_0.82.2.bb => vte_0.84.0.bb} (90%) diff --git a/meta/recipes-support/vte/vte/0001-support-reproducibility-for-debug-sources.patch b/meta/recipes-support/vte/vte/0001-support-reproducibility-for-debug-sources.patch deleted file mode 100644 index 20e8f71c0e..0000000000 --- a/meta/recipes-support/vte/vte/0001-support-reproducibility-for-debug-sources.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 0959004adbe46f88d558d2ce61b496c662c196f5 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Mon, 3 Nov 2025 06:13:11 +0000 -Subject: [PATCH] support reproducibility for debug sources - -While option --debug-sources is used, the generated source file contains -build path comments which caused the build is not reproducible [1] -...subprojects/simdutf/simdutf.h... - 1 /* auto-generated on 2025-03-17 16:13:41 -0400. Do not edit! */ - 2 /* begin file include/simdutf.h */ - 3 // /build-dir/vte-0.82.1/subprojects/simdutf/include/simdutf.h:1 - 4 #ifndef SIMDUTF_H -...subprojects/simdutf/simdutf.h... - -After apply this commit, use relative path to instead -...subprojects/simdutf/simdutf.h... - 1 /* auto-generated on 2025-03-17 16:13:41 -0400. Do not edit! */ - 2 /* begin file include/simdutf.h */ - 3 // include/simdutf.h:1 - 4 #ifndef SIMDUTF_H -...subprojects/simdutf/simdutf.h... - -[1] https://reproducible-builds.org/ - -Upstream-Status: Submitted [https://github.com/simdutf/simdutf/pull/848] - -Signed-off-by: Hongxu Jia ---- - singleheader/amalgamate.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/singleheader/amalgamate.py b/singleheader/amalgamate.py -index 190b2f6..75e0d78 100755 ---- a/singleheader/amalgamate.py -+++ b/singleheader/amalgamate.py -@@ -385,7 +385,8 @@ def filter_features(file): - current_features = None - elif enabled: - if context.args.debug_sources and not prev_line.endswith('\\'): -- yield f"// {file}:{lineno}" -+ RELFILE = os.path.relpath(file, PROJECTPATH) -+ yield f"// {RELFILE}:{lineno}" - - if line or (not line and prev_line): - yield line --- -2.48.1 - diff --git a/meta/recipes-support/vte/vte_0.82.2.bb b/meta/recipes-support/vte/vte_0.84.0.bb similarity index 90% rename from meta/recipes-support/vte/vte_0.82.2.bb rename to meta/recipes-support/vte/vte_0.84.0.bb index d5dced4ce6..70cc6b3c99 100644 --- a/meta/recipes-support/vte/vte_0.82.2.bb +++ b/meta/recipes-support/vte/vte_0.84.0.bb @@ -18,10 +18,12 @@ GIDOCGEN_MESON_OPTION = "docs" inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection systemd vala SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \ - file://0001-support-reproducibility-for-debug-sources.patch;patchdir=./subprojects/simdutf \ " -SRC_URI[archive.sha256sum] = "e1295aafc4682b3b550f1235dc2679baa0f71570d8ed543c001c1283d530be91" +SRC_URI[archive.sha256sum] = "0414e31583836aeb7878da25f67c515f7e8879917ecc37c92e26b83e8d8fc3e3" +# remove the below line when updating to vte 0.84.1 (or higher) as it includes +# https://gitlab.gnome.org/GNOME/vte/-/commit/77fe661760d2afac1e4d5a4b7eba477cbed6b430 +EXTRA_OEMESON += "-Dsimdutf:base64=true" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" From patchwork Fri Jun 19 08:32:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 90509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D196DCDB479 for ; Fri, 19 Jun 2026 08:33:23 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38265.1781858001904076452 for ; Fri, 19 Jun 2026 01:33:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=FgmUwlZL; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-490aaeabdb4so10734575e9.1 for ; Fri, 19 Jun 2026 01:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781858000; x=1782462800; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lPV8LZJxt2/BzHqlQw2NU+uLao7DiBGwtVVLG5E+PVc=; b=FgmUwlZLw3zgHgk1zNdjpvfRtOtHKOfQOJPduwfA1HvPMleYIBuwxZ1ttz8P0XiQWN yTCG0lIeh4a8jnFIEg2F/o3NMVcaz8H+uqzxibqUCg0BWlXrMdGh3ybVmmpn5mykWbOW 0daBNtdlIOjZIypx8qob4n+/BLWUPN/oKmdDCrK/E0AWwClz+UNUgd8r1q+kn8xNoQL+ RSDp2Gnjd9ZXf84CuRPB4fwOsKvDevRU4JXjurevlqF7TNi19qboxJ1TlEzUAjf6ZvKt DLeizeRHD4DQT8EUfICO6AVNFPjYLHsSpxsmR1JNMmRYigafJnhQR6Xu6gv6uhM5kzEW CS4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781858000; x=1782462800; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lPV8LZJxt2/BzHqlQw2NU+uLao7DiBGwtVVLG5E+PVc=; b=XHHZRBF9XFFRDJls0qB1weOBQYE0KB1ogg1rzZe6SkFGGu8PV+RR7oL7udxT3ot3ew eafxokbKTf2gJUDZqPhmikcjR2nbvzfJEGdPzB74TU7IzJ2UDm2zpK2+PREoo6vQhrgu uQOVkFJfHZ6UJniQ0zdObDm43kM8+8Stz3VscNHgVEaYZf4H610d4HaDFpGfTjWdlqOM MHRKQiUTGlSbg2cyLT4GEGdEj7wGqZtkB2ETtkc/8QxSZtnqp9TVb5ot2WbNWb/I1EZl fvYkMniykZFhfcOSl6HJkhCis32NrVuGlHppuu+QX810B2rke0DHhb/7e/xTuPmk91yI yD1A== X-Gm-Message-State: AOJu0YwlB2jPFBSaWynM4/edm5nWa7VdYT3I164e71tETuPAfpuKtrTj 6vawXxCfaLc8BTEzkBuPGGpANoox7+FpbCb6Pgplq4jISHoYejtQLefDuvMj70ev X-Gm-Gg: AfdE7cmQ/WeWLYKsJXa3/ycTAbzen13ZH8VXZyQfj6JhRPauLpzB2xxPrhRH4slRC2a NdFgDqHHbhckvc30Hw8v2dugXHrzcV/myefiqhBI03BSAV6cwVWAlhZBPsUUKa3tGMMvGC7Pnsa A4xe6u0Fb+qfpKCPyjFY7fw/Zw9T7+9dwaHyiBPRbZxParBZEYrb8+QDA2ZGGDYinK8GSnXI4gb E72BoBw9/mUXXVOeax/C2xzmIMTqWmgcXPfr9X+THU8X+fJ9tFNBcYap6FcC/ko4tXiT3Z9Y5Gi zAH+meLTGiESpfQHsgrJmbrW/gffhw9eX16Fkstg4OMHc5mbkVQzVfsVl9K231zyZ7GasS420Y/ 5p+JrJnkZIYBMcA/LgJ7mzWLlFzS3KKBL2S/xJh8KEGW/gojGwlli+/LOCkSEKVxwGFKQBssY3Q XcWQFdTYI3uORDSzGQgWAR13tmXRKqu26iHPqaCqjygFx0uedZ X-Received: by 2002:a05:600c:a00f:b0:48a:7a10:4f17 with SMTP id 5b1f17b1804b1-4923ef47e5dmr50175725e9.6.1781857999858; Fri, 19 Jun 2026 01:33:19 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4650bc429a1sm5878368f8f.30.2026.06.19.01.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:33:19 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 15/15] ovmf: upgrade edk2-stable202511 -> edk2-stable202605 Date: Fri, 19 Jun 2026 10:32:57 +0200 Message-ID: <20260619083305.3505156-15-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260619083305.3505156-1-alex.kanavin@gmail.com> References: <20260619083305.3505156-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 19 Jun 2026 08:33:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239150 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- ...Tools-StringFuncs-fix-gcc-16-warning.patch | 43 -------- ...ovmf-update-path-to-native-BaseTools.patch | 9 +- ...aseTools-EfiRom-fix-compiler-warning.patch | 45 -------- ...ile-adjust-to-build-in-under-bitbake.patch | 9 +- .../ovmf/ovmf/0003-debug-prefix-map.patch | 101 ++++-------------- .../ovmf/ovmf/0004-reproducible.patch | 29 +++-- ...ceptionHandlerLib-fix-push-instructi.patch | 46 -------- meta/recipes-core/ovmf/ovmf_git.bb | 7 +- 8 files changed, 43 insertions(+), 246 deletions(-) delete mode 100644 meta/recipes-core/ovmf/ovmf/0001-BaseTools-StringFuncs-fix-gcc-16-warning.patch delete mode 100644 meta/recipes-core/ovmf/ovmf/0002-BaseTools-EfiRom-fix-compiler-warning.patch delete mode 100644 meta/recipes-core/ovmf/ovmf/0005-UefiCpuPkg-CpuExceptionHandlerLib-fix-push-instructi.patch diff --git a/meta/recipes-core/ovmf/ovmf/0001-BaseTools-StringFuncs-fix-gcc-16-warning.patch b/meta/recipes-core/ovmf/ovmf/0001-BaseTools-StringFuncs-fix-gcc-16-warning.patch deleted file mode 100644 index 38c26224df..0000000000 --- a/meta/recipes-core/ovmf/ovmf/0001-BaseTools-StringFuncs-fix-gcc-16-warning.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 3597306191297b504683b83fe7750e49c6a2e836 Mon Sep 17 00:00:00 2001 -From: Gerd Hoffmann -Date: Thu, 29 Jan 2026 09:23:32 +0100 -Subject: [PATCH 1/2] BaseTools/StringFuncs: fix gcc 16 warning -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -StringFuncs.c: In function ‘SplitStringByWhitespace’: -StringFuncs.c:113:15: error: variable ‘Item’ set but not used [-Werror=unused-but-set-variable=] - 113 | UINTN Item; - | ^~~~ - -Signed-off-by: Gerd Hoffmann -Upstream-Status: Backport ---- - BaseTools/Source/C/Common/StringFuncs.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/BaseTools/Source/C/Common/StringFuncs.c b/BaseTools/Source/C/Common/StringFuncs.c -index 53e44365e9..df02d9c808 100644 ---- a/BaseTools/Source/C/Common/StringFuncs.c -+++ b/BaseTools/Source/C/Common/StringFuncs.c -@@ -110,7 +110,6 @@ SplitStringByWhitespace ( - CHAR8 *EndOfSubString; - CHAR8 *EndOfString; - STRING_LIST *Output; -- UINTN Item; - - String = CloneString (String); - if (String == NULL) { -@@ -120,7 +119,7 @@ SplitStringByWhitespace ( - - Output = NewStringList (); - -- for (Pos = String, Item = 0; Pos < EndOfString; Item++) { -+ for (Pos = String; Pos < EndOfString;) { - while (isspace ((int)*Pos)) { - Pos++; - } --- -2.53.0 - diff --git a/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch b/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch index bc70c1ab91..7590c7b2bd 100644 --- a/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch +++ b/meta/recipes-core/ovmf/ovmf/0001-ovmf-update-path-to-native-BaseTools.patch @@ -1,7 +1,7 @@ -From 89a7bfe82c9dea89fa7d859eb392aa414a365578 Mon Sep 17 00:00:00 2001 +From 7a517d144ead6a50baab6eaf7d6d763620243440 Mon Sep 17 00:00:00 2001 From: Ricardo Neri Date: Thu, 9 Jun 2016 02:23:01 -0700 -Subject: [PATCH 1/5] ovmf: update path to native BaseTools +Subject: [PATCH] ovmf: update path to native BaseTools BaseTools is a set of utilities to build EDK-based firmware. These utilities are used during the build process. Thus, they need to be built natively. @@ -16,7 +16,7 @@ Upstream-Status: Inappropriate [oe-core cross compile specific] 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh -index 30f4830173..ce4ffb20ab 100755 +index ed3ed001b4..15f13424e5 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -24,7 +24,7 @@ then @@ -28,6 +28,3 @@ index 30f4830173..ce4ffb20ab 100755 echo $EDK_TOOLS_PATH source edksetup.sh BaseTools else --- -2.47.3 - diff --git a/meta/recipes-core/ovmf/ovmf/0002-BaseTools-EfiRom-fix-compiler-warning.patch b/meta/recipes-core/ovmf/ovmf/0002-BaseTools-EfiRom-fix-compiler-warning.patch deleted file mode 100644 index f463103661..0000000000 --- a/meta/recipes-core/ovmf/ovmf/0002-BaseTools-EfiRom-fix-compiler-warning.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 9af06ef3cbb052b142f9660c2c01e7aeb401300c Mon Sep 17 00:00:00 2001 -From: Gerd Hoffmann -Date: Mon, 8 Dec 2025 10:28:50 +0100 -Subject: [PATCH 2/2] BaseTools/EfiRom: fix compiler warning -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -New warning after updating gcc: - -EfiRom.c: In function ‘main’: -EfiRom.c:78:17: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] - -The assigned value is not used, so fix the warning by just removing it. - -Signed-off-by: Gerd Hoffmann -Upstream-Status: Backport ---- - BaseTools/Source/C/EfiRom/EfiRom.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c -index fa7bf0e62e..6e903b3504 100644 ---- a/BaseTools/Source/C/EfiRom/EfiRom.c -+++ b/BaseTools/Source/C/EfiRom/EfiRom.c -@@ -44,7 +44,6 @@ Returns: - FILE_LIST *FList; - UINT32 TotalSize; - UINT32 Size; -- CHAR8 *Ptr0; - - SetUtilityName(UTILITY_NAME); - -@@ -75,7 +74,7 @@ Returns: - // - if (mOptions.DumpOption == 1) { - if (mOptions.FileList != NULL) { -- if ((Ptr0 = strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION)) != NULL) { -+ if (strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION) != NULL) { - DumpImage (mOptions.FileList); - goto BailOut; - } else { --- -2.53.0 - diff --git a/meta/recipes-core/ovmf/ovmf/0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch b/meta/recipes-core/ovmf/ovmf/0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch index 27c4324b67..b8f4feae5f 100644 --- a/meta/recipes-core/ovmf/ovmf/0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch +++ b/meta/recipes-core/ovmf/ovmf/0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch @@ -1,7 +1,7 @@ -From 8b4941871ccc88ed8b31eb7ffc097e1fe39fe57d Mon Sep 17 00:00:00 2001 +From 5f9cc244e566bd28a2a9c46454d206d795a02847 Mon Sep 17 00:00:00 2001 From: Ricardo Neri Date: Fri, 26 Jul 2019 17:34:26 -0400 -Subject: [PATCH 2/5] BaseTools: makefile: adjust to build in under bitbake +Subject: [PATCH] BaseTools: makefile: adjust to build in under bitbake Prepend the build flags with those of bitbake. This is to build using the bitbake native sysroot include and library directories. @@ -18,7 +18,7 @@ Upstream-Status: Inappropriate [needs to be converted to in-recipe fixups] 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Source/C/Makefiles/header.makefile -index 53e73abe53..0b3f9bbb2a 100644 +index d63f487724..0403f83f77 100644 --- a/BaseTools/Source/C/Makefiles/header.makefile +++ b/BaseTools/Source/C/Makefiles/header.makefile @@ -151,35 +151,34 @@ endif @@ -64,6 +64,3 @@ index 53e73abe53..0b3f9bbb2a 100644 ifeq ($(HOST_ARCH), IA32) # # Snow Leopard is a 32-bit and 64-bit environment. uname -m returns i386, but gcc defaults --- -2.47.3 - diff --git a/meta/recipes-core/ovmf/ovmf/0003-debug-prefix-map.patch b/meta/recipes-core/ovmf/ovmf/0003-debug-prefix-map.patch index 18ea24802a..0f07aa1924 100644 --- a/meta/recipes-core/ovmf/ovmf/0003-debug-prefix-map.patch +++ b/meta/recipes-core/ovmf/ovmf/0003-debug-prefix-map.patch @@ -1,7 +1,7 @@ -From 640b1e443a1b400d32d9af0c478abbbaebd491f1 Mon Sep 17 00:00:00 2001 +From ce5cd61548663f85845b8c645f21185fc7419b1b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 14 Jun 2021 19:56:28 +0200 -Subject: [PATCH 3/5] debug prefix map +Subject: [PATCH] debug prefix map We want to pass ${DEBUG_PREFIX_MAP} to gcc commands and also pass in --debug-prefix-map to nasm (we carry a patch to nasm for this). The @@ -18,87 +18,30 @@ Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/2202] Signed-off-by: Richard Purdie Signed-off-by: Alexander Kanavin --- - BaseTools/Conf/tools_def.template | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) + BaseTools/Conf/tools_def.template | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template -index 90a389bdff..1e134b299a 100755 +index eca4cb82d0..7ccbb9c763 100644 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template -@@ -833,7 +833,7 @@ NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink="$(DEBUG_DIR)/$(MODULE_ +@@ -925,7 +925,7 @@ NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink="$(DEBUG_DIR)/$(MODULE_ *_*_*_DTC_PATH = DEF(DTC_BIN) # All supported GCC archs except LOONGARCH64 support -mstack-protector-guard=global, so set that on everything except LOONGARCH64 --DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -fstack-protector -+DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -fstack-protector ENV(GCC_PREFIX_MAP) - DEFINE GCC_IA32_X64_CC_FLAGS = -mstack-protector-guard=global - DEFINE GCC_LOONGARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mabi=lp64d -fno-asynchronous-unwind-tables -Wno-address -fno-short-enums -fsigned-char -ffunction-sections -fdata-sections - DEFINE GCC_AARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18 -mstack-protector-guard=global -@@ -845,8 +845,8 @@ DEFINE GCC_AARCH64_DLINK_FLAGS = -Wl,--emit-relocs -nostdlib -Wl,--gc-sectio - DEFINE GCC_LOONGARCH64_DLINK_FLAGS = DEF(GCC_LOONGARCH64_DLINK_COMMON) -z common-page-size=0x20 - DEFINE GCC_AARCH64_ASLDLINK_FLAGS = DEF(GCC_AARCH64_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) -Wl,--defsym=PECOFF_HEADER_SIZE=0 DEF(GCC_DLINK2_FLAGS_COMMON) -z common-page-size=0x20 - DEFINE GCC_LOONGARCH64_ASLDLINK_FLAGS = DEF(GCC_LOONGARCH64_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) --DEFINE GCC_ASM_FLAGS = -c -x assembler --DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h -+DEFINE GCC_ASM_FLAGS = -c -x assembler ENV(GCC_PREFIX_MAP) -+DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h ENV(GCC_PREFIX_MAP) - DEFINE GCC_VFRPP_FLAGS = -x c -E -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h - DEFINE GCC_ASLPP_FLAGS = -x c -E -include AutoGen.h - DEFINE GCC_ASLCC_FLAGS = -x c -include AutoGen.h -fshort-wchar -@@ -980,7 +980,7 @@ DEFINE GCC5_LOONGARCH64_PP_FLAGS = -mabi=lp64d -march=loongarch64 DEF( - *_GCC48_IA32_DLINK2_FLAGS = DEF(GCC48_IA32_DLINK2_FLAGS) - *_GCC48_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) - *_GCC48_IA32_OBJCOPY_FLAGS = --*_GCC48_IA32_NASM_FLAGS = -f elf32 -+*_GCC48_IA32_NASM_FLAGS = -f elf32 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) - RELEASE_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -Wno-unused-but-set-variable -@@ -1008,7 +1008,7 @@ RELEASE_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -Wno-unused-but-set - *_GCC48_X64_DLINK2_FLAGS = DEF(GCC48_X64_DLINK2_FLAGS) - *_GCC48_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) - *_GCC48_X64_OBJCOPY_FLAGS = --*_GCC48_X64_NASM_FLAGS = -f elf64 -+*_GCC48_X64_NASM_FLAGS = -f elf64 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS) - RELEASE_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS) -Wno-unused-but-set-variable -@@ -1087,7 +1087,7 @@ RELEASE_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-s - *_GCC49_IA32_DLINK2_FLAGS = DEF(GCC49_IA32_DLINK2_FLAGS) - *_GCC49_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) - *_GCC49_IA32_OBJCOPY_FLAGS = --*_GCC49_IA32_NASM_FLAGS = -f elf32 -+*_GCC49_IA32_NASM_FLAGS = -f elf32 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) - RELEASE_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -Wno-unused-but-set-variable -Wno-unused-const-variable -@@ -1115,7 +1115,7 @@ RELEASE_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -Wno-unused-but-set - *_GCC49_X64_DLINK2_FLAGS = DEF(GCC49_X64_DLINK2_FLAGS) - *_GCC49_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) - *_GCC49_X64_OBJCOPY_FLAGS = --*_GCC49_X64_NASM_FLAGS = -f elf64 -+*_GCC49_X64_NASM_FLAGS = -f elf64 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC49_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS) - RELEASE_GCC49_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS) -Wno-unused-but-set-variable -Wno-unused-const-variable -@@ -1314,7 +1314,7 @@ RELEASE_GCCNOLTO_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20 - *_GCC5_IA32_DLINK2_FLAGS = DEF(GCC5_IA32_DLINK2_FLAGS) -no-pie - *_GCC5_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) - *_GCC5_IA32_OBJCOPY_FLAGS = --*_GCC5_IA32_NASM_FLAGS = -f elf32 -+*_GCC5_IA32_NASM_FLAGS = -f elf32 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC5_IA32_CC_FLAGS = DEF(GCC5_IA32_CC_FLAGS) -flto - DEBUG_GCC5_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386 -@@ -1346,7 +1346,7 @@ RELEASE_GCC5_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl, - *_GCC5_X64_DLINK2_FLAGS = DEF(GCC5_X64_DLINK2_FLAGS) - *_GCC5_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) - *_GCC5_X64_OBJCOPY_FLAGS = --*_GCC5_X64_NASM_FLAGS = -f elf64 -+*_GCC5_X64_NASM_FLAGS = -f elf64 ENV(NASM_PREFIX_MAP) - - DEBUG_GCC5_X64_CC_FLAGS = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO - DEBUG_GCC5_X64_DLINK_FLAGS = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os --- -2.47.3 - +-DEFINE GCC_ALL_CC_COMMON = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -fstack-protector ++DEFINE GCC_ALL_CC_COMMON = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -fstack-protector ENV(GCC_PREFIX_MAP) + DEFINE GCC_IA32_X64_CC_FLAGS = -mstack-protector-guard=global + DEFINE GCC_LOONGARCH64_CC_FLAGS = DEF(GCC_ALL_CC_COMMON) -mabi=lp64d -fno-asynchronous-unwind-tables -Wno-address -fno-short-enums -fsigned-char -ffunction-sections -fdata-sections -march=loongarch64 -mno-memcpy -Werror -Wno-maybe-uninitialized -Wno-stringop-overflow -Wno-pointer-to-int-cast -no-pie -fno-stack-protector -mno-explicit-relocs -mno-relax + DEFINE GCC_AARCH64_CC_COMMON = DEF(GCC_ALL_CC_COMMON) -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18 -mstack-protector-guard=global +@@ -936,8 +936,8 @@ DEFINE GCC_AARCH64_DLINK_COMMON = -Wl,--emit-relocs -nostdlib -Wl,--gc-se + DEFINE GCC_LOONGARCH64_DLINK_COMMON = -Wl,--emit-relocs -nostdlib -Wl,--gc-sections -u $(IMAGE_ENTRY_POINT) -Wl,-e,$(IMAGE_ENTRY_POINT),-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map -z common-page-size=0x20 + DEFINE GCC_AARCH64_ASLDLINK_COMMON = DEF(GCC_AARCH64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) -Wl,--defsym=PECOFF_HEADER_SIZE=0 DEF(GCC_DLINK2_FLAGS_COMMON) -z common-page-size=0x20 + DEFINE GCC_LOONGARCH64_ASLDLINK_COMMON = DEF(GCC_LOONGARCH64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) +-DEFINE GCC_ASM_COMMON = -c -x assembler +-DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h ++DEFINE GCC_ASM_COMMON = -c -x assembler ENV(GCC_PREFIX_MAP) ++DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h ENV(GCC_PREFIX_MAP) + DEFINE GCC_VFRPP_FLAGS = -x c -E -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h + DEFINE GCC_ASLPP_FLAGS = -x c -E -include AutoGen.h + DEFINE GCC_ASLCC_COMMON = -x c -include AutoGen.h -fshort-wchar diff --git a/meta/recipes-core/ovmf/ovmf/0004-reproducible.patch b/meta/recipes-core/ovmf/ovmf/0004-reproducible.patch index b42ecde211..68a49d90d5 100644 --- a/meta/recipes-core/ovmf/ovmf/0004-reproducible.patch +++ b/meta/recipes-core/ovmf/ovmf/0004-reproducible.patch @@ -1,7 +1,7 @@ -From 8b218dffa0368fbc2bfb5d8051b358476266fcb4 Mon Sep 17 00:00:00 2001 +From 8ae6441f19c71347acab1e789517035ee458449e Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 14 Jun 2021 19:57:30 +0200 -Subject: [PATCH 4/5] reproducible +Subject: [PATCH] reproducible This patch fixes various things which make the build more reproducible. Some changes here only change intermediate artefacts but that means when you have two build trees @@ -35,7 +35,7 @@ Signed-off-by: Alexander Kanavin 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c b/BaseTools/Source/C/GenFw/Elf64Convert.c -index 83f1b285c2..e2f582f8fb 100644 +index bf4baf05d7..295f3f6efb 100644 --- a/BaseTools/Source/C/GenFw/Elf64Convert.c +++ b/BaseTools/Source/C/GenFw/Elf64Convert.c @@ -15,6 +15,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @@ -47,7 +47,7 @@ index 83f1b285c2..e2f582f8fb 100644 #endif #include #include -@@ -995,7 +997,7 @@ ScanSections64 ( +@@ -996,7 +998,7 @@ ScanSections64 ( } mCoffOffset = mDebugOffset + sizeof(EFI_IMAGE_DEBUG_DIRECTORY_ENTRY) + sizeof(EFI_IMAGE_DEBUG_CODEVIEW_NB10_ENTRY) + @@ -56,7 +56,7 @@ index 83f1b285c2..e2f582f8fb 100644 // // Add more space in the .debug data region for the DllCharacteristicsEx -@@ -2329,7 +2331,7 @@ WriteDebug64 ( +@@ -2330,7 +2332,7 @@ WriteDebug64 ( EFI_IMAGE_DEBUG_CODEVIEW_NB10_ENTRY *Nb10; EFI_IMAGE_DEBUG_EX_DLLCHARACTERISTICS_ENTRY *DllEntry; @@ -65,7 +65,7 @@ index 83f1b285c2..e2f582f8fb 100644 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); DataDir = &NtHdr->Pe32Plus.OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_DEBUG]; -@@ -2362,7 +2364,7 @@ WriteDebug64 ( +@@ -2363,7 +2365,7 @@ WriteDebug64 ( Nb10 = (EFI_IMAGE_DEBUG_CODEVIEW_NB10_ENTRY*)(Dir + 1); Nb10->Signature = CODEVIEW_SIGNATURE_NB10; @@ -89,10 +89,10 @@ index b829a2503c..afe826b78f 100644 if Input not in self.Inputs: self.Inputs.append(Input) diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py -index e5f282c4ac..27a34ef7c6 100755 +index b729103efd..afc5b14a8a 100755 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py -@@ -571,7 +571,7 @@ cleanlib: +@@ -579,7 +579,7 @@ cleanlib: os.remove(RespFileList) # convert source files and binary files to build targets @@ -101,7 +101,7 @@ index e5f282c4ac..27a34ef7c6 100755 if len(self.ResultFileList) == 0 and len(MyAgo.SourceFileList) != 0: EdkLogger.error("build", AUTOGEN_ERROR, "Nothing to build", ExtraData="[%s]" % str(MyAgo)) -@@ -722,7 +722,7 @@ cleanlib: +@@ -730,7 +730,7 @@ cleanlib: OutputFile = '' DepsFileList = [] @@ -110,7 +110,7 @@ index e5f282c4ac..27a34ef7c6 100755 if Cmd[2]: for CopyCmd in Cmd[2]: Src, Dst = CopyCmd -@@ -755,7 +755,7 @@ cleanlib: +@@ -763,7 +763,7 @@ cleanlib: self.BuildTargetList.append('\t%s' % CmdString) self.ParseSecCmd(DepsFileList, Cmd[1]) @@ -119,7 +119,7 @@ index e5f282c4ac..27a34ef7c6 100755 self.BuildTargetList.append('%s : %s' % (self.ReplaceMacro(SecOutputFile), self.ReplaceMacro(SecDepsFile))) self.BuildTargetList.append('\t%s' % self.ReplaceMacro(SecCmd)) self.FfsOutputFileList = [] -@@ -794,13 +794,13 @@ cleanlib: +@@ -802,13 +802,13 @@ cleanlib: def CommandExceedLimit(self): FlagDict = { @@ -140,7 +140,7 @@ index e5f282c4ac..27a34ef7c6 100755 } RespDict = {} -@@ -1014,9 +1014,9 @@ cleanlib: +@@ -1022,9 +1022,9 @@ cleanlib: if not self.ObjTargetDict.get(T.Target.SubDir): self.ObjTargetDict[T.Target.SubDir] = set() self.ObjTargetDict[T.Target.SubDir].add(NewFile) @@ -153,7 +153,7 @@ index e5f282c4ac..27a34ef7c6 100755 if T.GenFileListMacro and T.FileListMacro not in self.FileListMacros: self.FileListMacros[T.FileListMacro] = [] diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py -index 764c51789b..40aadbcfbc 100755 +index c358d7f0e3..6ed48091fa 100755 --- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py @@ -1429,6 +1429,9 @@ class ModuleAutoGen(AutoGen): @@ -175,6 +175,3 @@ index 764c51789b..40aadbcfbc 100755 # Ignore generating makefile when it is a binary module if self.IsBinaryModule: --- -2.47.3 - diff --git a/meta/recipes-core/ovmf/ovmf/0005-UefiCpuPkg-CpuExceptionHandlerLib-fix-push-instructi.patch b/meta/recipes-core/ovmf/ovmf/0005-UefiCpuPkg-CpuExceptionHandlerLib-fix-push-instructi.patch deleted file mode 100644 index 650e084b5b..0000000000 --- a/meta/recipes-core/ovmf/ovmf/0005-UefiCpuPkg-CpuExceptionHandlerLib-fix-push-instructi.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 7e6be0f4068a2158af3c97e873edb33fa4d5c6b8 Mon Sep 17 00:00:00 2001 -From: Gerd Hoffmann -Date: Mon, 3 Nov 2025 09:56:52 +0100 -Subject: [PATCH 5/5] UefiCpuPkg/CpuExceptionHandlerLib: fix push instructions - -Nasm 3.0 complains about 'dword' being invalid. The comment talks about -a '8-byte value' so 'qword' should be correct here. - -With this change the extra comment explaining that the instruction -actually pushes an 8-byte value despite the 'dword' keyword is not -needed any more. Drop it. - -Fixes: https://github.com/tianocore/edk2/issues/11635 -Signed-off-by: Gerd Hoffmann -Upstream-Status: Backport [https://github.com/tianocore/edk2/commit/9ccf8751a74f26142e584c7b7c7572a182b67997] -(cherry picked from commit 9ccf8751a74f26142e584c7b7c7572a182b67997) -Signed-off-by: Ankur Tyagi ---- - .../CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm b/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm -index 3d64ac9080..671ed98f85 100644 ---- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm -+++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm -@@ -57,7 +57,7 @@ ALIGN 8 - AsmIdtVectorBegin: - %assign Vector 0 - %rep 256 -- push strict dword %[Vector] ; This instruction pushes sign-extended 8-byte value on stack -+ push strict qword %[Vector] - push rax - %ifdef NO_ABSOLUTE_RELOCS_IN_TEXT - mov rax, strict qword 0 ; mov rax, ASM_PFX(CommonInterruptEntry) -@@ -70,7 +70,7 @@ AsmIdtVectorBegin: - AsmIdtVectorEnd: - - HookAfterStubHeaderBegin: -- push strict dword 0 ; 0 will be fixed -+ push strict qword 0 ; 0 will be fixed - VectorNum: - push rax - %ifdef NO_ABSOLUTE_RELOCS_IN_TEXT --- -2.47.3 - diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index 25c857bdf9..bda33e2631 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb @@ -19,13 +19,10 @@ SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https;ta file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ file://0003-debug-prefix-map.patch \ file://0004-reproducible.patch \ - file://0005-UefiCpuPkg-CpuExceptionHandlerLib-fix-push-instructi.patch \ - file://0001-BaseTools-StringFuncs-fix-gcc-16-warning.patch \ - file://0002-BaseTools-EfiRom-fix-compiler-warning.patch \ " -PV = "edk2-stable202511" -SRCREV = "46548b1adac82211d8d11da12dd914f41e7aa775" +PV = "edk2-stable202605" +SRCREV = "b03a21a63e3bd001f52c527e5a57feddb53a690b" UPSTREAM_CHECK_GITTAGREGEX = "(?Pedk2-stable.*)" CVE_PRODUCT = "edk2"