public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2 1/7] glibc: Upgrade to 2.43 release
@ 2026-03-08 15:07 Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0 Hemanth.KumarMD
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Khem Raj <raj.khem@gmail.com>

License-Update: Match to changes [1]

Added free_sized, free_aligned_sized, memset_explicit, memalignment, and new time bases (TIME_MONOTONIC, etc.).

Support for the Linux mseal system call to protect memory mappings (sealing).

Added support for the openat2 system call, allowing more granular file opening options.

New, optimized, and correctly rounded functions from the CORE-MATH project (acosh, asinh, atanh, erf, erfc, lgamma, tgamma).

Significant 4x improvements for fused multiply-add (FMA) on AMD Zen 3 by updating ldbl-96 implementation.

Improved remainder, frexp, and frexpl.

Experimental Clang Support: Added support for building with LLVM Clang (version 18+) on AArch64/x86_64 Linux.

New CPU Detection: Enhanced detection for newer CPU architectures.

64-bit atomics for 32bit x86 patch is no longer required since upstrea has dropped this logic in 2.43 release

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 ...2.42.bb => cross-localedef-native_2.43.bb} | 18 ++++----
 meta/recipes-core/glibc/glibc-common.inc      |  6 +--
 ...bc-locale_2.42.bb => glibc-locale_2.43.bb} |  0
 ...bc-mtrace_2.42.bb => glibc-mtrace_2.43.bb} |  0
 ...-scripts_2.42.bb => glibc-scripts_2.43.bb} |  0
 ...tsuite_2.42.bb => glibc-testsuite_2.43.bb} |  0
 meta/recipes-core/glibc/glibc-version.inc     |  6 +--
 ...dd-hardlink-resolver-from-util-linux.patch |  2 +-
 ...-fix-ups-hardlink-to-make-it-compile.patch |  2 +-
 ...Look-for-host-system-ld.so.cache-as-.patch |  8 ++--
 ...Fix-buffer-overrun-with-a-relocated-.patch |  4 +-
 ...Raise-the-size-of-arrays-containing-.patch | 18 ++++----
 ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 43 -------------------
 ...ake-relocatable-install-for-locales.patch} | 10 ++---
 ...all-back-to-faccessat-on-faccess2-r.patch} |  4 +-
 ...he-path-sets-wrong-config-variables.patch} |  6 +--
 ...s-building-and-testing-instructions.patch} |  2 +-
 ...libc-Help-bootstrap-cross-toolchain.patch} |  4 +-
 ...glibc-Resolve-__fpscr_values-on-SH4.patch} |  4 +-
 ...ort-cross-locale-generation-support.patch} | 24 +++++------
 ...archive-uses-a-hard-coded-locale-pa.patch} |  4 +-
 ...o-not-ask-compiler-for-finding-arch.patch} |  2 +-
 ...-the-header-between-arm-and-aarch64.patch} |  8 ++--
 ...-printf-builtin-in-nscd-init-script.patch} |  2 +-
 ...gure.ac-Set-libc_cv_rootsbindir-onl.patch} |  2 +-
 ...ll-interpreter-overridable-in-tzsel.patch} |  8 ++--
 ...se-bin-sh-default-shell-interpreter.patch} |  2 +-
 ...-failed-in-unprivileged-process-BZ-.patch} |  4 +-
 ...-tests-that-can-hang-in-oe-selftest.patch} | 10 ++---
 ...e-prefix-map-from-CFLAGS-to-ASFLAGS.patch} | 10 ++---
 .../glibc/{glibc_2.42.bb => glibc_2.43.bb}    | 35 ++++++++-------
 32 files changed, 103 insertions(+), 147 deletions(-)
 rename meta/recipes-core/glibc/{cross-localedef-native_2.42.bb => cross-localedef-native_2.43.bb} (73%)
 rename meta/recipes-core/glibc/{glibc-locale_2.42.bb => glibc-locale_2.43.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-mtrace_2.42.bb => glibc-mtrace_2.43.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-scripts_2.42.bb => glibc-scripts_2.43.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-testsuite_2.42.bb => glibc-testsuite_2.43.bb} (100%)
 delete mode 100644 meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
 rename meta/recipes-core/glibc/glibc/{0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch => 0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch => 0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch} (91%)
 rename meta/recipes-core/glibc/glibc/{0009-yes-within-the-path-sets-wrong-config-variables.patch => 0008-yes-within-the-path-sets-wrong-config-variables.patch} (98%)
 rename meta/recipes-core/glibc/glibc/{0010-eglibc-Cross-building-and-testing-instructions.patch => 0009-eglibc-Cross-building-and-testing-instructions.patch} (99%)
 rename meta/recipes-core/glibc/glibc/{0011-eglibc-Help-bootstrap-cross-toolchain.patch => 0010-eglibc-Help-bootstrap-cross-toolchain.patch} (97%)
 rename meta/recipes-core/glibc/glibc/{0012-eglibc-Resolve-__fpscr_values-on-SH4.patch => 0011-eglibc-Resolve-__fpscr_values-on-SH4.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0013-eglibc-Forward-port-cross-locale-generation-support.patch => 0012-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
 rename meta/recipes-core/glibc/glibc/{0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch => 0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch => 0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch => 0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch} (93%)
 rename meta/recipes-core/glibc/glibc/{0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch => 0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch => 0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch} (94%)
 rename meta/recipes-core/glibc/glibc/{0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch => 0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch} (87%)
 rename meta/recipes-core/glibc/glibc/{0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch => 0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch} (93%)
 rename meta/recipes-core/glibc/glibc/{0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch => 0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch} (96%)
 rename meta/recipes-core/glibc/glibc/{0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch => 0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch} (88%)
 rename meta/recipes-core/glibc/glibc/{0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch => 0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch} (79%)
 rename meta/recipes-core/glibc/{glibc_2.42.bb => glibc_2.43.bb} (80%)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 0c82a81de6..2a014f4dbd 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -11,7 +11,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "15.%"
 SDKGCCVERSION ?= "${GCCVERSION}"
-GLIBCVERSION ?= "2.42%"
+GLIBCVERSION ?= "2.43%"
 RUSTVERSION ?= "1.93.0%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.42.bb b/meta/recipes-core/glibc/cross-localedef-native_2.43.bb
similarity index 73%
rename from meta/recipes-core/glibc/cross-localedef-native_2.42.bb
rename to meta/recipes-core/glibc/cross-localedef-native_2.43.bb
index 95acb3fc56..cf48b9c83b 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.42.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.43.bb
@@ -4,9 +4,9 @@ SECTION = "libs"
 LICENSE = "LGPL-2.1-only"
 
 LIC_FILES_CHKSUM = "file://LICENSES;md5=df6e0948b55669789c30764c5fd9bc41 \
-      file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+      file://COPYINGv2;md5=570a9b3749dd0463a1778803b12a6dce \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
-      file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+      file://COPYING.LESSERv2;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 require glibc-version.inc
 
@@ -25,13 +25,13 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \
            file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \
            \
-           file://0010-eglibc-Cross-building-and-testing-instructions.patch \
-           file://0011-eglibc-Help-bootstrap-cross-toolchain.patch \
-           file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \
-           file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \
-           file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
-           file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
-           file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
+           file://0009-eglibc-Cross-building-and-testing-instructions.patch \
+           file://0010-eglibc-Help-bootstrap-cross-toolchain.patch \
+           file://0011-eglibc-Resolve-__fpscr_values-on-SH4.patch \
+           file://0012-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
+           file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
+           file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
            "
 # Makes for a rather long rev (22 characters), but...
 #
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc
index 7422ede04d..2eedd2950e 100644
--- a/meta/recipes-core/glibc/glibc-common.inc
+++ b/meta/recipes-core/glibc/glibc-common.inc
@@ -5,9 +5,9 @@ SECTION = "libs"
 LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
 
 LIC_FILES_CHKSUM ?= "file://LICENSES;md5=df6e0948b55669789c30764c5fd9bc41 \
-      file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+      file://COPYINGv2;md5=570a9b3749dd0463a1778803b12a6dce \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
-      file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+      file://COPYING.LESSERv2;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 CVE_PRODUCT = "glibc"
 
@@ -22,6 +22,6 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
 #
 COMPATIBLE_HOST:libc-musl:class-target = "null"
 
-PV = "2.42+git"
+PV = "2.43+git"
 
 TOOLCHAIN = "gcc"
diff --git a/meta/recipes-core/glibc/glibc-locale_2.42.bb b/meta/recipes-core/glibc/glibc-locale_2.43.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-locale_2.42.bb
rename to meta/recipes-core/glibc/glibc-locale_2.43.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.42.bb b/meta/recipes-core/glibc/glibc-mtrace_2.43.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-mtrace_2.42.bb
rename to meta/recipes-core/glibc/glibc-mtrace_2.43.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.42.bb b/meta/recipes-core/glibc/glibc-scripts_2.43.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-scripts_2.42.bb
rename to meta/recipes-core/glibc/glibc-scripts_2.43.bb
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.42.bb b/meta/recipes-core/glibc/glibc-testsuite_2.43.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-testsuite_2.42.bb
rename to meta/recipes-core/glibc/glibc-testsuite_2.43.bb
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index 9991c02495..89be8fcb88 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
-SRCBRANCH ?= "release/2.42/master"
-PV = "2.42+git"
-SRCREV_glibc ?= "912d89a766847649a3857985a3b5e6065c51bfd4"
+SRCBRANCH ?= "release/2.43/master"
+PV = "2.43+git"
+SRCREV_glibc ?= "856c426a753450b8c6861a5b994a564f4fc16d4b"
 SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
diff --git a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
index b63e05b2a3..5a4e03e924 100644
--- a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
+++ b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
@@ -1,4 +1,4 @@
-From 47dfcfdc8399801ee18317ec155295eef33882ef Mon Sep 17 00:00:00 2001
+From 65c1a94d4227d92b2945baea141af1937d13c290 Mon Sep 17 00:00:00 2001
 From: Jason Wessel <jason.wessel@windriver.com>
 Date: Sat, 7 Dec 2019 09:59:22 -0800
 Subject: [PATCH] localedef: Add hardlink resolver from util-linux
diff --git a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
index cbb0ad3ef9..b865c8b355 100644
--- a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
+++ b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
@@ -1,4 +1,4 @@
-From 5ca14c7ac7f389d8a1bf34bb49cdbb2029779dab Mon Sep 17 00:00:00 2001
+From 3ca5838cb04addab174361cb53725ac6bc6cd505 Mon Sep 17 00:00:00 2001
 From: Jason Wessel <jason.wessel@windriver.com>
 Date: Sat, 7 Dec 2019 10:01:37 -0800
 Subject: [PATCH] localedef: fix-ups hardlink to make it compile
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 04ae8fda97..e4d97b5827 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,4 +1,4 @@
-From 8c06fcbaf863f83b72445a8b2b70c62a5ae55fe7 Mon Sep 17 00:00:00 2001
+From 25e211815d9298f979dc29af9f0586fd8b092e33 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 3 Feb 2024 13:54:16 -0800
 Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
@@ -30,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 8 insertions(+), 8 deletions(-)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index 00b9da9ec7..bb31af89da 100644
+index 7355eef8e7..2d32ae9676 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
-@@ -2038,6 +2038,14 @@ _dl_map_new_object (struct link_map *loader, const char *name,
+@@ -2043,6 +2043,14 @@ _dl_map_new_object (struct link_map *loader, const char *name,
  			&loader->l_runpath_dirs, &realname, &fb, loader,
  			LA_SER_RUNPATH, &found_other_class);
  
@@ -48,7 +48,7 @@ index 00b9da9ec7..bb31af89da 100644
  #ifdef USE_LDCONFIG
        if (fd == -1
  	  && (__glibc_likely ((mode & __RTLD_SECURE) == 0)
-@@ -2096,14 +2104,6 @@ _dl_map_new_object (struct link_map *loader, const char *name,
+@@ -2101,14 +2109,6 @@ _dl_map_new_object (struct link_map *loader, const char *name,
  	}
  #endif
  
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index 25c824c3bc..89eb32c703 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,4 +1,4 @@
-From c89731d75a2c15be0c1402556407ddecccd3e561 Mon Sep 17 00:00:00 2001
+From e39b52defe90067e5725e99c7238246c68a2500e Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:50:00 +0000
 Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 12 insertions(+)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index bb31af89da..d331e0f01a 100644
+index 2d32ae9676..a706cef129 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -1750,7 +1750,19 @@ open_path (const char *name, size_t namelen, int mode,
diff --git a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 23163d307f..9979344c68 100644
--- a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,4 +1,4 @@
-From 3bc3bbda6092b1b6d497d24e319a10b4c8c48caf Mon Sep 17 00:00:00 2001
+From 179c398399444e772bb9f5c4ef6d8682ce390387 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:51:38 +0000
 Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  8 files changed, 15 insertions(+), 10 deletions(-)
 
 diff --git a/elf/dl-cache.c b/elf/dl-cache.c
-index f9ca40de3f..407db2aa54 100644
+index 9458ffae2a..0e80847695 100644
 --- a/elf/dl-cache.c
 +++ b/elf/dl-cache.c
 @@ -335,6 +335,10 @@ search_cache (const char *string_table, uint32_t string_table_size,
@@ -41,7 +41,7 @@ index f9ca40de3f..407db2aa54 100644
  _dl_cache_libcmp (const char *p1, const char *p2)
  {
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index d331e0f01a..ee024f7136 100644
+index a706cef129..19a93ea9a8 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -107,8 +107,8 @@ enum { ncapstr = 1, max_capstrlen = 0 };
@@ -56,7 +56,7 @@ index d331e0f01a..ee024f7136 100644
    SYSTEM_DIRS_LEN
  };
 diff --git a/elf/dl-usage.c b/elf/dl-usage.c
-index 31b27e5ea6..3cdb99caa7 100644
+index a5bc1cb4ad..7eb2ac1f1e 100644
 --- a/elf/dl-usage.c
 +++ b/elf/dl-usage.c
 @@ -24,6 +24,8 @@
@@ -87,7 +87,7 @@ index 31b27e5ea6..3cdb99caa7 100644
    print_hwcaps_subdirectories (state);
    _exit (EXIT_SUCCESS);
 diff --git a/elf/interp.c b/elf/interp.c
-index cc49e13c86..394c1ce0c5 100644
+index bdc7291966..5c401940a5 100644
 --- a/elf/interp.c
 +++ b/elf/interp.c
 @@ -18,5 +18,5 @@
@@ -98,7 +98,7 @@ index cc49e13c86..394c1ce0c5 100644
 +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
    = RUNTIME_LINKER;
 diff --git a/elf/ldconfig.c b/elf/ldconfig.c
-index 39b154c72c..c1014b773b 100644
+index aca967403a..dde1960347 100644
 --- a/elf/ldconfig.c
 +++ b/elf/ldconfig.c
 @@ -150,6 +150,8 @@ static struct argp argp =
@@ -111,7 +111,7 @@ index 39b154c72c..c1014b773b 100644
  static error_t
  parse_opt (int key, char *arg, struct argp_state *state)
 diff --git a/elf/rtld.c b/elf/rtld.c
-index 493f9696ea..2ae4a5d28b 100644
+index 29e7a4ddfa..70483518ed 100644
 --- a/elf/rtld.c
 +++ b/elf/rtld.c
 @@ -189,6 +189,7 @@ dso_name_valid_for_suid (const char *p)
@@ -123,7 +123,7 @@ index 493f9696ea..2ae4a5d28b 100644
  static void
  audit_list_init (struct audit_list *list)
 diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
-index 41ab0768c9..7c48c2b328 100644
+index a1f10ea88a..888d9a18f3 100644
 --- a/iconv/gconv_conf.c
 +++ b/iconv/gconv_conf.c
 @@ -35,7 +35,7 @@
@@ -136,7 +136,7 @@ index 41ab0768c9..7c48c2b328 100644
  /* Type to represent search path.  */
  struct path_elem
 diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
-index 0ee6571315..792308c0ab 100644
+index 26f0c1e0bd..41541a889f 100644
 --- a/sysdeps/generic/dl-cache.h
 +++ b/sysdeps/generic/dl-cache.h
 @@ -34,10 +34,6 @@
diff --git a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
deleted file mode 100644
index dc9e73832f..0000000000
--- a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 2152334c3be94993763c5abfb2911ace0b191cd1 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 31 Dec 2015 14:35:35 -0800
-Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86
-
-The fix consist of allowing 64bit atomic ops for x86.
-This should be safe for i586 and newer CPUs.
-It also makes the synchronization more efficient.
-
-Upstream-Status: Inappropriate [OE-Specific]
-
-Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- sysdeps/x86/atomic-machine.h | 7 +------
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
-diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h
-index 5452716d22..8c7408feb4 100644
---- a/sysdeps/x86/atomic-machine.h
-+++ b/sysdeps/x86/atomic-machine.h
-@@ -26,19 +26,14 @@
- #define LOCK_PREFIX "lock;"
- 
- #define USE_ATOMIC_COMPILER_BUILTINS	1
-+# define __HAVE_64B_ATOMICS		1
- 
- #ifdef __x86_64__
--# define __HAVE_64B_ATOMICS		1
- # define SP_REG				"rsp"
- # define SEG_REG			"fs"
- # define BR_CONSTRAINT			"q"
- # define IBR_CONSTRAINT			"iq"
- #else
--/* Since the Pentium, i386 CPUs have supported 64-bit atomics, but the
--   i386 psABI supplement provides only 4-byte alignment for uint64_t
--   inside structs, so it is currently not possible to use 64-bit
--   atomics on this platform.  */
--# define __HAVE_64B_ATOMICS		0
- # define SP_REG				"esp"
- # define SEG_REG			"gs"
- # define BR_CONSTRAINT			"r"
diff --git a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch
similarity index 94%
rename from meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
rename to meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch
index ca1160bf78..d9b7596265 100644
--- a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
+++ b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch
@@ -1,4 +1,4 @@
-From bfd7e42968f20a8c46716c4319def621e8c75d1e Mon Sep 17 00:00:00 2001
+From 21f7195d1d264c1534debc5fc35511c793e813bb Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 3 Aug 2018 09:55:12 -0700
 Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  4 files changed, 8 insertions(+), 7 deletions(-)
 
 diff --git a/locale/findlocale.c b/locale/findlocale.c
-index e5e2bd3974..bdd9b79f83 100644
+index d6d83d1a99..4cfd972d6d 100644
 --- a/locale/findlocale.c
 +++ b/locale/findlocale.c
 @@ -55,7 +55,7 @@ struct __locale_data *const _nl_C[] attribute_hidden =
@@ -41,7 +41,7 @@ index e5e2bd3974..bdd9b79f83 100644
    else
      /* We really have to load some data.  First see whether the name is
 diff --git a/locale/loadarchive.c b/locale/loadarchive.c
-index 058a467cde..af62f3c304 100644
+index 01c99b0156..cff04101fb 100644
 --- a/locale/loadarchive.c
 +++ b/locale/loadarchive.c
 @@ -42,7 +42,7 @@
@@ -54,7 +54,7 @@ index 058a467cde..af62f3c304 100644
  /* Size of initial mapping window, optimal if large enough to
     cover the header plus the initial locale.  */
 diff --git a/locale/localeinfo.h b/locale/localeinfo.h
-index f503792d04..c71be7f4d9 100644
+index 3109f2e20b..dfbdf3e933 100644
 --- a/locale/localeinfo.h
 +++ b/locale/localeinfo.h
 @@ -346,7 +346,7 @@ _nl_lookup_word (locale_t l, int category, int item)
@@ -67,7 +67,7 @@ index f503792d04..c71be7f4d9 100644
  /* Load the locale data for CATEGORY from the file specified by *NAME.
     If *NAME is "", use environment variables as specified by POSIX, and
 diff --git a/locale/programs/locale.c b/locale/programs/locale.c
-index 7e8832dc3b..7fa484f092 100644
+index 15f109f328..8b1b6352e7 100644
 --- a/locale/programs/locale.c
 +++ b/locale/programs/locale.c
 @@ -631,6 +631,7 @@ nameentcmp (const void *a, const void *b)
diff --git a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
similarity index 91%
rename from meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
rename to meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
index e43c81203a..ad0ceca359 100644
--- a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
+++ b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
@@ -1,4 +1,4 @@
-From bd5a7b22d32d47a7d3b9ae0deb6e2d196025e57c Mon Sep 17 00:00:00 2001
+From 82af88bf6ab520d50d326abac4ce522fc16a1a9f Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 6 Mar 2021 14:48:56 -0800
 Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 5 insertions(+), 1 deletion(-)
 
 diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c
-index edb22ebce6..b67684a3ba 100644
+index 97efb740e5..84f95a40fb 100644
 --- a/sysdeps/unix/sysv/linux/faccessat.c
 +++ b/sysdeps/unix/sysv/linux/faccessat.c
 @@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag)
diff --git a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch
similarity index 98%
rename from meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
rename to meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch
index dfc734a707..df49a2fb64 100644
--- a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,4 +1,4 @@
-From 8a67937e136ba22f062802c1df276604b3f58579 Mon Sep 17 00:00:00 2001
+From 0804cd4b41d81095705b8f7f93c222277201dc05 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:31:06 +0000
 Subject: [PATCH] 'yes' within the path sets wrong config variables
@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
 
 diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure
-index f364e65fe7..258a344620 100755
+index 44b833ea1d..e49e45306c 100755
 --- a/sysdeps/aarch64/configure
 +++ b/sysdeps/aarch64/configure
 @@ -157,12 +157,12 @@ else case e in #(
@@ -50,7 +50,7 @@ index f364e65fe7..258a344620 100755
    libc_cv_aarch64_be=yes
  else case e in #(
 diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac
-index a9a1b747f1..879db7c57c 100644
+index b9981861f6..b52cbd88c8 100644
 --- a/sysdeps/aarch64/configure.ac
 +++ b/sysdeps/aarch64/configure.ac
 @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE)
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch
similarity index 99%
rename from meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
rename to meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch
index 25330faef5..4fdc3c6596 100644
--- a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,4 +1,4 @@
-From b8806cd4e2595bbad4d7c1e39554a382572e1e94 Mon Sep 17 00:00:00 2001
+From d1186e02e67f4c839e2b286c3dca01b9d86f66eb Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:42:58 +0000
 Subject: [PATCH] eglibc: Cross building and testing instructions
diff --git a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
rename to meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch
index d5ad72d8dd..b61e2afcf8 100644
--- a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,4 +1,4 @@
-From 86e15dc8bc5c4756bc6fa9326226ada7721b8c3c Mon Sep 17 00:00:00 2001
+From 082861ced3a5dd940f563caae87674d4ae317f83 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:49:28 +0000
 Subject: [PATCH] eglibc: Help bootstrap cross toolchain
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  create mode 100644 include/stubs-bootstrap.h
 
 diff --git a/Makefile b/Makefile
-index cb927fb9f9..e62fb30d11 100644
+index f81572c20a..127b91af5b 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -79,9 +79,18 @@ subdir-dirs = include
diff --git a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch
similarity index 94%
rename from meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
rename to meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch
index 92c1821dbf..11bd376cfc 100644
--- a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
+++ b/meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch
@@ -1,4 +1,4 @@
-From 41d83a92776e77bf82461d0219ad9720702b20c4 Mon Sep 17 00:00:00 2001
+From 807342e306756b73bbb47a0a68d415a204f31263 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:55:53 +0000
 Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4
@@ -33,7 +33,7 @@ index 3ad702e165..931985b5d6 100644
      # a*
      alphasort64;
 diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
-index db898e9e39..6e2972e814 100644
+index fcbc30c9e0..5a9b2022b7 100644
 --- a/sysdeps/unix/sysv/linux/sh/sysdep.S
 +++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
 @@ -30,3 +30,14 @@ ENTRY (__syscall_error)
diff --git a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
rename to meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch
index 0bad6d7ba8..c87f193604 100644
--- a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,4 +1,4 @@
-From ac8410f1f87a9b93107a0d6a46707fbe4532d154 Mon Sep 17 00:00:00 2001
+From 6e7ac803914dbe730521c41ef0ba9803eded0ddd Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:33:49 +0000
 Subject: [PATCH] eglibc: Forward port cross locale generation support
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  create mode 100644 locale/catnames.c
 
 diff --git a/locale/Makefile b/locale/Makefile
-index 9d9c1a7691..bf271fd0a8 100644
+index fc38c02114..05dd3066f3 100644
 --- a/locale/Makefile
 +++ b/locale/Makefile
 @@ -30,6 +30,7 @@ headers = \
@@ -87,7 +87,7 @@ index 0000000000..538f3f5edb
 +    [LC_ALL] = sizeof ("LC_ALL") - 1
 +  };
 diff --git a/locale/localeinfo.h b/locale/localeinfo.h
-index c71be7f4d9..7e3cf2b920 100644
+index dfbdf3e933..ef496a8bd1 100644
 --- a/locale/localeinfo.h
 +++ b/locale/localeinfo.h
 @@ -245,7 +245,7 @@ extern __thread locale_t __libc_tsd_LOCALE
@@ -100,7 +100,7 @@ index c71be7f4d9..7e3cf2b920 100644
  # define NL_CURRENT_INDIRECT	1
  #endif
 diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
-index e635a01ede..10e34a6da9 100644
+index fdf60a453a..b0e3f78453 100644
 --- a/locale/programs/charmap-dir.c
 +++ b/locale/programs/charmap-dir.c
 @@ -18,7 +18,9 @@
@@ -146,7 +146,7 @@ index e635a01ede..10e34a6da9 100644
    return NULL;
  }
 diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
-index 7de3ba064d..3256427d21 100644
+index 40dc62b94c..960394c616 100644
 --- a/locale/programs/ld-collate.c
 +++ b/locale/programs/ld-collate.c
 @@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -195,7 +195,7 @@ index 7de3ba064d..3256427d21 100644
  			 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
  
 diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
-index 15fd39c637..d4c5e0c9e7 100644
+index f887cab7f4..cd1dac19f9 100644
 --- a/locale/programs/ld-ctype.c
 +++ b/locale/programs/ld-ctype.c
 @@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -277,7 +277,7 @@ index 15fd39c637..d4c5e0c9e7 100644
  	      srunp = srunp->next;
  	    }
 diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
-index 9529d7945a..554454b9c1 100644
+index a9b5a03239..28157493f3 100644
 --- a/locale/programs/ld-time.c
 +++ b/locale/programs/ld-time.c
 @@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME");
@@ -346,7 +346,7 @@ index 9529d7945a..554454b9c1 100644
  
  
 diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
-index 6f40ecf77a..573d051d0a 100644
+index d3c45fea35..9faae75f05 100644
 --- a/locale/programs/linereader.c
 +++ b/locale/programs/linereader.c
 @@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -359,7 +359,7 @@ index 6f40ecf77a..573d051d0a 100644
    lr_buffer_init (&lrb);
  
 diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
-index 7b66cd279c..dd0c3f1562 100644
+index 0ab4ec36c2..cb71249615 100644
 --- a/locale/programs/localedef.c
 +++ b/locale/programs/localedef.c
 @@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -405,7 +405,7 @@ index 7b66cd279c..dd0c3f1562 100644
        force_output = 1;
        break;
 diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
-index b54fcbbceb..6110c7b369 100644
+index 7f526ec285..a88f26c8c5 100644
 --- a/locale/programs/locfile.c
 +++ b/locale/programs/locfile.c
 @@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -428,7 +428,7 @@ index b54fcbbceb..6110c7b369 100644
  
  /* Record that FILE's next element is the 32-bit integer VALUE.  */
 diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
-index 9103fade14..ecd878563d 100644
+index 740db0ad7e..21dea68aed 100644
 --- a/locale/programs/locfile.h
 +++ b/locale/programs/locfile.h
 @@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -517,7 +517,7 @@ index 9103fade14..ecd878563d 100644
 +
  #endif /* locfile.h */
 diff --git a/locale/setlocale.c b/locale/setlocale.c
-index c04740ca19..12deadeb24 100644
+index 434907fe32..90c5dd2f2b 100644
 --- a/locale/setlocale.c
 +++ b/locale/setlocale.c
 @@ -63,35 +63,6 @@ static char *const _nl_current_used[] =
diff --git a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch b/meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
rename to meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
index 62f7ca74c5..64d8bdcb75 100644
--- a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
+++ b/meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
@@ -1,4 +1,4 @@
-From 1985a7225e52d8d56e2e48a5ecab83bba8178f21 Mon Sep 17 00:00:00 2001
+From aca6f615886e3c1829c816146cd7f9912de73933 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 3 Aug 2018 09:42:06 -0700
 Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 25 insertions(+), 10 deletions(-)
 
 diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
-index ad025a819b..0ca7465bcc 100644
+index 445f50b70f..812143b2e0 100644
 --- a/locale/programs/locarchive.c
 +++ b/locale/programs/locarchive.c
 @@ -339,12 +339,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
diff --git a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
rename to meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch
index a8a0c17774..85526371c9 100644
--- a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
+++ b/meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch
@@ -1,4 +1,4 @@
-From 947d62bf6a6d341aaba3143df4a644126d2c34f1 Mon Sep 17 00:00:00 2001
+From 130f5c7b15cd73897013239082fbf98166e2378d Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 7 Aug 2020 14:31:16 -0700
 Subject: [PATCH] powerpc: Do not ask compiler for finding arch
diff --git a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
similarity index 93%
rename from meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
rename to meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
index 52ba027c13..a338c7498b 100644
--- a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
+++ b/meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
@@ -1,4 +1,4 @@
-From 14a3c302c1394781b19ff7fdb5c6f3c06aca5d51 Mon Sep 17 00:00:00 2001
+From 139b0ff379a5fc9b00a4ac3592119bcecd6bc9df Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 15 May 2020 17:05:45 -0700
 Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h
 
 diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h
-index 33d0e20566..57bbda568e 100644
+index c6a6cc7196..aa4f95c5d1 100644
 --- a/sysdeps/aarch64/bits/wordsize.h
 +++ b/sysdeps/aarch64/bits/wordsize.h
 @@ -17,5 +17,15 @@
@@ -40,11 +40,11 @@ index 33d0e20566..57bbda568e 100644
 +#endif
 diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h
 deleted file mode 100644
-index be457d84d3..0000000000
+index 2f64147ce3..0000000000
 --- a/sysdeps/arm/bits/wordsize.h
 +++ /dev/null
 @@ -1,21 +0,0 @@
--/* Copyright (C) 1999-2025 Free Software Foundation, Inc.
+-/* Copyright (C) 1999-2026 Free Software Foundation, Inc.
 -   This file is part of the GNU C Library.
 -
 -   The GNU C Library is free software; you can redistribute it and/or
diff --git a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
rename to meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
index f0dead3005..fafcb74d68 100644
--- a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
@@ -1,4 +1,4 @@
-From 806d6d37765d3a1454720c194758304768171f95 Mon Sep 17 00:00:00 2001
+From 5aa942398e125fa0e8edb3558cc480aac0a29e8d Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 14:33:02 -0800
 Subject: [PATCH] Replace echo with printf builtin in nscd init script
diff --git a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch b/meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
similarity index 94%
rename from meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
rename to meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
index b0e4d587b8..5eab29f22a 100644
--- a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
+++ b/meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
@@ -1,4 +1,4 @@
-From 6fca57088d013e22f9204570f72ac398b59b6689 Mon Sep 17 00:00:00 2001
+From bb16170c7584796afdfe4433d4f0315b00d3a164 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:27:10 +0000
 Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its
diff --git a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
similarity index 87%
rename from meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
rename to meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
index b95c2eb6d8..dc493dd3b5 100644
--- a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
+++ b/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
@@ -1,4 +1,4 @@
-From 7bab0da0d299f7c1cf4111b0da2510fe0bc83a01 Mon Sep 17 00:00:00 2001
+From 21d5bbd98ac37ebff143836f3bf2964315e432c6 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 9 Dec 2021 15:14:42 -0800
 Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 10 insertions(+)
 
 diff --git a/Makeconfig b/Makeconfig
-index 7102d922b2..38a0b4a569 100644
+index 01d02180b9..603ed955c4 100644
 --- a/Makeconfig
 +++ b/Makeconfig
 @@ -309,6 +309,15 @@ ifndef sysincludedir
@@ -34,10 +34,10 @@ index 7102d922b2..38a0b4a569 100644
  # Commands to install files.
  ifndef INSTALL_DATA
 diff --git a/timezone/Makefile b/timezone/Makefile
-index ebe5cf73a1..b5fa38f4d7 100644
+index 386731ab99..5d65520284 100644
 --- a/timezone/Makefile
 +++ b/timezone/Makefile
-@@ -143,6 +143,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
+@@ -145,6 +145,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
  	    -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
  	    -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
  	    -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \
diff --git a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
similarity index 93%
rename from meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
rename to meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
index ea4c0afb09..2973e25ce3 100644
--- a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
+++ b/meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
@@ -1,4 +1,4 @@
-From 38dc3d019fbfa6c4b15f242b46c95ad35f427594 Mon Sep 17 00:00:00 2001
+From 1c0987c983f3c5d1bbba92dba10781e61029cdae Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 15 Dec 2021 21:47:53 -0800
 Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter
diff --git a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch b/meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
rename to meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
index 09d5bf745e..91dc75e37b 100644
--- a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
+++ b/meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
@@ -1,4 +1,4 @@
-From 7c5d4f1c2161c0ff4fc0057ff0f1382bd784e06a Mon Sep 17 00:00:00 2001
+From 4d57cbea64811e854196ab5874aa43ca28e575b4 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Sun, 29 Aug 2021 20:49:16 +0800
 Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287]
@@ -72,7 +72,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
-index 9a1f27d017..9a48340055 100644
+index edb0a4b7cd..7fc9453173 100644
 --- a/sysdeps/unix/sysv/linux/clone-internal.c
 +++ b/sysdeps/unix/sysv/linux/clone-internal.c
 @@ -98,7 +98,7 @@ __clone_internal (struct clone_args *cl_args,
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
similarity index 88%
rename from meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
rename to meta/recipes-core/glibc/glibc/0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
index 1dc2d694ef..68d49c4278 100644
--- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
+++ b/meta/recipes-core/glibc/glibc/0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
@@ -1,4 +1,4 @@
-From 2630f675276f3be0d045f5ca7fd21b1e422a03f6 Mon Sep 17 00:00:00 2001
+From a410b7a7e4cd43dd5fbf351bde6b60a4baeb5edd Mon Sep 17 00:00:00 2001
 From: Yash Shinde <Yash.Shinde@windriver.com>
 Date: Fri, 5 Apr 2024 08:24:36 -0700
 Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
-index c47cbdf428..1c4f3509ac 100644
+index 955d316362..fd072396dc 100644
 --- a/sysdeps/unix/sysv/linux/Makefile
 +++ b/sysdeps/unix/sysv/linux/Makefile
-@@ -220,7 +220,6 @@ tests += \
+@@ -225,7 +225,6 @@ tests += \
    tst-sched-affinity-inheritance \
    tst-sched_setattr \
    tst-sched_setattr-thread \
@@ -31,7 +31,7 @@ index c47cbdf428..1c4f3509ac 100644
    tst-sigtimedwait \
    tst-sync_file_range \
    tst-syscall-restart \
-@@ -232,6 +231,8 @@ tests += \
+@@ -237,6 +236,8 @@ tests += \
    tst-timerfd \
    tst-ttyname-direct \
    tst-ttyname-namespace \
@@ -40,7 +40,7 @@ index c47cbdf428..1c4f3509ac 100644
    # tests
  
  # process_madvise requires CAP_SYS_ADMIN.
-@@ -274,9 +275,10 @@ tests-time64 += \
+@@ -279,9 +280,10 @@ tests-time64 += \
    tst-ntp_gettimex-time64 \
    tst-ppoll-time64 \
    tst-prctl-time64 \
diff --git a/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
similarity index 79%
rename from meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
rename to meta/recipes-core/glibc/glibc/0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
index 81e580fc72..40c0b34bdf 100644
--- a/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
+++ b/meta/recipes-core/glibc/glibc/0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
@@ -1,4 +1,4 @@
-From 111cb0b1f7410eea49ed8869c74352a11cdcbf0f Mon Sep 17 00:00:00 2001
+From c52e8734d043ed43d21370b2c29104fdc8cc8cb7 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 16 Apr 2025 19:51:01 -0700
 Subject: [PATCH] Propagate -ffile-prefix-map from CFLAGS to ASFLAGS.
@@ -14,15 +14,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makeconfig b/Makeconfig
-index 38a0b4a569..21a6ee94c1 100644
+index 603ed955c4..2f0e5d25f8 100644
 --- a/Makeconfig
 +++ b/Makeconfig
-@@ -1191,7 +1191,7 @@ endif
+@@ -1194,7 +1194,7 @@ endif
  
  # The assembler can generate debug information too.
  ifndef ASFLAGS
--ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
-+ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=%,$(CFLAGS))
+-ASFLAGS := $(filter -g% -fdebug-prefix-map=% -m%,$(CFLAGS))
++ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=% -m%,$(CFLAGS))
  endif
  override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) $(as-sframe)
  
diff --git a/meta/recipes-core/glibc/glibc_2.42.bb b/meta/recipes-core/glibc/glibc_2.43.bb
similarity index 80%
rename from meta/recipes-core/glibc/glibc_2.42.bb
rename to meta/recipes-core/glibc/glibc_2.43.bb
index 76ef521a1c..7a2089140c 100644
--- a/meta/recipes-core/glibc/glibc_2.42.bb
+++ b/meta/recipes-core/glibc/glibc_2.43.bb
@@ -27,9 +27,8 @@ NATIVESDKFIXES:class-nativesdk = "\
            file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
            file://0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \
            file://0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \
-           file://0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch \
-           file://0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch \
-           file://0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch \
+           file://0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch \
+           file://0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch \
 "
 
 SRC_URI =  "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
@@ -38,21 +37,21 @@ SRC_URI =  "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://makedbs.sh \
            \
            ${NATIVESDKFIXES} \
-           file://0009-yes-within-the-path-sets-wrong-config-variables.patch \
-           file://0010-eglibc-Cross-building-and-testing-instructions.patch \
-           file://0011-eglibc-Help-bootstrap-cross-toolchain.patch \
-           file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \
-           file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \
-           file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
-           file://0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch \
-           file://0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
-           file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
-           file://0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \
-           file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
-           file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \
-           file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
-           file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
-           file://0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \
+           file://0008-yes-within-the-path-sets-wrong-config-variables.patch \
+           file://0009-eglibc-Cross-building-and-testing-instructions.patch \
+           file://0010-eglibc-Help-bootstrap-cross-toolchain.patch \
+           file://0011-eglibc-Resolve-__fpscr_values-on-SH4.patch \
+           file://0012-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
+           file://0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch \
+           file://0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
+           file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
+           file://0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \
+           file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
+           file://0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \
+           file://0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
+           file://0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
+           file://0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \
 "
 B = "${WORKDIR}/build-${TARGET_SYS}"
 
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-09  6:56   ` [OE-core] " Mathieu Dubois-Briand
  2026-03-08 15:07 ` [PATCH v2 3/7] pseudo: fix for build with glibc-2.43 Hemanth.KumarMD
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Randy MacLeod <Randy.MacLeod@windriver.com>

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 ..._0.26.bb => gettext-minimal-native_1.0.bb} |  3 ++-
 meta/recipes-core/gettext/gettext-sources.inc |  2 +-
 .../gettext/gettext/use-pkgconfig.patch       | 25 +++++++++++--------
 .../{gettext_0.26.bb => gettext_1.0.bb}       |  0
 4 files changed, 18 insertions(+), 12 deletions(-)
 rename meta/recipes-core/gettext/{gettext-minimal-native_0.26.bb => gettext-minimal-native_1.0.bb} (88%)
 rename meta/recipes-core/gettext/{gettext_0.26.bb => gettext_1.0.bb} (100%)

diff --git a/meta/recipes-core/gettext/gettext-minimal-native_0.26.bb b/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
similarity index 88%
rename from meta/recipes-core/gettext/gettext-minimal-native_0.26.bb
rename to meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
index b5c32d0786..28392a26b5 100644
--- a/meta/recipes-core/gettext/gettext-minimal-native_0.26.bb
+++ b/meta/recipes-core/gettext/gettext-minimal-native_1.0.bb
@@ -44,5 +44,6 @@ do_install () {
 	cp ${S}/gettext-runtime/po/Makefile.in.in ${D}${datadir}/gettext/po/
 	cp ${S}/gettext-runtime/po/remove-potcdate.sed ${D}${datadir}/gettext/po/
 	# The gettext recipe also installs the same Makevars.template at the same place, rename it
-	cp ${S}/gettext-tools/po/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal
+	# cp ${S}/gettext-tools/po/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal
+	cp ${S}/gettext-tools/wizard/po-templates/traditional/Makevars.template ${D}${datadir}/gettext/po/Makevars.template.minimal 
 }
diff --git a/meta/recipes-core/gettext/gettext-sources.inc b/meta/recipes-core/gettext/gettext-sources.inc
index 2ddf47334d..02ad72fc9f 100644
--- a/meta/recipes-core/gettext/gettext-sources.inc
+++ b/meta/recipes-core/gettext/gettext-sources.inc
@@ -1,3 +1,3 @@
 HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
 SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz"
-SRC_URI[sha256sum] = "39acf4b0371e9b110b60005562aace5b3631fed9b1bb9ecccfc7f56e58bb1d7f"
+SRC_URI[sha256sum] = "85d99b79c981a404874c02e0342176cf75c7698e2b51fe41031cf6526d974f1a"
diff --git a/meta/recipes-core/gettext/gettext/use-pkgconfig.patch b/meta/recipes-core/gettext/gettext/use-pkgconfig.patch
index 2b9fef1e94..031a44d4dd 100644
--- a/meta/recipes-core/gettext/gettext/use-pkgconfig.patch
+++ b/meta/recipes-core/gettext/gettext/use-pkgconfig.patch
@@ -27,7 +27,7 @@ diff --git a/gettext-tools/gnulib-m4/libxml.m4 b/gettext-tools/gnulib-m4/libxml.
 index c7160d7..8e46cc7 100644
 --- a/gettext-tools/gnulib-m4/libxml.m4
 +++ b/gettext-tools/gnulib-m4/libxml.m4
-@@ -14,6 +14,7 @@ dnl gl_LIBXML(FORCE-INCLUDED)
+@@ -15,6 +15,7 @@ dnl gl_LIBXML(FORCE-INCLUDED)
  dnl   forces the use of the included or an external libxml.
  AC_DEFUN([gl_LIBXML],
  [
@@ -35,7 +35,7 @@ index c7160d7..8e46cc7 100644
    AC_REQUIRE([AM_ICONV_LINK])
  
    ifelse([$1], , [
-@@ -31,106 +32,10 @@ AC_DEFUN([gl_LIBXML],
+@@ -33,106 +34,10 @@ AC_DEFUN([gl_LIBXML],
    INCXML=
    ifelse([$1], [yes], , [
      if test "$gl_cv_libxml_use_included" != yes; then
@@ -399,7 +399,7 @@ diff --git a/gettext-tools/gnulib-m4/selinux-selinux-h.m4 b/gettext-tools/gnulib
 index e2613fa..2a733a7 100644
 --- a/gettext-tools/gnulib-m4/selinux-selinux-h.m4
 +++ b/gettext-tools/gnulib-m4/selinux-selinux-h.m4
-@@ -71,6 +71,7 @@ AC_DEFUN([gl_LIBSELINUX],
+@@ -71,6 +71,7 @@
  [
    AC_REQUIRE([AC_CANONICAL_HOST])
    AC_REQUIRE([AC_CANONICAL_BUILD])
@@ -407,24 +407,29 @@ index e2613fa..2a733a7 100644
  
    AC_ARG_WITH([selinux],
      AS_HELP_STRING([[--without-selinux]], [do not use SELinux, even on systems with SELinux]),
-@@ -79,19 +80,8 @@ AC_DEFUN([gl_LIBSELINUX],
+@@ -79,24 +80,8 @@
    LIB_SELINUX=
    if test "$with_selinux" != no; then
      gl_saved_LIBS=$LIBS
--    AC_SEARCH_LIBS([setfilecon], [selinux],
--                   [test "$ac_cv_search_setfilecon" = "none required" ||
--                    LIB_SELINUX=$ac_cv_search_setfilecon])
+-    dnl On Android, in Termux, prefer libandroid-selinux.so, because it
+-    dnl defines many more API functions than /system/lib/libselinux.so.
+-    AC_SEARCH_LIBS([getfilecon_raw], [android-selinux selinux],
+-                   [test "$ac_cv_search_getfilecon_raw" = "none required" ||
+-                    LIB_SELINUX=$ac_cv_search_getfilecon_raw])
 +    PKG_CHECK_MODULES([SELINUX], [libselinux], [LIB_SELINUX=$SELINUX_LIBS])
      LIBS=$gl_saved_LIBS
    fi
    AC_SUBST([LIB_SELINUX])
 -
 -  # Warn if SELinux is found but libselinux is absent;
--  if test "$ac_cv_search_setfilecon" = no; then
--    if test "$host" = "$build" && test -d /selinux; then
+-  if test "$ac_cv_search_getfilecon_raw" = no; then
+-    if test "$host" = "$build" \
+-       && { test -d /sys/fs/selinux || test -d /selinux; }; then
 -      AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
 -      AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
 -    fi
--    with_selinux=no
+-    if test "$with_selinux" = maybe; then
+-      with_selinux=no
+-    fi
 -  fi
  ])
diff --git a/meta/recipes-core/gettext/gettext_0.26.bb b/meta/recipes-core/gettext/gettext_1.0.bb
similarity index 100%
rename from meta/recipes-core/gettext/gettext_0.26.bb
rename to meta/recipes-core/gettext/gettext_1.0.bb
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0 Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-08 16:37   ` [OE-core] " Martin Jansa
  2026-03-08 15:07 ` [PATCH v2 4/7] gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43 Hemanth.KumarMD
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Martin Jansa <martin.jansa@gmail.com>

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
 meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
 2 files changed, 55 insertions(+)
 create mode 100644 meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch

diff --git a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
new file mode 100644
index 0000000000..eda2593bdf
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
@@ -0,0 +1,54 @@
+From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
+From: Martin Jansa <martin.jansa@gmail.com>
+Date: Thu, 5 Mar 2026 17:53:34 +0100
+Subject: [PATCH] openat2: use const struct open_how
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+To match
+https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
+
+Otherwise it fails to build with glibc-2.43:
+
+In file included from pseudo_wrappers.c:300:
+pseudo_wrapfuncs.c: At top level:
+pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
+11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
+      | ^~~~~~~
+In file included from /usr/include/bits/fcntl-linux.h:492,
+                 from /usr/include/bits/fcntl.h:61,
+                 from /usr/include/fcntl.h:35,
+                 from pseudo_wrappers.c:23:
+/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
+   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
+      | ^~~~~~~
+make: *** [Makefile:162: pseudo_wrappers.o] Error 1
+
+Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
+Upstream-Status: Pending
+---
+ ports/linux/openat2/guts/openat2.c | 2 +-
+ ports/linux/openat2/wrapfuncs.in   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
+index da01b31..366fb95 100644
+--- a/ports/linux/openat2/guts/openat2.c
++++ b/ports/linux/openat2/guts/openat2.c
+@@ -4,7 +4,7 @@
+  *
+  * SPDX-License-Identifier: LGPL-2.1-only
+  *
+- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
+  *	int rc = -1;
+  */
+ 
+diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
+index 96ae8a7..2f1e716 100644
+--- a/ports/linux/openat2/wrapfuncs.in
++++ b/ports/linux/openat2/wrapfuncs.in
+@@ -1 +1 @@
+-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index a26a205a16..b34525055d 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,6 +1,7 @@
 require pseudo.inc
 
 SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
+           file://0001-openat2-use-const-struct-open_how.patch \
            file://fallback-passwd \
            file://fallback-group \
            "
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 4/7] gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0 Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 3/7] pseudo: fix for build with glibc-2.43 Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 5/7] libxcrypt: " Hemanth.KumarMD
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

With the glibc 2.43 upgrade, building gcc-runtime triggers a
-Wdiscarded-qualifiers warning in libgomp/affinity-fmt.c which
becomes a build failure due to -Werror.

Add -Wno-error=discarded-qualifiers to CFLAGS as a workaround until
the upstream const-correctness issue in libgomp is resolved.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index c4e1c5b9a5..07db9d6fcc 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -7,7 +7,8 @@ SUMMARY = "Runtime libraries from GCC"
 LICENSE = "GPL-3.0-with-GCC-exception"
 
 CXXFLAGS:remove = "-fvisibility-inlines-hidden"
-
+CFLAGS += "-Wno-error=discarded-qualifiers"
+ 
 EXTRA_OECONF_PATHS = "\
     --with-gxx-include-dir=${includedir}/c++/${BINV} \
     --with-sysroot=/not/exist \
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 5/7] libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
                   ` (2 preceding siblings ...)
  2026-03-08 15:07 ` [PATCH v2 4/7] gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43 Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 6/7] barebox-tools: fix " Hemanth.KumarMD
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

With the glibc 2.43 upgrade, building libxcrypt triggers a
-Wdiscarded-qualifiers warning in crypt-gost-yescrypt.c and
crypt-sm3-yescrypt.c which becomes a build failure due to -Werror.

Add -Wno-error=discarded-qualifiers to CFLAGS as a workaround until
the issue is fixed in libxcrypt upstream.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 meta/recipes-core/libxcrypt/libxcrypt.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index 9aed0b9d81..de79fe3c78 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -17,6 +17,7 @@ PROVIDES = "virtual/crypt"
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
 TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
 CPPFLAGS:append:class-nativesdk = " -Wno-error"
+CFLAGS += "-Wno-error=discarded-qualifiers"
 
 API = "--disable-obsolete-api"
 EXTRA_OECONF += "${API}"
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 6/7] barebox-tools: fix build failure with glibc 2.43
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
                   ` (3 preceding siblings ...)
  2026-03-08 15:07 ` [PATCH v2 5/7] libxcrypt: " Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-08 15:07 ` [PATCH v2 7/7] ltp: workaround openat2 " Hemanth.KumarMD
  2026-03-09  7:13 ` [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release Mathieu Dubois-Briand
  6 siblings, 0 replies; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 meta/recipes-bsp/barebox/barebox-tools.bb     |  2 +
 ...x-tools-fix-glibc-2.43-openat2-build.patch | 43 +++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch

diff --git a/meta/recipes-bsp/barebox/barebox-tools.bb b/meta/recipes-bsp/barebox/barebox-tools.bb
index eb327306d9..1459f48db2 100644
--- a/meta/recipes-bsp/barebox/barebox-tools.bb
+++ b/meta/recipes-bsp/barebox/barebox-tools.bb
@@ -2,6 +2,8 @@ SUMMARY = "barebox bootloader tools"
 
 require barebox-common.inc
 
+SRC_URI += "file://0001-barebox-tools-fix-glibc-2.43-openat2-build.patch"
+
 LICENSE = "GPL-2.0-only"
 
 DEPENDS = "bison-native flex-native libusb1"
diff --git a/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch b/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch
new file mode 100644
index 0000000000..3f42ce76e8
--- /dev/null
+++ b/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch
@@ -0,0 +1,43 @@
+barebox: fix build failure with glibc 2.43
+
+glibc 2.43 introduces linux/openat2.h through the fcntl include chain
+(bits/fcntl-linux.h -> linux/openat2.h). This header expects the
+__u64 type to be defined before inclusion.
+
+In barebox scripts/include/linux/types.h the header <fcntl.h> was
+included before the __u64 typedef, causing build failures such as:
+
+  linux/openat2.h:20:9: error: unknown type name '__u64'
+
+Move the inclusion of <fcntl.h> after the typedef definitions so that
+__u64 and related types are defined before linux/openat2.h is parsed.
+
+Upstream-Status: Pending
+
+Signed-off-by: Hemanth Kumar <hemanth.kumar@example.com>
+---
+
+ scripts/include/linux/types.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/scripts/include/linux/types.h b/scripts/include/linux/types.h
+index 5b01333..33cea19 100644
+--- a/scripts/include/linux/types.h
++++ b/scripts/include/linux/types.h
+@@ -4,7 +4,6 @@
+ #include <stdbool.h>
+ #include <stddef.h>
+ #include <stdint.h>
+-#include <fcntl.h>
+
+ typedef uint64_t __u64;
+ typedef int64_t __s64;
+@@ -15,6 +14,8 @@ typedef int16_t __s16;
+ typedef uint8_t __u8;
+ typedef int8_t __s8;
+
++#include <fcntl.h>
++
+ #ifndef __linux__
+ typedef long long loff_t;
+ #endif
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [PATCH v2 7/7] ltp: workaround openat2 build failure with glibc 2.43
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
                   ` (4 preceding siblings ...)
  2026-03-08 15:07 ` [PATCH v2 6/7] barebox-tools: fix " Hemanth.KumarMD
@ 2026-03-08 15:07 ` Hemanth.KumarMD
  2026-03-08 16:58   ` [OE-core] " Mathieu Dubois-Briand
  2026-03-09  7:13 ` [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release Mathieu Dubois-Briand
  6 siblings, 1 reply; 20+ messages in thread
From: Hemanth.KumarMD @ 2026-03-08 15:07 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 ...tp-fix-build-failure-with-glibc-2.43.patch | 34 +++++++++++++++++++
 meta/recipes-extended/ltp/ltp_20260130.bb     |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch

diff --git a/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch b/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch
new file mode 100644
index 0000000000..148731f782
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch
@@ -0,0 +1,34 @@
+ltp: fix build failure with glibc 2.43
+
+glibc 2.43 added native openat2() support for the first time. This
+caused compatibility issues with LTP's internal openat2 definitions
+in lapi/openat2.h. LTP's configure detects glibc's openat2() and
+sets HAVE_OPENAT2=1, causing lapi/openat2.h to skip its own
+definitions of struct open_how, RESOLVE_* constants and the openat2()
+wrapper, resulting in a build failure.
+
+Undef HAVE_OPENAT2 in lapi/openat2.h to force LTP to always use its
+own internal definitions. The proper fix will be investigated and
+submitted upstream ASAP.
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
+
+diff --git a/include/lapi/openat2.h b/include/lapi/openat2.h
+index 03327bdb7..bd44573c9 100644
+--- a/include/lapi/openat2.h
++++ b/include/lapi/openat2.h
+@@ -14,6 +14,11 @@
+
+ #include "config.h"
+
++/* glibc 2.43 provides openat2 but LTP uses its own syscall wrapper */
++#ifdef HAVE_OPENAT2
++#undef HAVE_OPENAT2
++#endif
++
+ #ifndef HAVE_OPENAT2
+ /*
+  * Arguments for how openat2(2) should open the target path. If only @flags and
+
diff --git a/meta/recipes-extended/ltp/ltp_20260130.bb b/meta/recipes-extended/ltp/ltp_20260130.bb
index bb3b7e9ca3..57e3120839 100644
--- a/meta/recipes-extended/ltp/ltp_20260130.bb
+++ b/meta/recipes-extended/ltp/ltp_20260130.bb
@@ -30,6 +30,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht
            file://0001-Remove-OOM-tests-from-runtest-mm.patch \
            file://0001-Add-__clear_cache-declaration-for-clang.patch \
            file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \
+           file://0001-openat2-fix-glibc-2.43-build.patch \
           "
 
 inherit autotools-brokensep pkgconfig
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-03-08 15:07 ` [PATCH v2 3/7] pseudo: fix for build with glibc-2.43 Hemanth.KumarMD
@ 2026-03-08 16:37   ` Martin Jansa
  2026-04-07  8:54     ` Böszörményi Zoltán
       [not found]     ` <18A40738790ACBCC.657799@lists.openembedded.org>
  0 siblings, 2 replies; 20+ messages in thread
From: Martin Jansa @ 2026-03-08 16:37 UTC (permalink / raw)
  To: Hemanth.KumarMD; +Cc: openembedded-core, Sundeep.Kokkonda, Randy.MacLeod

Hi,

this is already merged in the repo and there is SRCREV bump which
includes that change from Richard in master-next.

Regards,

On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
lists.openembedded.org
<Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
>
> From: Martin Jansa <martin.jansa@gmail.com>
>
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---
>  ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
>  meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
>  2 files changed, 55 insertions(+)
>  create mode 100644 meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>
> diff --git a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> new file mode 100644
> index 0000000000..eda2593bdf
> --- /dev/null
> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> @@ -0,0 +1,54 @@
> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
> +From: Martin Jansa <martin.jansa@gmail.com>
> +Date: Thu, 5 Mar 2026 17:53:34 +0100
> +Subject: [PATCH] openat2: use const struct open_how
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +To match
> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
> +
> +Otherwise it fails to build with glibc-2.43:
> +
> +In file included from pseudo_wrappers.c:300:
> +pseudo_wrapfuncs.c: At top level:
> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
> +      | ^~~~~~~
> +In file included from /usr/include/bits/fcntl-linux.h:492,
> +                 from /usr/include/bits/fcntl.h:61,
> +                 from /usr/include/fcntl.h:35,
> +                 from pseudo_wrappers.c:23:
> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
> +      | ^~~~~~~
> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
> +
> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> +Upstream-Status: Pending
> +---
> + ports/linux/openat2/guts/openat2.c | 2 +-
> + ports/linux/openat2/wrapfuncs.in   | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
> +index da01b31..366fb95 100644
> +--- a/ports/linux/openat2/guts/openat2.c
> ++++ b/ports/linux/openat2/guts/openat2.c
> +@@ -4,7 +4,7 @@
> +  *
> +  * SPDX-License-Identifier: LGPL-2.1-only
> +  *
> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
> +  *    int rc = -1;
> +  */
> +
> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
> +index 96ae8a7..2f1e716 100644
> +--- a/ports/linux/openat2/wrapfuncs.in
> ++++ b/ports/linux/openat2/wrapfuncs.in
> +@@ -1 +1 @@
> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
> index a26a205a16..b34525055d 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> @@ -1,6 +1,7 @@
>  require pseudo.inc
>
>  SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
> +           file://0001-openat2-use-const-struct-open_how.patch \
>             file://fallback-passwd \
>             file://fallback-group \
>             "
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#232653): https://lists.openembedded.org/g/openembedded-core/message/232653
> Mute This Topic: https://lists.openembedded.org/mt/118204632/3617156
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [martin.jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 7/7] ltp: workaround openat2 build failure with glibc 2.43
  2026-03-08 15:07 ` [PATCH v2 7/7] ltp: workaround openat2 " Hemanth.KumarMD
@ 2026-03-08 16:58   ` Mathieu Dubois-Briand
  0 siblings, 0 replies; 20+ messages in thread
From: Mathieu Dubois-Briand @ 2026-03-08 16:58 UTC (permalink / raw)
  To: Hemanth.KumarMD, openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
> From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
>
> Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
> ---

Hi Hemanth,

Thanks for your patch.

> diff --git a/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch b/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch
> new file mode 100644
> index 0000000000..148731f782
> --- /dev/null
> +++ b/meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch
...
> diff --git a/meta/recipes-extended/ltp/ltp_20260130.bb b/meta/recipes-extended/ltp/ltp_20260130.bb
> index bb3b7e9ca3..57e3120839 100644
> --- a/meta/recipes-extended/ltp/ltp_20260130.bb
> +++ b/meta/recipes-extended/ltp/ltp_20260130.bb
> @@ -30,6 +30,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht
>             file://0001-Remove-OOM-tests-from-runtest-mm.patch \
>             file://0001-Add-__clear_cache-declaration-for-clang.patch \
>             file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \
> +           file://0001-openat2-fix-glibc-2.43-build.patch \
>            "

File name of the patch is not correct:
"0001-ltp-fix-build-failure-with-glibc-2.43.patch" vs
"0001-openat2-fix-glibc-2.43-build.patch".

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0
  2026-03-08 15:07 ` [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0 Hemanth.KumarMD
@ 2026-03-09  6:56   ` Mathieu Dubois-Briand
  2026-03-09 14:50     ` Randy MacLeod
  0 siblings, 1 reply; 20+ messages in thread
From: Mathieu Dubois-Briand @ 2026-03-09  6:56 UTC (permalink / raw)
  To: Hemanth.KumarMD, openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
> From: Randy MacLeod <Randy.MacLeod@windriver.com>
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---

Hi Hemanth, Randy,

Thanks for the upgrade.

We have some ptest failures here:

Failed ptests:
{'gettext': ['autopoint-1', 'autopoint-2']}


https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1202
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3207
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3237

Ptest logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemuriscv64-ptest/core-image-ptest-gettext/
https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemuarm64-ptest/core-image-ptest-gettext/
https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemux86-64-ptest/core-image-ptest-gettext/

Can you have a look at these?

In some of these logs, I can also see some failures related to glib-2.0.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release
  2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
                   ` (5 preceding siblings ...)
  2026-03-08 15:07 ` [PATCH v2 7/7] ltp: workaround openat2 " Hemanth.KumarMD
@ 2026-03-09  7:13 ` Mathieu Dubois-Briand
  2026-03-09 13:26   ` Sundeep KOKKONDA
  6 siblings, 1 reply; 20+ messages in thread
From: Mathieu Dubois-Briand @ 2026-03-09  7:13 UTC (permalink / raw)
  To: Hemanth.KumarMD, openembedded-core; +Cc: Sundeep.Kokkonda, Randy.MacLeod

On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> License-Update: Match to changes [1]
>
> Added free_sized, free_aligned_sized, memset_explicit, memalignment, and new time bases (TIME_MONOTONIC, etc.).
>
> Support for the Linux mseal system call to protect memory mappings (sealing).
>
> Added support for the openat2 system call, allowing more granular file opening options.
>
> New, optimized, and correctly rounded functions from the CORE-MATH project (acosh, asinh, atanh, erf, erfc, lgamma, tgamma).
>
> Significant 4x improvements for fused multiply-add (FMA) on AMD Zen 3 by updating ldbl-96 implementation.
>
> Improved remainder, frexp, and frexpl.
>
> Experimental Clang Support: Added support for building with LLVM Clang (version 18+) on AArch64/x86_64 Linux.
>
> New CPU Detection: Enhanced detection for newer CPU architectures.
>
> 64-bit atomics for 32bit x86 patch is no longer required since upstrea has dropped this logic in 2.43 release
>
> [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---

Hi Hemanth,

I also note this failure, that is probably also related to this series:

ERROR: libcap-native-2.77-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/work/x86_64-linux/libcap-native/2.77/temp/run.do_compile.3180827' failed with exit code 1
...
| gperf: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6: version `GLIBC_2.43' not found (required by gperf)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/3357

Maybe also some selftest failures, such as:
2026-03-08 19:23:59,572 - oe-selftest - INFO - locales.LocalesTest.test_locales_off (subunit.RemotedTestCase)
2026-03-08 19:23:59,574 - oe-selftest - INFO -  ... FAIL
...
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-c, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-el-gr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-en-gb, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-es-es, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-fa-ir, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-hr-hr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ja-jp.euc-jp, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-lt-lt, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl.iso-8859-2, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ru-ru, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: Fatal QA errors were found, failing task.
NOTE: recipe python3-3.14.3-r0: task do_package_qa: Succeeded

https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3482
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3362
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3254

I know there is also a lot of errors that looks related to RPM in there,
these are probably because of another series.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release
  2026-03-09  7:13 ` [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release Mathieu Dubois-Briand
@ 2026-03-09 13:26   ` Sundeep KOKKONDA
  2026-03-09 13:54     ` Richard Purdie
  0 siblings, 1 reply; 20+ messages in thread
From: Sundeep KOKKONDA @ 2026-03-09 13:26 UTC (permalink / raw)
  To: Richard Purdie, Hemanth.KumarMD
  Cc: Randy.MacLeod, Mathieu Dubois-Briand, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 4976 bytes --]


On 09-Mar-26 12:43, Mathieu Dubois-Briand wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
>> From: Khem Raj<raj.khem@gmail.com>
>>
>> License-Update: Match to changes [1]
>>
>> Added free_sized, free_aligned_sized, memset_explicit, memalignment, and new time bases (TIME_MONOTONIC, etc.).
>>
>> Support for the Linux mseal system call to protect memory mappings (sealing).
>>
>> Added support for the openat2 system call, allowing more granular file opening options.
>>
>> New, optimized, and correctly rounded functions from the CORE-MATH project (acosh, asinh, atanh, erf, erfc, lgamma, tgamma).
>>
>> Significant 4x improvements for fused multiply-add (FMA) on AMD Zen 3 by updating ldbl-96 implementation.
>>
>> Improved remainder, frexp, and frexpl.
>>
>> Experimental Clang Support: Added support for building with LLVM Clang (version 18+) on AArch64/x86_64 Linux.
>>
>> New CPU Detection: Enhanced detection for newer CPU architectures.
>>
>> 64-bit atomics for 32bit x86 patch is no longer required since upstrea has dropped this logic in 2.43 release
>>
>> [1]https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe
>>
>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>> ---
> Hi Hemanth,
>
> I also note this failure, that is probably also related to this series:
>
> ERROR: libcap-native-2.77-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/work/x86_64-linux/libcap-native/2.77/temp/run.do_compile.3180827' failed with exit code 1
> ...
> | gperf: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6: version `GLIBC_2.43' not found (required by gperf)

Hello Richard,

We are able to reproduce this error on our local and we suspect it is 
because of uninative, there we see UNINATIVE_MAXGLIBCVERSION = "2.42".

Do we need any update here on uninative for glibc 2.43.? (We see for 
every glibc release the uninative was updated)


Thanks,

Sundeep K.

>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/3357
>
> Maybe also some selftest failures, such as:
> 2026-03-08 19:23:59,572 - oe-selftest - INFO - locales.LocalesTest.test_locales_off (subunit.RemotedTestCase)
> 2026-03-08 19:23:59,574 - oe-selftest - INFO -  ... FAIL
> ...
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-c, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-el-gr, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-en-gb, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-es-es, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-fa-ir, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-hr-hr, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ja-jp.euc-jp, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-lt-lt, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-pl-pl.iso-8859-2, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-ru-ru, but it isn't a build dependency? [build-deps]
> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: Fatal QA errors were found, failing task.
> NOTE: recipe python3-3.14.3-r0: task do_package_qa: Succeeded
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3482
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3362
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3254
>
> I know there is also a lot of errors that looks related to RPM in there,
> these are probably because of another series.
>
> Thanks,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>

[-- Attachment #2: Type: text/html, Size: 6990 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release
  2026-03-09 13:26   ` Sundeep KOKKONDA
@ 2026-03-09 13:54     ` Richard Purdie
  0 siblings, 0 replies; 20+ messages in thread
From: Richard Purdie @ 2026-03-09 13:54 UTC (permalink / raw)
  To: Sundeep KOKKONDA, Hemanth.KumarMD
  Cc: Randy.MacLeod, Mathieu Dubois-Briand, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]

On Mon, 2026-03-09 at 18:56 +0530, Sundeep KOKKONDA wrote:
>  
> On 09-Mar-26 12:43, Mathieu Dubois-Briand wrote:
> > On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
> >  
> > >  
> > > From: Khem Raj <raj.khem@gmail.com>
> > > 
> > > License-Update: Match to changes [1]
> > > 
> > > Added free_sized, free_aligned_sized, memset_explicit, memalignment, and new time bases (TIME_MONOTONIC, etc.).
> > > 
> > > Support for the Linux mseal system call to protect memory mappings (sealing).
> > > 
> > > Added support for the openat2 system call, allowing more granular file opening options.
> > > 
> > > New, optimized, and correctly rounded functions from the CORE-MATH project (acosh, asinh, atanh, erf, erfc, lgamma, tgamma).
> > > 
> > > Significant 4x improvements for fused multiply-add (FMA) on AMD Zen 3 by updating ldbl-96 implementation.
> > > 
> > > Improved remainder, frexp, and frexpl.
> > > 
> > > Experimental Clang Support: Added support for building with LLVM Clang (version 18+) on AArch64/x86_64 Linux.
> > > 
> > > New CPU Detection: Enhanced detection for newer CPU architectures.
> > > 
> > > 64-bit atomics for 32bit x86 patch is no longer required since upstrea has dropped this logic in 2.43 release
> > > 
> > > [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe
> > > 
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > >  
> >  
> > Hi Hemanth,
> > 
> > I also note this failure, that is probably also related to this series:
> > 
> > ERROR: libcap-native-2.77-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/work/x86_64-linux/libcap-native/2.77/temp/run.do_compile.3180827' failed with exit code 1
> > ...
> > | gperf: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0/testimage-sdk/bitbake-build-p7zx603b/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6: version `GLIBC_2.43' not found (required by gperf)
> >  
>  
> Hello Richard,
>  
> We are able to reproduce this error on our local and we suspect it is
> because of uninative, there we see UNINATIVE_MAXGLIBCVERSION =
> "2.42".
>  
> Do we need any update here on uninative for glibc 2.43.? (We see for
> every glibc release the uninative was updated)
We need to merge the glibc recipe upgrade, then build a new uninative
tarball with the new glibc release.

In other words, this failure doesn't block the glibc recipe upgrade.

Cheers,

Richard

>  

[-- Attachment #2: Type: text/html, Size: 4767 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0
  2026-03-09  6:56   ` [OE-core] " Mathieu Dubois-Briand
@ 2026-03-09 14:50     ` Randy MacLeod
  0 siblings, 0 replies; 20+ messages in thread
From: Randy MacLeod @ 2026-03-09 14:50 UTC (permalink / raw)
  To: Mathieu Dubois-Briand, Hemanth.KumarMD
  Cc: Sundeep.Kokkonda, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]

On 2026-03-09 2:56 a.m., Mathieu Dubois-Briand wrote:
> On Sun Mar 8, 2026 at 4:07 PM CET, Hemanth Kumar M D via lists.openembedded.org wrote:
>> From: Randy MacLeod<Randy.MacLeod@windriver.com>
>>
>> Signed-off-by: Randy MacLeod<Randy.MacLeod@windriver.com>
>> Signed-off-by: Martin Jansa<martin.jansa@gmail.com>
>> ---
> Hi Hemanth, Randy,
>
> Thanks for the upgrade.
>
> We have some ptest failures here:
>
> Failed ptests:
> {'gettext': ['autopoint-1', 'autopoint-2']}
>
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1202
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3207
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3237
>
> Ptest logs can be found here:
>
> https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemuriscv64-ptest/core-image-ptest-gettext/

> https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemuarm64-ptest/core-image-ptest-gettext/
> https://valkyrie.yocto.io/pub/non-release/20260308-104/testresults/qemux86-64-ptest/core-image-ptest-gettext/
>
> Can you have a look at these?
I think the patch is my v1, and that Martin Jansa didn't bother with my 
v2 since it "only improved ptests"! ;-)
I've sent the v2 to Hemanth.

It just adds:

+--- a/meta/recipes-core/gettext/gettext_0.26.bb
++++ b/meta/recipes-core/gettext/gettext_1.0.bb
+@@ -148,6 +148,7 @@ do_install_ptest() {
+         mkdir -p ${D}${PTEST_PATH}/tests
+         mkdir -p ${D}${PTEST_PATH}/src
+         mkdir -p ${D}${PTEST_PATH}/po
++        mkdir -p ${D}${PTEST_PATH}/autotools
+         mkdir -p ${D}${PTEST_PATH}/misc
+         mkdir -p ${D}${PTEST_PATH}/its
+         mkdir -p ${D}${PTEST_PATH}/styles
+@@ -172,6 +173,7 @@ do_install_ptest() {
+         install ${B}/gettext-runtime/src/gettext ${D}${PTEST_PATH}/src
+         install ${B}/gettext-tools/src/.libs/cldr-plurals 
  ${D}${PTEST_PATH}/src
+         install ${S}/gettext-tools/po/gettext-tools.pot 
${D}${PTEST_PATH}/po
++        install ${B}/gettext-tools/autotools/* 
  ${D}${PTEST_PATH}/autotools
+         install ${B}/gettext-tools/misc/*  ${D}${PTEST_PATH}/misc
+         find ${D}${PTEST_PATH}/ -name "*.o" -exec rm {} \;
+         chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala 
${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \
+--
+2.34.1

I'll retest here again for x86-64 an riscv-64 and co-ordinate with 
Hemanth if there are additional changes.

../Randy

>
> In some of these logs, I can also see some failures related to glib-2.0.
>
> Thanks,
> Mathieu
>

-- 
# Randy MacLeod
# Wind River Linux

[-- Attachment #2: Type: text/html, Size: 6163 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-03-08 16:37   ` [OE-core] " Martin Jansa
@ 2026-04-07  8:54     ` Böszörményi Zoltán
       [not found]     ` <18A40738790ACBCC.657799@lists.openembedded.org>
  1 sibling, 0 replies; 20+ messages in thread
From: Böszörményi Zoltán @ 2026-04-07  8:54 UTC (permalink / raw)
  To: martin.jansa, Hemanth.KumarMD
  Cc: openembedded-core, Sundeep.Kokkonda, Randy.MacLeod

Hi,

something is still wrong with pseudo on Fedora 44 (beta) after this change.
Besides GLIBC 2.43, GCC 16 is on Fedora 44.

Packaging fails for every file and directory shipped by the recipe with:

Cannot open: Function not implemented

or

Cannot mkdir: Function not implemented

2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
> Hi,
>
> this is already merged in the repo and there is SRCREV bump which
> includes that change from Richard in master-next.
>
> Regards,
>
> On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
> lists.openembedded.org
> <Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
>> From: Martin Jansa <martin.jansa@gmail.com>
>>
>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>> ---
>>   ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
>>   meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
>>   2 files changed, 55 insertions(+)
>>   create mode 100644 meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>
>> diff --git a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>> new file mode 100644
>> index 0000000000..eda2593bdf
>> --- /dev/null
>> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>> @@ -0,0 +1,54 @@
>> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
>> +From: Martin Jansa <martin.jansa@gmail.com>
>> +Date: Thu, 5 Mar 2026 17:53:34 +0100
>> +Subject: [PATCH] openat2: use const struct open_how
>> +MIME-Version: 1.0
>> +Content-Type: text/plain; charset=UTF-8
>> +Content-Transfer-Encoding: 8bit
>> +
>> +To match
>> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
>> +
>> +Otherwise it fails to build with glibc-2.43:
>> +
>> +In file included from pseudo_wrappers.c:300:
>> +pseudo_wrapfuncs.c: At top level:
>> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,  const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct open_how *, long unsigned int)’}
>> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
>> +      | ^~~~~~~
>> +In file included from /usr/include/bits/fcntl-linux.h:492,
>> +                 from /usr/include/bits/fcntl.h:61,
>> +                 from /usr/include/fcntl.h:35,
>> +                 from pseudo_wrappers.c:23:
>> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
>> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
>> +      | ^~~~~~~
>> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
>> +
>> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>> +Upstream-Status: Pending
>> +---
>> + ports/linux/openat2/guts/openat2.c | 2 +-
>> + ports/linux/openat2/wrapfuncs.in   | 2 +-
>> + 2 files changed, 2 insertions(+), 2 deletions(-)
>> +
>> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
>> +index da01b31..366fb95 100644
>> +--- a/ports/linux/openat2/guts/openat2.c
>> ++++ b/ports/linux/openat2/guts/openat2.c
>> +@@ -4,7 +4,7 @@
>> +  *
>> +  * SPDX-License-Identifier: LGPL-2.1-only
>> +  *
>> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
>> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
>> +  *    int rc = -1;
>> +  */
>> +
>> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
>> +index 96ae8a7..2f1e716 100644
>> +--- a/ports/linux/openat2/wrapfuncs.in
>> ++++ b/ports/linux/openat2/wrapfuncs.in
>> +@@ -1 +1 @@
>> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
>> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
>> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
>> index a26a205a16..b34525055d 100644
>> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
>> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
>> @@ -1,6 +1,7 @@
>>   require pseudo.inc
>>
>>   SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
>> +           file://0001-openat2-use-const-struct-open_how.patch \
>>              file://fallback-passwd \
>>              file://fallback-group \
>>              "
>> --
>> 2.49.0
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#232665): https://lists.openembedded.org/g/openembedded-core/message/232665
>> Mute This Topic: https://lists.openembedded.org/mt/118204632/3617728
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
       [not found]     ` <18A40738790ACBCC.657799@lists.openembedded.org>
@ 2026-04-07 11:39       ` Böszörményi Zoltán
  2026-04-07 14:08         ` Martin Jansa
  0 siblings, 1 reply; 20+ messages in thread
From: Böszörményi Zoltán @ 2026-04-07 11:39 UTC (permalink / raw)
  To: martin.jansa, Hemanth.KumarMD
  Cc: openembedded-core, Sundeep.Kokkonda, Randy.MacLeod

2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
> Hi,
>
> something is still wrong with pseudo on Fedora 44 (beta) after this change.
> Besides GLIBC 2.43, GCC 16 is on Fedora 44.
>
> Packaging fails for every file and directory shipped by the recipe with:
>
> Cannot open: Function not implemented
>
> or
>
> Cannot mkdir: Function not implemented

It's not GCC. I forced to build pseudo-native with GCC 15 and packaging
linux-libc-headers and others still failed with the same problem.

GLIBC is glibc-2.43-2.fc44.x86_64, which uses commit
48f5a05a7a1eeb9e0567ab429f654648f831307f from
the release/2.43/master branch. It's a post-2.43 commit.

> 2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
>> Hi,
>>
>> this is already merged in the repo and there is SRCREV bump which
>> includes that change from Richard in master-next.
>>
>> Regards,
>>
>> On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
>> lists.openembedded.org
>> <Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
>>> From: Martin Jansa <martin.jansa@gmail.com>
>>>
>>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>> ---
>>>   ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
>>>   meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
>>>   2 files changed, 55 insertions(+)
>>>   create mode 100644 
>>> meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>
>>> diff --git 
>>> a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch 
>>> b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>> new file mode 100644
>>> index 0000000000..eda2593bdf
>>> --- /dev/null
>>> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>> @@ -0,0 +1,54 @@
>>> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
>>> +From: Martin Jansa <martin.jansa@gmail.com>
>>> +Date: Thu, 5 Mar 2026 17:53:34 +0100
>>> +Subject: [PATCH] openat2: use const struct open_how
>>> +MIME-Version: 1.0
>>> +Content-Type: text/plain; charset=UTF-8
>>> +Content-Transfer-Encoding: 8bit
>>> +
>>> +To match
>>> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
>>> +
>>> +Otherwise it fails to build with glibc-2.43:
>>> +
>>> +In file included from pseudo_wrappers.c:300:
>>> +pseudo_wrapfuncs.c: At top level:
>>> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,  
>>> const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct 
>>> open_how *, long unsigned int)’}
>>> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
>>> +      | ^~~~~~~
>>> +In file included from /usr/include/bits/fcntl-linux.h:492,
>>> +                 from /usr/include/bits/fcntl.h:61,
>>> +                 from /usr/include/fcntl.h:35,
>>> +                 from pseudo_wrappers.c:23:
>>> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’ 
>>> with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
>>> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
>>> +      | ^~~~~~~
>>> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
>>> +
>>> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>> +Upstream-Status: Pending
>>> +---
>>> + ports/linux/openat2/guts/openat2.c | 2 +-
>>> + ports/linux/openat2/wrapfuncs.in   | 2 +-
>>> + 2 files changed, 2 insertions(+), 2 deletions(-)
>>> +
>>> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
>>> +index da01b31..366fb95 100644
>>> +--- a/ports/linux/openat2/guts/openat2.c
>>> ++++ b/ports/linux/openat2/guts/openat2.c
>>> +@@ -4,7 +4,7 @@
>>> +  *
>>> +  * SPDX-License-Identifier: LGPL-2.1-only
>>> +  *
>>> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
>>> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
>>> +  *    int rc = -1;
>>> +  */
>>> +
>>> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
>>> +index 96ae8a7..2f1e716 100644
>>> +--- a/ports/linux/openat2/wrapfuncs.in
>>> ++++ b/ports/linux/openat2/wrapfuncs.in
>>> +@@ -1 +1 @@
>>> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
>>> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
>>> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
>>> b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>> index a26a205a16..b34525055d 100644
>>> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
>>> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>> @@ -1,6 +1,7 @@
>>>   require pseudo.inc
>>>
>>>   SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
>>> + file://0001-openat2-use-const-struct-open_how.patch \
>>>              file://fallback-passwd \
>>>              file://fallback-group \
>>>              "
>>> -- 
>>> 2.49.0
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#234724): https://lists.openembedded.org/g/openembedded-core/message/234724
> Mute This Topic: https://lists.openembedded.org/mt/118204632/3617728
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-04-07 11:39       ` Böszörményi Zoltán
@ 2026-04-07 14:08         ` Martin Jansa
  2026-04-07 15:21           ` Böszörményi Zoltán
       [not found]           ` <18A41C5827F22307.777565@lists.openembedded.org>
  0 siblings, 2 replies; 20+ messages in thread
From: Martin Jansa @ 2026-04-07 14:08 UTC (permalink / raw)
  To: Böszörményi Zoltán
  Cc: Hemanth.KumarMD, openembedded-core, Sundeep.Kokkonda,
	Randy.MacLeod

For me this works with both ubuntu-26.04 and gentoo both with
glibc-2.43. I'm able to build images with scarthgap, whinlatter with
ubuntu (gentoo probably works as well, just haven't tried) and wrynose
with both ubuntu and gentoo.

On Tue, Apr 7, 2026 at 1:39 PM Böszörményi Zoltán <zboszor@gmail.com> wrote:
>
> 2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
> > Hi,
> >
> > something is still wrong with pseudo on Fedora 44 (beta) after this change.
> > Besides GLIBC 2.43, GCC 16 is on Fedora 44.
> >
> > Packaging fails for every file and directory shipped by the recipe with:
> >
> > Cannot open: Function not implemented
> >
> > or
> >
> > Cannot mkdir: Function not implemented
>
> It's not GCC. I forced to build pseudo-native with GCC 15 and packaging
> linux-libc-headers and others still failed with the same problem.
>
> GLIBC is glibc-2.43-2.fc44.x86_64, which uses commit
> 48f5a05a7a1eeb9e0567ab429f654648f831307f from
> the release/2.43/master branch. It's a post-2.43 commit.
>
> > 2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
> >> Hi,
> >>
> >> this is already merged in the repo and there is SRCREV bump which
> >> includes that change from Richard in master-next.
> >>
> >> Regards,
> >>
> >> On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
> >> lists.openembedded.org
> >> <Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
> >>> From: Martin Jansa <martin.jansa@gmail.com>
> >>>
> >>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> >>> ---
> >>>   ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
> >>>   meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
> >>>   2 files changed, 55 insertions(+)
> >>>   create mode 100644
> >>> meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> >>>
> >>> diff --git
> >>> a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> >>> b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> >>> new file mode 100644
> >>> index 0000000000..eda2593bdf
> >>> --- /dev/null
> >>> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
> >>> @@ -0,0 +1,54 @@
> >>> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
> >>> +From: Martin Jansa <martin.jansa@gmail.com>
> >>> +Date: Thu, 5 Mar 2026 17:53:34 +0100
> >>> +Subject: [PATCH] openat2: use const struct open_how
> >>> +MIME-Version: 1.0
> >>> +Content-Type: text/plain; charset=UTF-8
> >>> +Content-Transfer-Encoding: 8bit
> >>> +
> >>> +To match
> >>> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
> >>> +
> >>> +Otherwise it fails to build with glibc-2.43:
> >>> +
> >>> +In file included from pseudo_wrappers.c:300:
> >>> +pseudo_wrapfuncs.c: At top level:
> >>> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,
> >>> const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct
> >>> open_how *, long unsigned int)’}
> >>> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
> >>> +      | ^~~~~~~
> >>> +In file included from /usr/include/bits/fcntl-linux.h:492,
> >>> +                 from /usr/include/bits/fcntl.h:61,
> >>> +                 from /usr/include/fcntl.h:35,
> >>> +                 from pseudo_wrappers.c:23:
> >>> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’
> >>> with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
> >>> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
> >>> +      | ^~~~~~~
> >>> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
> >>> +
> >>> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> >>> +Upstream-Status: Pending
> >>> +---
> >>> + ports/linux/openat2/guts/openat2.c | 2 +-
> >>> + ports/linux/openat2/wrapfuncs.in   | 2 +-
> >>> + 2 files changed, 2 insertions(+), 2 deletions(-)
> >>> +
> >>> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
> >>> +index da01b31..366fb95 100644
> >>> +--- a/ports/linux/openat2/guts/openat2.c
> >>> ++++ b/ports/linux/openat2/guts/openat2.c
> >>> +@@ -4,7 +4,7 @@
> >>> +  *
> >>> +  * SPDX-License-Identifier: LGPL-2.1-only
> >>> +  *
> >>> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
> >>> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
> >>> +  *    int rc = -1;
> >>> +  */
> >>> +
> >>> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
> >>> +index 96ae8a7..2f1e716 100644
> >>> +--- a/ports/linux/openat2/wrapfuncs.in
> >>> ++++ b/ports/linux/openat2/wrapfuncs.in
> >>> +@@ -1 +1 @@
> >>> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
> >>> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
> >>> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb
> >>> b/meta/recipes-devtools/pseudo/pseudo_git.bb
> >>> index a26a205a16..b34525055d 100644
> >>> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> >>> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> >>> @@ -1,6 +1,7 @@
> >>>   require pseudo.inc
> >>>
> >>>   SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
> >>> + file://0001-openat2-use-const-struct-open_how.patch \
> >>>              file://fallback-passwd \
> >>>              file://fallback-group \
> >>>              "
> >>> --
> >>> 2.49.0
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#234724): https://lists.openembedded.org/g/openembedded-core/message/234724
> > Mute This Topic: https://lists.openembedded.org/mt/118204632/3617728
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-04-07 14:08         ` Martin Jansa
@ 2026-04-07 15:21           ` Böszörményi Zoltán
       [not found]           ` <18A41C5827F22307.777565@lists.openembedded.org>
  1 sibling, 0 replies; 20+ messages in thread
From: Böszörményi Zoltán @ 2026-04-07 15:21 UTC (permalink / raw)
  To: Martin Jansa
  Cc: Hemanth.KumarMD, openembedded-core, Sundeep.Kokkonda,
	Randy.MacLeod

The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033

Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292

I reported it here:
https://bugzilla.redhat.com/show_bug.cgi?id=2455965

2026. 04. 07. 16:08 keltezéssel, Martin Jansa írta:
> For me this works with both ubuntu-26.04 and gentoo both with
> glibc-2.43. I'm able to build images with scarthgap, whinlatter with
> ubuntu (gentoo probably works as well, just haven't tried) and wrynose
> with both ubuntu and gentoo.
>
> On Tue, Apr 7, 2026 at 1:39 PM Böszörményi Zoltán <zboszor@gmail.com> wrote:
>> 2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
>>> Hi,
>>>
>>> something is still wrong with pseudo on Fedora 44 (beta) after this change.
>>> Besides GLIBC 2.43, GCC 16 is on Fedora 44.
>>>
>>> Packaging fails for every file and directory shipped by the recipe with:
>>>
>>> Cannot open: Function not implemented
>>>
>>> or
>>>
>>> Cannot mkdir: Function not implemented
>> It's not GCC. I forced to build pseudo-native with GCC 15 and packaging
>> linux-libc-headers and others still failed with the same problem.
>>
>> GLIBC is glibc-2.43-2.fc44.x86_64, which uses commit
>> 48f5a05a7a1eeb9e0567ab429f654648f831307f from
>> the release/2.43/master branch. It's a post-2.43 commit.
>>
>>> 2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
>>>> Hi,
>>>>
>>>> this is already merged in the repo and there is SRCREV bump which
>>>> includes that change from Richard in master-next.
>>>>
>>>> Regards,
>>>>
>>>> On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
>>>> lists.openembedded.org
>>>> <Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
>>>>> From: Martin Jansa <martin.jansa@gmail.com>
>>>>>
>>>>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>>>> ---
>>>>>    ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
>>>>>    meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
>>>>>    2 files changed, 55 insertions(+)
>>>>>    create mode 100644
>>>>> meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>>
>>>>> diff --git
>>>>> a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>> b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>> new file mode 100644
>>>>> index 0000000000..eda2593bdf
>>>>> --- /dev/null
>>>>> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>> @@ -0,0 +1,54 @@
>>>>> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
>>>>> +From: Martin Jansa <martin.jansa@gmail.com>
>>>>> +Date: Thu, 5 Mar 2026 17:53:34 +0100
>>>>> +Subject: [PATCH] openat2: use const struct open_how
>>>>> +MIME-Version: 1.0
>>>>> +Content-Type: text/plain; charset=UTF-8
>>>>> +Content-Transfer-Encoding: 8bit
>>>>> +
>>>>> +To match
>>>>> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
>>>>> +
>>>>> +Otherwise it fails to build with glibc-2.43:
>>>>> +
>>>>> +In file included from pseudo_wrappers.c:300:
>>>>> +pseudo_wrapfuncs.c: At top level:
>>>>> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,
>>>>> const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct
>>>>> open_how *, long unsigned int)’}
>>>>> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
>>>>> +      | ^~~~~~~
>>>>> +In file included from /usr/include/bits/fcntl-linux.h:492,
>>>>> +                 from /usr/include/bits/fcntl.h:61,
>>>>> +                 from /usr/include/fcntl.h:35,
>>>>> +                 from pseudo_wrappers.c:23:
>>>>> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’
>>>>> with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
>>>>> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
>>>>> +      | ^~~~~~~
>>>>> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
>>>>> +
>>>>> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>>>> +Upstream-Status: Pending
>>>>> +---
>>>>> + ports/linux/openat2/guts/openat2.c | 2 +-
>>>>> + ports/linux/openat2/wrapfuncs.in   | 2 +-
>>>>> + 2 files changed, 2 insertions(+), 2 deletions(-)
>>>>> +
>>>>> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
>>>>> +index da01b31..366fb95 100644
>>>>> +--- a/ports/linux/openat2/guts/openat2.c
>>>>> ++++ b/ports/linux/openat2/guts/openat2.c
>>>>> +@@ -4,7 +4,7 @@
>>>>> +  *
>>>>> +  * SPDX-License-Identifier: LGPL-2.1-only
>>>>> +  *
>>>>> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
>>>>> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
>>>>> +  *    int rc = -1;
>>>>> +  */
>>>>> +
>>>>> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
>>>>> +index 96ae8a7..2f1e716 100644
>>>>> +--- a/ports/linux/openat2/wrapfuncs.in
>>>>> ++++ b/ports/linux/openat2/wrapfuncs.in
>>>>> +@@ -1 +1 @@
>>>>> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
>>>>> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
>>>>> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>> b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>> index a26a205a16..b34525055d 100644
>>>>> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>> @@ -1,6 +1,7 @@
>>>>>    require pseudo.inc
>>>>>
>>>>>    SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
>>>>> + file://0001-openat2-use-const-struct-open_how.patch \
>>>>>               file://fallback-passwd \
>>>>>               file://fallback-group \
>>>>>               "
>>>>> --
>>>>> 2.49.0
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> View/Reply Online (#234724): https://lists.openembedded.org/g/openembedded-core/message/234724
>>> Mute This Topic: https://lists.openembedded.org/mt/118204632/3617728
>>> Group Owner: openembedded-core+owner@lists.openembedded.org
>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
       [not found]           ` <18A41C5827F22307.777565@lists.openembedded.org>
@ 2026-04-07 15:38             ` Böszörményi Zoltán
  2026-04-08  9:44               ` Paul Barker
  0 siblings, 1 reply; 20+ messages in thread
From: Böszörményi Zoltán @ 2026-04-07 15:38 UTC (permalink / raw)
  To: Martin Jansa
  Cc: Hemanth.KumarMD, openembedded-core, Sundeep.Kokkonda,
	Randy.MacLeod

2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
> The issue turns out to be with GNU tar, specifically this build:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033
>
> Manually downgrading to the previous build fixed the packaging problem:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292
>
> I reported it here:
> https://bugzilla.redhat.com/show_bug.cgi?id=2455965

According to the changelog of the current GNU tar 1.35-8.fc44 build,
it contains backports from what will be the official 1.36 version.
With that release, whenever it will be out, other distros would fail, too.

Note this from the Fedora package changelog:

- Backport upstream changes to jailify extraction directory
   Includes related gnulib changes to add openat2
   Fixes CVE-2025-45582 (fedora#2380007)

which seems to be this commit:
https://cgit.git.savannah.gnu.org/cgit/tar.git/commit/?id=75b03fdff48916bd0654677ed21379bdb0db016d

commit 75b03fdff48916bd0654677ed21379bdb0db016d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Nov 13 13:44:10 2025 -0800

     Use openat2 to jailify the extraction directory

     This addresses CVE-2025-45582.
     * gnulib.modules: Add openat2.
     * src/misc.c (open_subdir): New static function.
     (fdbase_opendir): Use it.
     * src/tar.c (open_searchdir_how): New var, replacing and
     augmenting open_searchdir_flags.  All uses changed.
     * tests/extrac31.at: New file.
     * tests/Makefile (TESTSUITE_AT), tests/testuite.at: Add it.

I guess it will really need fixes in pseudo to overcome this.

> 2026. 04. 07. 16:08 keltezéssel, Martin Jansa írta:
>> For me this works with both ubuntu-26.04 and gentoo both with
>> glibc-2.43. I'm able to build images with scarthgap, whinlatter with
>> ubuntu (gentoo probably works as well, just haven't tried) and wrynose
>> with both ubuntu and gentoo.
>>
>> On Tue, Apr 7, 2026 at 1:39 PM Böszörményi Zoltán <zboszor@gmail.com> wrote:
>>> 2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
>>>> Hi,
>>>>
>>>> something is still wrong with pseudo on Fedora 44 (beta) after this change.
>>>> Besides GLIBC 2.43, GCC 16 is on Fedora 44.
>>>>
>>>> Packaging fails for every file and directory shipped by the recipe with:
>>>>
>>>> Cannot open: Function not implemented
>>>>
>>>> or
>>>>
>>>> Cannot mkdir: Function not implemented
>>> It's not GCC. I forced to build pseudo-native with GCC 15 and packaging
>>> linux-libc-headers and others still failed with the same problem.
>>>
>>> GLIBC is glibc-2.43-2.fc44.x86_64, which uses commit
>>> 48f5a05a7a1eeb9e0567ab429f654648f831307f from
>>> the release/2.43/master branch. It's a post-2.43 commit.
>>>
>>>> 2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
>>>>> Hi,
>>>>>
>>>>> this is already merged in the repo and there is SRCREV bump which
>>>>> includes that change from Richard in master-next.
>>>>>
>>>>> Regards,
>>>>>
>>>>> On Sun, Mar 8, 2026 at 4:09 PM Hemanth Kumar M D via
>>>>> lists.openembedded.org
>>>>> <Hemanth.KumarMD=windriver.com@lists.openembedded.org> wrote:
>>>>>> From: Martin Jansa <martin.jansa@gmail.com>
>>>>>>
>>>>>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>>>>> ---
>>>>>>    ...01-openat2-use-const-struct-open_how.patch | 54 +++++++++++++++++++
>>>>>>    meta/recipes-devtools/pseudo/pseudo_git.bb    |  1 +
>>>>>>    2 files changed, 55 insertions(+)
>>>>>>    create mode 100644
>>>>>> meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>>>
>>>>>> diff --git
>>>>>> a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>>> b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>>> new file mode 100644
>>>>>> index 0000000000..eda2593bdf
>>>>>> --- /dev/null
>>>>>> +++ b/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch
>>>>>> @@ -0,0 +1,54 @@
>>>>>> +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001
>>>>>> +From: Martin Jansa <martin.jansa@gmail.com>
>>>>>> +Date: Thu, 5 Mar 2026 17:53:34 +0100
>>>>>> +Subject: [PATCH] openat2: use const struct open_how
>>>>>> +MIME-Version: 1.0
>>>>>> +Content-Type: text/plain; charset=UTF-8
>>>>>> +Content-Transfer-Encoding: 8bit
>>>>>> +
>>>>>> +To match
>>>>>> +https://sourceware.org/cgit/glibc/commit/?id=0f0a5cd338998f4b603f52f3ce2163df0db7b814
>>>>>> +
>>>>>> +Otherwise it fails to build with glibc-2.43:
>>>>>> +
>>>>>> +In file included from pseudo_wrappers.c:300:
>>>>>> +pseudo_wrapfuncs.c: At top level:
>>>>>> +pseudo_wrapfuncs.c:11537:1: error: conflicting types for ‘openat2’; have ‘int(int,
>>>>>> const char *, struct open_how *, size_t)’ {aka ‘int(int,  const char *, struct
>>>>>> open_how *, long unsigned int)’}
>>>>>> +11537 | openat2(int dirfd, const char *path, struct open_how *how, size_t size) {
>>>>>> +      | ^~~~~~~
>>>>>> +In file included from /usr/include/bits/fcntl-linux.h:492,
>>>>>> +                 from /usr/include/bits/fcntl.h:61,
>>>>>> +                 from /usr/include/fcntl.h:35,
>>>>>> +                 from pseudo_wrappers.c:23:
>>>>>> +/usr/include/bits/fcntl-linux-fortify.h:36:1: note: previous definition of ‘openat2’
>>>>>> with type ‘int(int,  const char *, const struct open_how *, long unsigned int)’
>>>>>> +   36 | openat2 (int __dfd, const char *__filename, const struct open_how *__how,
>>>>>> +      | ^~~~~~~
>>>>>> +make: *** [Makefile:162: pseudo_wrappers.o] Error 1
>>>>>> +
>>>>>> +Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>>>>>> +Upstream-Status: Pending
>>>>>> +---
>>>>>> + ports/linux/openat2/guts/openat2.c | 2 +-
>>>>>> + ports/linux/openat2/wrapfuncs.in   | 2 +-
>>>>>> + 2 files changed, 2 insertions(+), 2 deletions(-)
>>>>>> +
>>>>>> +diff --git a/ports/linux/openat2/guts/openat2.c b/ports/linux/openat2/guts/openat2.c
>>>>>> +index da01b31..366fb95 100644
>>>>>> +--- a/ports/linux/openat2/guts/openat2.c
>>>>>> ++++ b/ports/linux/openat2/guts/openat2.c
>>>>>> +@@ -4,7 +4,7 @@
>>>>>> +  *
>>>>>> +  * SPDX-License-Identifier: LGPL-2.1-only
>>>>>> +  *
>>>>>> +- * int openat2(int dirfd, const char *path, struct open_how *how, size_t size)
>>>>>> ++ * int openat2(int dirfd, const char *path, const struct open_how *how, size_t size)
>>>>>> +  *    int rc = -1;
>>>>>> +  */
>>>>>> +
>>>>>> +diff --git a/ports/linux/openat2/wrapfuncs.in b/ports/linux/openat2/wrapfuncs.in
>>>>>> +index 96ae8a7..2f1e716 100644
>>>>>> +--- a/ports/linux/openat2/wrapfuncs.in
>>>>>> ++++ b/ports/linux/openat2/wrapfuncs.in
>>>>>> +@@ -1 +1 @@
>>>>>> +-int openat2(int dirfd, const char *path, struct open_how *how, size_t size);
>>>>>> ++int openat2(int dirfd, const char *path, const struct open_how *how, size_t size);
>>>>>> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>>> b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>>> index a26a205a16..b34525055d 100644
>>>>>> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>>> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
>>>>>> @@ -1,6 +1,7 @@
>>>>>>    require pseudo.inc
>>>>>>
>>>>>>    SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
>>>>>> + file://0001-openat2-use-const-struct-open_how.patch \
>>>>>>               file://fallback-passwd \
>>>>>>               file://fallback-group \
>>>>>>               "
>>>>>> -- 
>>>>>> 2.49.0
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#234747): https://lists.openembedded.org/g/openembedded-core/message/234747
> Mute This Topic: https://lists.openembedded.org/mt/118204632/3617728
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [zboszor@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
  2026-04-07 15:38             ` Böszörményi Zoltán
@ 2026-04-08  9:44               ` Paul Barker
  0 siblings, 0 replies; 20+ messages in thread
From: Paul Barker @ 2026-04-08  9:44 UTC (permalink / raw)
  To: zboszor, Martin Jansa
  Cc: Hemanth.KumarMD, openembedded-core, Sundeep.Kokkonda,
	Randy.MacLeod

[-- Attachment #1: Type: text/plain, Size: 2459 bytes --]

On Tue, 2026-04-07 at 17:38 +0200, Zoltan Boszormenyi via
lists.openembedded.org wrote:
> 2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
> > The issue turns out to be with GNU tar, specifically this build:
> > https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033
> > 
> > Manually downgrading to the previous build fixed the packaging problem:
> > https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292
> > 
> > I reported it here:
> > https://bugzilla.redhat.com/show_bug.cgi?id=2455965
> 
> According to the changelog of the current GNU tar 1.35-8.fc44 build,
> it contains backports from what will be the official 1.36 version.
> With that release, whenever it will be out, other distros would fail, too.
> 
> Note this from the Fedora package changelog:
> 
> - Backport upstream changes to jailify extraction directory
>    Includes related gnulib changes to add openat2
>    Fixes CVE-2025-45582 (fedora#2380007)
> 
> which seems to be this commit:
> https://cgit.git.savannah.gnu.org/cgit/tar.git/commit/?id=75b03fdff48916bd0654677ed21379bdb0db016d
> 
> commit 75b03fdff48916bd0654677ed21379bdb0db016d
> Author: Paul Eggert <eggert@cs.ucla.edu>
> Date:   Thu Nov 13 13:44:10 2025 -0800
> 
>      Use openat2 to jailify the extraction directory
> 
>      This addresses CVE-2025-45582.
>      * gnulib.modules: Add openat2.
>      * src/misc.c (open_subdir): New static function.
>      (fdbase_opendir): Use it.
>      * src/tar.c (open_searchdir_how): New var, replacing and
>      augmenting open_searchdir_flags.  All uses changed.
>      * tests/extrac31.at: New file.
>      * tests/Makefile (TESTSUITE_AT), tests/testuite.at: Add it.
> 
> I guess it will really need fixes in pseudo to overcome this.

Hi Zoltan,

The issue is that our intercept function for openat2 is a stub [1], it
returns -ENOSYS. This works on other distros as the gnulib
implementation of openat2 in userspace can be used as a fallback. If tar
in F44 doesn't have any fallback for when openat2 isn't implemented that
that won't work.

So it looks like we will need to complete openat2 handling in pseudo. We
have an issue for that in bugzilla [2], I'll update it.

[1]: https://git.yoctoproject.org/pseudo/tree/ports/linux/openat2/guts/openat2.c
[2]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=16126

Thanks,

-- 
Paul Barker


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-04-08  9:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08 15:07 [PATCH v2 1/7] glibc: Upgrade to 2.43 release Hemanth.KumarMD
2026-03-08 15:07 ` [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0 Hemanth.KumarMD
2026-03-09  6:56   ` [OE-core] " Mathieu Dubois-Briand
2026-03-09 14:50     ` Randy MacLeod
2026-03-08 15:07 ` [PATCH v2 3/7] pseudo: fix for build with glibc-2.43 Hemanth.KumarMD
2026-03-08 16:37   ` [OE-core] " Martin Jansa
2026-04-07  8:54     ` Böszörményi Zoltán
     [not found]     ` <18A40738790ACBCC.657799@lists.openembedded.org>
2026-04-07 11:39       ` Böszörményi Zoltán
2026-04-07 14:08         ` Martin Jansa
2026-04-07 15:21           ` Böszörményi Zoltán
     [not found]           ` <18A41C5827F22307.777565@lists.openembedded.org>
2026-04-07 15:38             ` Böszörményi Zoltán
2026-04-08  9:44               ` Paul Barker
2026-03-08 15:07 ` [PATCH v2 4/7] gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43 Hemanth.KumarMD
2026-03-08 15:07 ` [PATCH v2 5/7] libxcrypt: " Hemanth.KumarMD
2026-03-08 15:07 ` [PATCH v2 6/7] barebox-tools: fix " Hemanth.KumarMD
2026-03-08 15:07 ` [PATCH v2 7/7] ltp: workaround openat2 " Hemanth.KumarMD
2026-03-08 16:58   ` [OE-core] " Mathieu Dubois-Briand
2026-03-09  7:13 ` [OE-core] [PATCH v2 1/7] glibc: Upgrade to 2.43 release Mathieu Dubois-Briand
2026-03-09 13:26   ` Sundeep KOKKONDA
2026-03-09 13:54     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox