]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
linux-yocto/6.18: libpf prepare for new glibc
authorBruce Ashfield <bruce.ashfield@gmail.com>
Tue, 6 Jan 2026 15:23:49 +0000 (10:23 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Jan 2026 23:26:06 +0000 (23:26 +0000)
Integrating the following commit(s) to linux-yocto/6.18:

1/1 [
    Author: Mikhail Gavrilov
    Email: mikhail.v.gavrilov@gmail.com
    Subject: libbpf: Fix -Wdiscarded-qualifiers under C23
    Date: Sat, 6 Dec 2025 14:28:25 +0500

    glibc ≥ 2.42 (GCC 15) defaults to -std=gnu23, which promotes
    -Wdiscarded-qualifiers to an error.

    In C23, strstr() and strchr() return "const char *".

    Change variable types to const char * where the pointers are never
    modified (res, sym_sfx, next_path).

Suggested-by: Florian Weimer <fweimer@redhat.com>
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Link: https://lore.kernel.org/r/20251206092825.1471385-1-mikhail.v.gavrilov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_6.18.bb
meta/recipes-kernel/linux/linux-yocto-tiny_6.18.bb
meta/recipes-kernel/linux/linux-yocto_6.18.bb

index c54e4a0b18d2af47cf4ee0e0a0f6f21fdad956a4..4a97e69bd13d352476a01f59be3cac1adf2b258d 100644 (file)
@@ -14,7 +14,7 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "be7ae5a34401b4f6dcb48ff7ae47e67394dba79c"
+SRCREV_machine ?= "2113af81503bf1956e1fd35ebeb47b30fb4800ad"
 SRCREV_meta ?= "8ac9b1baf5d3cc1cb53a87a449b52f253dc32cab"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
index bce86a263e51e477a83c0cdc49656bfaab82e1a3..654ed412a54117f2af71f0977e0b4481198caf53 100644 (file)
@@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
+SRCREV_machine ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
 SRCREV_meta ?= "8ac9b1baf5d3cc1cb53a87a449b52f253dc32cab"
 
 PV = "${LINUX_VERSION}+git"
index a4e56acee62de05111cc4f932566e981197c762b..b341b4b658489de5c6ba7345454fe9787239717e 100644 (file)
@@ -18,17 +18,17 @@ KBRANCH:qemux86-64 ?= "v6.18/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.18/standard/base"
 KBRANCH:qemumips64 ?= "v6.18/standard/mti-malta"
 
-SRCREV_machine:qemuarm ?= "2ccfe72c732cedba580d6f485b0b4147ebe1a483"
-SRCREV_machine:qemuarm64 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
-SRCREV_machine:qemuloongarch64 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
+SRCREV_machine:qemuarm ?= "1d85405aa5f80c9a3fb644ffab29f6d952da2146"
+SRCREV_machine:qemuarm64 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
+SRCREV_machine:qemuloongarch64 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
 SRCREV_machine:qemumips ?= "62ea92a539f58803a222be98b81118403074206e"
-SRCREV_machine:qemuppc ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
-SRCREV_machine:qemuriscv64 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
-SRCREV_machine:qemuriscv32 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
-SRCREV_machine:qemux86 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
-SRCREV_machine:qemux86-64 ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
+SRCREV_machine:qemuppc ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
+SRCREV_machine:qemuriscv64 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
+SRCREV_machine:qemuriscv32 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
+SRCREV_machine:qemux86 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
+SRCREV_machine:qemux86-64 ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
 SRCREV_machine:qemumips64 ?= "9fb4ff0187c85426f21fd40d4c61b742800f65c4"
-SRCREV_machine ?= "189fc21c2a600eba9cacde0cd3fd1532681be785"
+SRCREV_machine ?= "bbf290cebd6e11b7d0fd3182ae77c94c332b8ecf"
 SRCREV_meta ?= "8ac9b1baf5d3cc1cb53a87a449b52f253dc32cab"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll