Skip to contentSkip to conversation

linux-bb.org_6.12: Backport C23 compile fix from linux-stable

PATCH In review Ryan Eatmon 3 participants 4 messages Mar 17

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-bb.org_6.12: Backport C23 compile fix from linux-stable

A recent change in oe-core [1] to glibc 2.43 has introduced a build error with 6.12 kernels. Backport a patch [2] from linux-stable to address this.

[1] https://git.openembedded.org/openembedded-core/commit/?id=f791d6c52870f3571e740ff7818d45bb0a717934
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=3dedeeecd1ae42a751721d83dc21877122cc1795

---
 .../files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch | 0
 meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb           | 2 ++
 2 files changed, 2 insertions(+)
 copy {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch (100%)
meta-beagle/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch renamed from meta-ti-bsp/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch +0 -0
similarity index 100%
copy from meta-ti-bsp/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
copy to meta-beagle/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb +2 -0
index 64b11045..77097d83 100644
@@ -65,3 +65,5 @@ PV:aarch64 = "6.12.43+git"
 BRANCH:aarch64 = "v6.12.43-ti-arm64-r54"
 
 KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
+
+SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch"
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20260317222406.1972700-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] linux-bb.org_6.12: Backport C23 compile fix from linux-stable
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 17 Mar 2026 17:24:06 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: db4527709c8b125dc20eee0bb76a93d0a5351a97

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: linux-bb.org_6.12: Backport C23 compile fix from linux-stable
- Commit SHA: 9f6426914740d4aa5170bac2d1f7d5f0621135d9

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Layer meta-ti-bsp is not compatible with the core layer which only supports these series: wrynose (layer is compatible with whinlatter)

#2 lore raw
Quoted 47 lines · PRC Automation via lists.yoctoproject.org

meta-ti / na / 20260317222406.1972700-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] linux-bb.org_6.12: Backport C23 compile fix from linux-stable
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 17 Mar 2026 17:24:06 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: db4527709c8b125dc20eee0bb76a93d0a5351a97

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: linux-bb.org_6.12: Backport C23 compile fix from linux-stable
- Commit SHA: 9f6426914740d4aa5170bac2d1f7d5f0621135d9

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

Quoted 8 lines

=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================

ERROR: Layer meta-ti-bsp is not compatible with the core layer which only supports these series: wrynose (layer is compatible with whinlatter)

Bwha-ha-ha! This just got merged...

Reviewed-by Denys Dmytriyenko (TI) on v1 1/1
#3 lore raw
In reply to Ryan Eatmon
Quoted 8 lines · Ryan Eatmon via lists.yoctoproject.org

A recent change in oe-core [1] to glibc 2.43 has introduced a build error with 6.12 kernels. Backport a patch [2] from linux-stable to address this.

[1] https://git.openembedded.org/openembedded-core/commit/?id=f791d6c52870f3571e740ff7818d45bb0a717934
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=3dedeeecd1ae42a751721d83dc21877122cc1795

Quoted 22 lines
---
 .../files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch | 0
 meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb           | 2 ++
 2 files changed, 2 insertions(+)
 copy {meta-ti-bsp => meta-beagle}/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch (100%)
meta-beagle/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch renamed from meta-ti-bsp/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch +0 -0
similarity index 100%
copy from meta-ti-bsp/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
copy to meta-beagle/recipes-kernel/linux/files/0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb +2 -0
index 64b11045..77097d83 100644
@@ -65,3 +65,5 @@ PV:aarch64 = "6.12.43+git"
 BRANCH:aarch64 = "v6.12.43-ti-arm64-r54"
 
 KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
+
+SRC_URI += "file://0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch"
Signature · 1 line
2.43.0