glibc: Upgrade to 2.43 release
PATCH v2 1/7 glibc: Upgrade to 2.43 release
From: Khem Raj <[email protected]>
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
---
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%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -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}"
meta/recipes-core/glibc/cross-localedef-native_2.43.bb renamed from meta/recipes-core/glibc/cross-localedef-native_2.42.bb +9 -9
@@ -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... #
meta/recipes-core/glibc/glibc-common.inc +3 -3
@@ -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"
meta/recipes-core/glibc/glibc-locale_2.43.bb renamed from meta/recipes-core/glibc/glibc-locale_2.42.bb +0 -0
meta/recipes-core/glibc/glibc-mtrace_2.43.bb renamed from meta/recipes-core/glibc/glibc-mtrace_2.42.bb +0 -0
meta/recipes-core/glibc/glibc-scripts_2.43.bb renamed from meta/recipes-core/glibc/glibc-scripts_2.42.bb +0 -0
meta/recipes-core/glibc/glibc-testsuite_2.43.bb renamed from meta/recipes-core/glibc/glibc-testsuite_2.42.bb +0 -0
meta/recipes-core/glibc/glibc-version.inc +3 -3
@@ -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"
meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch +1 -1
@@ -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 <[email protected]> Date: Sat, 7 Dec 2019 09:59:22 -0800 Subject: [PATCH] localedef: Add hardlink resolver from util-linux
meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch +1 -1
@@ -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 <[email protected]> Date: Sat, 7 Dec 2019 10:01:37 -0800 Subject: [PATCH] localedef: fix-ups hardlink to make it compile
meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch +4 -4
@@ -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 <[email protected]> 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 <[email protected]> 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
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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,
meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch +9 -9
@@ -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 <[email protected]> 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 <[email protected]> 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 @@
meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch renamed from meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch +5 -5
@@ -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 <[email protected]> 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 <[email protected]> 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)
meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch renamed from meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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)
meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch renamed from meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch +3 -3
@@ -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 <[email protected]> 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 <[email protected]> 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)
meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch renamed from meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch +1 -1
@@ -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 <[email protected]> Date: Wed, 18 Mar 2015 00:42:58 +0000 Subject: [PATCH] eglibc: Cross building and testing instructions
meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch renamed from meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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
meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch renamed from meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch +2 -2
@@ -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 <[email protected]> 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)
meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch renamed from meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch +12 -12
@@ -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 <[email protected]> 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 <[email protected]> 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[] =
meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch renamed from meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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)
meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch renamed from meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch +1 -1
@@ -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 <[email protected]> Date: Fri, 7 Aug 2020 14:31:16 -0700 Subject: [PATCH] powerpc: Do not ask compiler for finding arch
meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch renamed from meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch +4 -4
@@ -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 <[email protected]> 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 <[email protected]> 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
meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch renamed from meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch +1 -1
@@ -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 <[email protected]> Date: Thu, 31 Dec 2015 14:33:02 -0800 Subject: [PATCH] Replace echo with printf builtin in nscd init script
meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch renamed from meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch +1 -1
@@ -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 <[email protected]> Date: Wed, 18 Mar 2015 00:27:10 +0000 Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its
meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch renamed from meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch +4 -4
@@ -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 <[email protected]> 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 <[email protected]> 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)"|' \
meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch renamed from meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch +1 -1
@@ -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 <[email protected]> Date: Wed, 15 Dec 2021 21:47:53 -0800 Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter
meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch renamed from meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch +2 -2
@@ -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 <[email protected]> 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 <[email protected]> 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,
meta/recipes-core/glibc/glibc/0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch renamed from meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch +5 -5
@@ -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 <[email protected]> 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 <[email protected]> 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 \
meta/recipes-core/glibc/glibc/0022-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch renamed from meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch +5 -5
@@ -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 <[email protected]> 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 <[email protected]> 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)
meta/recipes-core/glibc/glibc_2.43.bb renamed from meta/recipes-core/glibc/glibc_2.42.bb +17 -18
@@ -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}"
Signature · 1 line
2.49.0
PATCH v2 2/7 gettext: Upgrade 0.26 -> 1.0
From: Randy MacLeod <[email protected]>
---
..._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%)meta/recipes-core/gettext/gettext-minimal-native_1.0.bb renamed from meta/recipes-core/gettext/gettext-minimal-native_0.26.bb +2 -1
@@ -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 }
meta/recipes-core/gettext/gettext-sources.inc +1 -1
@@ -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"
meta/recipes-core/gettext/gettext/use-pkgconfig.patch +15 -10
@@ -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 ])
meta/recipes-core/gettext/gettext_1.0.bb renamed from meta/recipes-core/gettext/gettext_0.26.bb +0 -0
Signature · 1 line
2.49.0
Re: [OE-core] [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0
Quoted 5 lines · Hemanth Kumar M D via lists.openembedded.org
From: Randy MacLeod <[email protected]>
Signed-off-by Randy MacLeod <[email protected]>Signed-off-by Martin Jansa <[email protected]>---
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
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core] [PATCH v2 2/7] gettext: Upgrade 0.26 -> 1.0
Quoted 20 lines · Mathieu Dubois-Briand
Quoted 5 lines · Hemanth Kumar M D via lists.openembedded.org
From: Randy MacLeod<[email protected]>
Signed-off-by Randy MacLeod<[email protected]>Signed-off-by Martin Jansa<[email protected]>---
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
Quoted 8 lines
Ptest logs can be found here:
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
Quoted 6 lines
In some of these logs, I can also see some failures related to glib-2.0.
Thanks,
Mathieu
Signature · 2 lines
# Randy MacLeod # Wind River Linux
PATCH v2 3/7 pseudo: fix for build with glibc-2.43
In reply to [email protected]From: Martin Jansa <[email protected]>
--- ...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
meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +54 -0
@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 <[email protected]> +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);
meta/recipes-devtools/pseudo/pseudo_git.bb +1 -0
@@ -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 \ "
Signature · 1 line
2.49.0
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 94 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>--- ...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.patchmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +54
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +1
-1@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
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:
Quoted 106 lines
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 96 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>--- ...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.patchmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +54
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +1
-1@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 5 lines
Hi,
something is still wrong with pseudo on Fedora 44 (beta) after this change. Besides GLIBC 2.43, GCC 16 is on Fedora 44.
Quoted 7 lines
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.
Quoted 113 lines
2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
Quoted 88 lines
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 78 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>---
...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.patchmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +16
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 *, structopen_how*, long unsigned int)’} +11537 |openat2(int dirfd, const char *path, struct open_how *how, size_t size){
+ | ^~~~~~~meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +5
-0+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 structopen_how*__how, + | ^~~~~~~meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +29
-0+make: *** [Makefile:162: pseudo_wrappers.o] Error 1 + +Signed-off-by: Martin Jansa <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +0
-0@@ -1,6 +1,7 @@require pseudo.inc
Quoted 14 lines
Quoted 14 lines
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 \
"Signature · 1 line
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
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.
Quoted 141 lines · Böszörményi Zoltán
2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 5 lines
Hi,
something is still wrong with pseudo on Fedora 44 (beta) after this change. Besides GLIBC 2.43, GCC 16 is on Fedora 44.
Quoted 7 lines
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
48f5a05a7a1eeb9e0567ab429f654648f831307ffrom the release/2.43/master branch. It's a post-2.43 commit.Quoted 118 lines
2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
Quoted 93 lines
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 83 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>--- ...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.patchdiff --git
a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchb/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchnew file mode 100644
index 0000000000..eda2593bdfmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +16
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 *, structopen_how*, long unsigned int)’}
+11537 |openat2(int dirfd, const char *path, struct open_how *how, size_t size){meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +6
-0+ | ^~~~~~~ +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)’meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +31
-0+ 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 <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +0
-0@@ -1,6 +1,7 @@ require pseudo.incQuoted 14 lines
Quoted 6 lines
meta/recipes-devtools/pseudo/pseudo_git.bb +1
-1SRC_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 \ " --Quoted 8 lines
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
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:
Quoted 143 lines
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.
Quoted 137 lines · Böszörményi Zoltán
2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 5 lines
Hi,
something is still wrong with pseudo on Fedora 44 (beta) after this change. Besides GLIBC 2.43, GCC 16 is on Fedora 44.
Quoted 7 lines
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
48f5a05a7a1eeb9e0567ab429f654648f831307ffrom the release/2.43/master branch. It's a post-2.43 commit.Quoted 117 lines
2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
Quoted 93 lines
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 83 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>--- ...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.patchdiff --git
a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchb/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchnew file mode 100644
index 0000000000..eda2593bdfmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +16
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 *, structopen_how*, long unsigned int)’}
+11537 |openat2(int dirfd, const char *path, struct open_how *how, size_t size){meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +6
-0+ | ^~~~~~~ +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)’meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +31
-0+ 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 <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +0
-0@@ -1,6 +1,7 @@ require pseudo.incQuoted 14 lines
Quoted 6 lines
meta/recipes-devtools/pseudo/pseudo_git.bb +1
-1SRC_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 \ " --Quoted 8 lines
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 8 lines
The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292I 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 <[email protected]>
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.
Quoted 148 lines
2026. 04. 07. 16:08 keltezéssel, Martin Jansa írta:
Quoted 5 lines
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.
Quoted 132 lines
Quoted 131 lines · Böszörményi Zoltán
2026. 04. 07. 10:54 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 5 lines
Hi,
something is still wrong with pseudo on Fedora 44 (beta) after this change. Besides GLIBC 2.43, GCC 16 is on Fedora 44.
Quoted 7 lines
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
48f5a05a7a1eeb9e0567ab429f654648f831307ffrom the release/2.43/master branch. It's a post-2.43 commit.Quoted 111 lines
2026. 03. 08. 17:37 keltezéssel, Martin Jansa via lists.openembedded.org írta:
Quoted 107 lines
Hi,
this is already merged in the repo and there is SRCREV bump which includes that change from Richard in master-next.
Regards,
Quoted 97 lines · Hemanth Kumar M D via lists.openembedded.org
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>---
...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.patchdiff --git
a/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchb/meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patchnew file mode 100644
index 0000000000..eda2593bdfmeta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +16
-0@@ -0,0 +1,54 @@ +From d17159194e94b5150600c333a5e2ad46fda6291e Mon Sep 17 00:00:00 2001 +From: Martin Jansa <[email protected]> +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 *, structopen_how*, long unsigned int)’}
+11537 |openat2(int dirfd, const char *path, struct open_how *how, size_t size){ + | ^~~~~~~meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +5
-0+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 structopen_how*__how, + | ^~~~~~~meta/recipes-devtools/pseudo/files/0001-openat2-use-const-struct-open_how.patch new file +29
-0+make: *** [Makefile:162: pseudo_wrappers.o] Error 1 + +Signed-off-by: Martin Jansa <[email protected]> +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);meta/recipes-devtools/pseudo/pseudo_git.bb +0
-0@@ -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 \
"Signature · 1 line
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
Quoted 38 lines · Zoltan Boszormenyi via lists.openembedded.org
2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 8 lines
The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292I reported it here:
https://bugzilla.redhat.com/show_bug.cgi?id=2455965According 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=75b03fdff48916bd0654677ed21379bdb0db016dcommit
75b03fdff48916bd0654677ed21379bdb0db016d
Author: Paul Eggert <[email protected]>
Date: Thu Nov 13 13:44:10 2025 -0800Use 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.
Quoted 1 line
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,
Signature · 1 line
Paul Barker
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
2026. 04. 08. 11:44 keltezéssel, Paul Barker írta:
Quoted 48 lines
Quoted 37 lines · Zoltan Boszormenyi via lists.openembedded.org
2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 8 lines
The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292I reported it here:
https://bugzilla.redhat.com/show_bug.cgi?id=2455965According 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=75b03fdff48916bd0654677ed21379bdb0db016dcommit
75b03fdff48916bd0654677ed21379bdb0db016d
Author: Paul Eggert <[email protected]>
Date: Thu Nov 13 13:44:10 2025 -0800Use 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.Quoted 1 line
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.
Quoted 5 lines
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
Thank you.
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
In reply to Böszörményi ZoltánQuoted 38 lines · Zoltan Boszormenyi via lists.openembedded.org
2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 8 lines
The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292I reported it here:
https://bugzilla.redhat.com/show_bug.cgi?id=2455965According 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=75b03fdff48916bd0654677ed21379bdb0db016dcommit
75b03fdff48916bd0654677ed21379bdb0db016d
Author: Paul Eggert <[email protected]>
Date: Thu Nov 13 13:44:10 2025 -0800Use 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.
Quoted 1 line
I guess it will really need fixes in pseudo to overcome this.
I have put some patches onto this branch of pseudo:
https://git.yoctoproject.org/pseudo/log/?h=rpurdie/openat2
In my local testing, that did work but I don't have a Fedora 44 system to test on right now. There are some potential issues with chroot handling in there but I would be curious how this works on Fedora 44 if you were able to test...
Cheers,
Richard
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
2026. 04. 15. 15:16 keltezéssel, Richard Purdie írta:
Quoted 39 lines · Zoltan Boszormenyi via lists.openembedded.org
Quoted 37 lines
2026. 04. 07. 17:21 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta:
Quoted 8 lines
The issue turns out to be with GNU tar, specifically this build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2924033Manually downgrading to the previous build fixed the packaging problem:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292I reported it here:
https://bugzilla.redhat.com/show_bug.cgi?id=2455965According 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=75b03fdff48916bd0654677ed21379bdb0db016dcommit
75b03fdff48916bd0654677ed21379bdb0db016d
Author: Paul Eggert <[email protected]>
Date: Thu Nov 13 13:44:10 2025 -0800Use 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.Quoted 1 line
I guess it will really need fixes in pseudo to overcome this.
Quoted 8 lines
I have put some patches onto this branch of pseudo:
https://git.yoctoproject.org/pseudo/log/?h=rpurdie/openat2
In my local testing, that did work but I don't have a Fedora 44 system to test on right now. There are some potential issues with chroot handling in there but I would be curious how this works on Fedora 44 if you were able to test...
Here's the patch I made against pseudo:
--------
meta/recipes-devtools/pseudo/pseudo_git.bb +0 -0
@@ -1,6 +1,6 @@
require pseudo.inc
-SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
+SRC_URI = "git://git.yoctoproject.org/pseudo;branch=rpurdie/openat2;protocol=https \
file://fallback-passwd \
file://fallback-group \
"
@@ -12,7 +12,7 @@ SRC_URI:append:class-nativesdk = " \
file://older-glibc-symbols.patch"
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
-SRCREV = "56e1f8df4761da60e41812fc32b1de797d1765e9" +SRCREV = "54f3d1b4dd3eaed2c57b43c3a4d62cdf99239ed2" PV = "1.9.3+git"
# largefile and 64bit time_t support adds these macros via compiler flags globally --------
I have upgraded to tar 1.35-8.fc44 and run some build.
This change in pseudo works properly with the newer tar build shipped in Fedora 44. FWIW, I have not tried building GNU tar from their latest git sources.
Thank you very much!
Re: [OE-core] [PATCH v2 3/7] pseudo: fix for build with glibc-2.43
Quoted 7 lines · Böszörményi Zoltán
I have upgraded to tar 1.35-8.fc44 and run some build. This change in pseudo works properly with the newer tar build shipped in Fedora 44.
FWIW, I have not tried building GNU tar from their latest git sources.Thank you very much!
Thanks for testing and reporting back, this helps and means I'll try and get the changes merged.
Cheers,
Richard
PATCH v2 4/7 gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43
In reply to [email protected]From: Hemanth Kumar M D <[email protected]>
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.
--- meta/recipes-devtools/gcc/gcc-runtime.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-runtime.inc +2 -1
@@ -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 \
Signature · 1 line
2.49.0
PATCH v2 5/7 libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
In reply to [email protected]From: Hemanth Kumar M D <[email protected]>
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.
--- meta/recipes-core/libxcrypt/libxcrypt.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/libxcrypt/libxcrypt.inc +1 -0
@@ -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}"
Signature · 1 line
2.49.0
PATCH v2 6/7 barebox-tools: fix build failure with glibc 2.43
In reply to [email protected]From: Hemanth Kumar M D <[email protected]>
--- 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
meta/recipes-bsp/barebox/barebox-tools.bb +2 -0
@@ -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"
meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
2.49.0
PATCH v2 7/7 ltp: workaround openat2 build failure with glibc 2.43
In reply to [email protected]From: Hemanth Kumar M D <[email protected]>
--- ...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
meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch new file +34 -0
@@ -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 <[email protected]> + +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 +
meta/recipes-extended/ltp/ltp_20260130.bb +1 -0
@@ -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
Signature · 1 line
2.49.0
Re: [OE-core] [PATCH v2 7/7] ltp: workaround openat2 build failure with glibc 2.43
Quoted 4 lines · Hemanth Kumar M D via lists.openembedded.org
From: Hemanth Kumar M D <[email protected]>
Signed-off-by Hemanth Kumar M D <[email protected]>---
Hi Hemanth,
Thanks for your patch.
Quoted 5 lines
meta/recipes-extended/ltp/ltp/0001-ltp-fix-build-failure-with-glibc-2.43.patch new file +0
-0
...
meta/recipes-extended/ltp/ltp_20260130.bb SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht · line 34
Quoted 10 lines
meta/recipes-extended/ltp/ltp_20260130.bb +1
-0@@ -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
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 18 lines · Hemanth Kumar M D via lists.openembedded.org
From: Khem Raj <[email protected]>
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.
Quoted 8 lines
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 <[email protected]>---
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
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 30 lines · Mathieu Dubois-Briand
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.Quoted 18 lines · Hemanth Kumar M D via lists.openembedded.org
From: Khem Raj<[email protected]>
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.
Quoted 8 lines
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<[email protected]>---
Quoted 7 lines
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.
Quoted 36 lines
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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_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-r0do_package_qa: Fatal QA errors were found, failing task.
NOTE: recipe python3-3.14.3-r0: taskdo_package_qa: Succeededhttps://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/3254I 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
Quoted 42 lines · Sundeep KOKKONDA
Quoted 31 lines · Mathieu Dubois-Briand
Quoted 19 lines · Hemanth Kumar M D via lists.openembedded.org
From: Khem Raj <[email protected]>
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.
Quoted 9 lines
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 <[email protected]>---
Quoted 8 lines
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)
Quoted 8 lines
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