diff mbox series

[meta,04/07] linux-yocto/7.2: remap rust debug info paths

Message ID 20260902132305.3685228-5-bruce.ashfield@gmail.com
State New
Headers show
Series linux-yocto: consolidated pull request | expand

Commit Message

Bruce Ashfield Sept. 2, 2026, 1:23 p.m. UTC
From: Bruce Ashfield <bruce.ashfield@gmail.com>

Integrating the following commit(s) to linux-yocto/7.2:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: Makefile: remap rust debug info paths (scope=all)
    Date: Tue, 1 Sep 2026 22:49:31 -0400

    Commit dda135077ecc9 ("rust: build: remap path to avoid absolute path")
    restricts rustc path remapping to macro scope, which leaves build paths
    in the DWARF debug info of rust objects. Under OpenEmbedded this trips
    the buildpaths QA check on kernel-dbg (samples/rust/*.ko and vmlinux),
    since the remap no longer reaches debug info and rustc rejects a second
    --remap-path-scope, so it cannot be widened from the recipe.

    Widen the scope to 'all' so rust debug info is remapped like C, restoring
    the pre-7.x behaviour that reproducible-build environments rely on.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 .../linux/linux-yocto-rt_7.2.bb               |  4 ++--
 .../linux/linux-yocto-tiny_7.2.bb             |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_7.2.bb  | 20 +++++++++----------
 3 files changed, 14 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_7.2.bb b/meta/recipes-kernel/linux/linux-yocto-rt_7.2.bb
index 9e17cb8b28..503a0ee260 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_7.2.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_7.2.bb
@@ -15,8 +15,8 @@  python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "f26e519ec35c8e267e06868e021c048bd2acc56a"
-SRCREV_meta ?= "92f4f82129cb5b0dcc665b31f704b540cf8153e3"
+SRCREV_machine ?= "3d984c8bbdb878fc240fdf9b59892e56802b278d"
+SRCREV_meta ?= "48dd3364f8af7104c75e86ea3c2bd0e55352b59b"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-7.2;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_7.2.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_7.2.bb
index f47866a688..6478274956 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_7.2.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_7.2.bb
@@ -18,8 +18,8 @@  DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_meta ?= "92f4f82129cb5b0dcc665b31f704b540cf8153e3"
+SRCREV_machine ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_meta ?= "48dd3364f8af7104c75e86ea3c2bd0e55352b59b"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_7.2.bb b/meta/recipes-kernel/linux/linux-yocto_7.2.bb
index c3412b596d..98f1041a46 100644
--- a/meta/recipes-kernel/linux/linux-yocto_7.2.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_7.2.bb
@@ -17,18 +17,18 @@  KBRANCH:qemux86-64 ?= "v7.2/standard/base"
 KBRANCH:qemuloongarch64  ?= "v7.2/standard/base"
 KBRANCH:qemumips64 ?= "v7.2/standard/mti-malta"
 
-SRCREV_machine:qemuarm ?= "50c95a086bae6860a661d425650f7777495a9d0f"
-SRCREV_machine:qemuarm64 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_machine:qemuloongarch64 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
+SRCREV_machine:qemuarm ?= "6390ad2592faab51e5930cdcd4073805ebeb3096"
+SRCREV_machine:qemuarm64 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_machine:qemuloongarch64 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
 SRCREV_machine:qemumips ?= "ab0e33fefa2a3d0366b2b8deb7cfb3be2d8dc436"
-SRCREV_machine:qemuppc ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_machine:qemuriscv64 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_machine:qemuriscv32 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_machine:qemux86 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_machine:qemux86-64 ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
+SRCREV_machine:qemuppc ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_machine:qemuriscv64 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_machine:qemuriscv32 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_machine:qemux86 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_machine:qemux86-64 ?= "eaf351389aa8a14680ad327afecb5abb78347081"
 SRCREV_machine:qemumips64 ?= "ab0e33fefa2a3d0366b2b8deb7cfb3be2d8dc436"
-SRCREV_machine ?= "fba15564479e1a6f48ff3b591c11030f7a4f7229"
-SRCREV_meta ?= "92f4f82129cb5b0dcc665b31f704b540cf8153e3"
+SRCREV_machine ?= "eaf351389aa8a14680ad327afecb5abb78347081"
+SRCREV_meta ?= "48dd3364f8af7104c75e86ea3c2bd0e55352b59b"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
 # get the <version>/base branch, which is pure upstream -stable, and the same