summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-01-31 08:29:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-05 12:49:56 +0000
commit123f8e78f30a13402d268461ae41a179350c63fb (patch)
tree2ef9a61a080cf652d0530d1463e804e4de2fc93c /meta/recipes-core/glibc
parent2673221ea58884817104f4e72f6a35a641e5650e (diff)
downloadpoky-123f8e78f30a13402d268461ae41a179350c63fb.tar.gz
glibc: Upgrade to 2.41 release
License-Update: Added license for e_gammaf_r.c [1] added url of CORE-MATH project [2] * Testing support with different compilers (series) * Remove XXX math functions from installed math.h (patch) * Remove "%n" from assert (commit) * Improve executable stack handling * Compile glibc tests with Clang (series 1, series 2) * asprintf should write NULL on failure * Revert TCB layout changes * Fix ld.so crashes with golang test suite * Fixes after GET_ADDR_ARGS removal * Extend Rseq Support, plus x32 fixup * sh4: ensure FPSCR.PR==0 when executing FRCHG [BZ #27543] * affinity-inheritance test: overallocate CPU sets * rseq-related aarch64 test failures * arc4random test failure under load * benchtests: Add dummy in put files cospi, cospif, sinpi, sinpif, tanpi, tanpif * pthread condvar missing signal, bug 25847 * aarch64: Add support for Guarded Control Stack extension * testsuite: Make stdio-common/tst-printf-format-*-mem UNSUPPORTED if the mtrace output does not exist Further Release Notes [3] [4] [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=2843e78b30da0aa743fdfb0ac61435c925182c04 [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=d421d36582281a62e05f96a1bfb085db9d85f40b [3] https://sourceware.org/glibc/wiki/Release/2.41 [4] https://sourceware.org/pipermail/libc-announce/2025/000045.html (From OE-Core rev: 73b34ff50c8e5b05eca8f9a236bd1b155bd14324) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/cross-localedef-native_2.41.bb (renamed from meta/recipes-core/glibc/cross-localedef-native_2.40.bb)2
-rw-r--r--meta/recipes-core/glibc/glibc-common.inc4
-rw-r--r--meta/recipes-core/glibc/glibc-locale_2.41.bb (renamed from meta/recipes-core/glibc/glibc-locale_2.40.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-mtrace_2.41.bb (renamed from meta/recipes-core/glibc/glibc-mtrace_2.40.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-scripts_2.41.bb (renamed from meta/recipes-core/glibc/glibc-scripts_2.40.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-testsuite_2.41.bb (renamed from meta/recipes-core/glibc/glibc-testsuite_2.40.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc-version.inc6
-rw-r--r--meta/recipes-core/glibc/glibc-y2038-tests_2.41.bb (renamed from meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb)0
-rw-r--r--meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch22
-rw-r--r--meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch10
-rw-r--r--meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch43
-rw-r--r--meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch24
-rw-r--r--meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch8
-rw-r--r--meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch2
-rw-r--r--meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch4
-rw-r--r--meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch16
-rw-r--r--meta/recipes-core/glibc/glibc/0024-Fix-missing-randomness-in-__gen_tempname-bug-32214.patch29
-rw-r--r--meta/recipes-core/glibc/glibc_2.41.bb (renamed from meta/recipes-core/glibc/glibc_2.40.bb)1
33 files changed, 82 insertions, 151 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.40.bb b/meta/recipes-core/glibc/cross-localedef-native_2.41.bb
index fed6e4ea97..5aeb84ac80 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.40.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.41.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5 5
6LIC_FILES_CHKSUM = "file://LICENSES;md5=f77e878d320e99e94ae9a4aea7f491d1 \ 6LIC_FILES_CHKSUM = "file://LICENSES;md5=df6e0948b55669789c30764c5fd9bc41 \
7 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 7 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ 8 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
9 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" 9 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc
index 72d5dcd74b..e048f75c5d 100644
--- a/meta/recipes-core/glibc/glibc-common.inc
+++ b/meta/recipes-core/glibc/glibc-common.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "GPL-2.0-only & LGPL-2.1-or-later" 5LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
6 6
7LIC_FILES_CHKSUM ?= "file://LICENSES;md5=f77e878d320e99e94ae9a4aea7f491d1 \ 7LIC_FILES_CHKSUM ?= "file://LICENSES;md5=df6e0948b55669789c30764c5fd9bc41 \
8 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 8 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
9 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ 9 file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
10 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" 10 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
@@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
22# 22#
23COMPATIBLE_HOST:libc-musl:class-target = "null" 23COMPATIBLE_HOST:libc-musl:class-target = "null"
24 24
25PV = "2.40+git" 25PV = "2.41+git"
diff --git a/meta/recipes-core/glibc/glibc-locale_2.40.bb b/meta/recipes-core/glibc/glibc-locale_2.41.bb
index f7702e0358..f7702e0358 100644
--- a/meta/recipes-core/glibc/glibc-locale_2.40.bb
+++ b/meta/recipes-core/glibc/glibc-locale_2.41.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.40.bb b/meta/recipes-core/glibc/glibc-mtrace_2.41.bb
index 0b69bad46a..0b69bad46a 100644
--- a/meta/recipes-core/glibc/glibc-mtrace_2.40.bb
+++ b/meta/recipes-core/glibc/glibc-mtrace_2.41.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.40.bb b/meta/recipes-core/glibc/glibc-scripts_2.41.bb
index 5a89bd8022..5a89bd8022 100644
--- a/meta/recipes-core/glibc/glibc-scripts_2.40.bb
+++ b/meta/recipes-core/glibc/glibc-scripts_2.41.bb
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.40.bb b/meta/recipes-core/glibc/glibc-testsuite_2.41.bb
index 3a2764e40b..3a2764e40b 100644
--- a/meta/recipes-core/glibc/glibc-testsuite_2.40.bb
+++ b/meta/recipes-core/glibc/glibc-testsuite_2.41.bb
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index b349560a0d..4d28affed9 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
1SRCBRANCH ?= "release/2.40/master" 1SRCBRANCH ?= "release/2.41/master"
2PV = "2.40+git" 2PV = "2.41+git"
3SRCREV_glibc ?= "efb710034e4c5e734d100cc4ef1b1e27d4315825" 3SRCREV_glibc ?= "0a7c7a3e283a55d1bfaa48fdef063a32a4689a2b"
4SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" 4SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc"
5 5
6GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" 6GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
diff --git a/meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb b/meta/recipes-core/glibc/glibc-y2038-tests_2.41.bb
index 9ea09a4e12..9ea09a4e12 100644
--- a/meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb
+++ b/meta/recipes-core/glibc/glibc-y2038-tests_2.41.bb
diff --git a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
index e4fb2a7a28..dbe3ce8c32 100644
--- a/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
+++ b/meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
@@ -1,4 +1,4 @@
1From c22fc168dd00cdabcf24a54b4d9383a3f1a7b313 Mon Sep 17 00:00:00 2001 1From cecd20fa2ff3ee2bd887b1d427088f32678cc04f Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Sat, 7 Dec 2019 09:59:22 -0800 3Date: Sat, 7 Dec 2019 09:59:22 -0800
4Subject: [PATCH] localedef: Add hardlink resolver from util-linux 4Subject: [PATCH] localedef: Add hardlink resolver from util-linux
diff --git a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
index 1bbd07d331..59d71a0d8b 100644
--- a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
+++ b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
@@ -1,4 +1,4 @@
1From fe564c5944621f240dd28a1b4157504384635518 Mon Sep 17 00:00:00 2001 1From e31f032ae87ba38645c66dd7d2dfaa8606602e70 Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Sat, 7 Dec 2019 10:01:37 -0800 3Date: Sat, 7 Dec 2019 10:01:37 -0800
4Subject: [PATCH] localedef: fix-ups hardlink to make it compile 4Subject: [PATCH] localedef: fix-ups hardlink to make it compile
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 650e608750..0f7db0d500 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,4 +1,4 @@
1From 213a4e5b43369f24d6f07a7c971f3909ec5d26a3 Mon Sep 17 00:00:00 2001 1From f794ec18764a59ad45e242092e2ae6f5e3b19761 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 3 Feb 2024 13:54:16 -0800 3Date: Sat, 3 Feb 2024 13:54:16 -0800
4Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well 4Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
@@ -30,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 1 file changed, 8 insertions(+), 8 deletions(-) 30 1 file changed, 8 insertions(+), 8 deletions(-)
31 31
32diff --git a/elf/dl-load.c b/elf/dl-load.c 32diff --git a/elf/dl-load.c b/elf/dl-load.c
33index 8a89b71016..1ea5415b76 100644 33index f905578a65..d4dd0fbc2a 100644
34--- a/elf/dl-load.c 34--- a/elf/dl-load.c
35+++ b/elf/dl-load.c 35+++ b/elf/dl-load.c
36@@ -2046,6 +2046,14 @@ _dl_map_object (struct link_map *loader, const char *name, 36@@ -2038,6 +2038,14 @@ _dl_map_object (struct link_map *loader, const char *name,
37 &loader->l_runpath_dirs, &realname, &fb, loader, 37 &loader->l_runpath_dirs, &realname, &fb, loader,
38 LA_SER_RUNPATH, &found_other_class); 38 LA_SER_RUNPATH, &found_other_class);
39 39
@@ -48,7 +48,7 @@ index 8a89b71016..1ea5415b76 100644
48 #ifdef USE_LDCONFIG 48 #ifdef USE_LDCONFIG
49 if (fd == -1 49 if (fd == -1
50 && (__glibc_likely ((mode & __RTLD_SECURE) == 0) 50 && (__glibc_likely ((mode & __RTLD_SECURE) == 0)
51@@ -2104,14 +2112,6 @@ _dl_map_object (struct link_map *loader, const char *name, 51@@ -2096,14 +2104,6 @@ _dl_map_object (struct link_map *loader, const char *name,
52 } 52 }
53 #endif 53 #endif
54 54
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index b98b6ec5fb..d9731a6fb7 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,4 +1,4 @@
1From c17e485fc4ff3f7f16a824b43372bc9e3fe57dd6 Mon Sep 17 00:00:00 2001 1From e8af7c91033875cfaf419c840d3283d71eb72d50 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:50:00 +0000 3Date: Wed, 18 Mar 2015 01:50:00 +0000
4Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK 4Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
@@ -21,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 1 file changed, 12 insertions(+) 21 1 file changed, 12 insertions(+)
22 22
23diff --git a/elf/dl-load.c b/elf/dl-load.c 23diff --git a/elf/dl-load.c b/elf/dl-load.c
24index 1ea5415b76..e149dd7e76 100644 24index d4dd0fbc2a..0cd5221d6a 100644
25--- a/elf/dl-load.c 25--- a/elf/dl-load.c
26+++ b/elf/dl-load.c 26+++ b/elf/dl-load.c
27@@ -1757,7 +1757,19 @@ open_path (const char *name, size_t namelen, int mode, 27@@ -1749,7 +1749,19 @@ open_path (const char *name, size_t namelen, int mode,
28 given on the command line when rtld is run directly. */ 28 given on the command line when rtld is run directly. */
29 return -1; 29 return -1;
30 30
diff --git a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 21c39dce59..0ee03c95d8 100644
--- a/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,4 +1,4 @@
1From 97229d19eca7d93d38ed7893640efe36a57e7bcb Mon Sep 17 00:00:00 2001 1From d7c4488ff48992631e14a53c27252790eaefe928 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:51:38 +0000 3Date: Wed, 18 Mar 2015 01:51:38 +0000
4Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths 4Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 8 files changed, 15 insertions(+), 10 deletions(-) 26 8 files changed, 15 insertions(+), 10 deletions(-)
27 27
28diff --git a/elf/dl-cache.c b/elf/dl-cache.c 28diff --git a/elf/dl-cache.c b/elf/dl-cache.c
29index 7c7dc58745..0147a281ad 100644 29index 300aa1b6dd..6df873e08b 100644
30--- a/elf/dl-cache.c 30--- a/elf/dl-cache.c
31+++ b/elf/dl-cache.c 31+++ b/elf/dl-cache.c
32@@ -336,6 +336,10 @@ search_cache (const char *string_table, uint32_t string_table_size, 32@@ -336,6 +336,10 @@ search_cache (const char *string_table, uint32_t string_table_size,
@@ -41,10 +41,10 @@ index 7c7dc58745..0147a281ad 100644
41 _dl_cache_libcmp (const char *p1, const char *p2) 41 _dl_cache_libcmp (const char *p1, const char *p2)
42 { 42 {
43diff --git a/elf/dl-load.c b/elf/dl-load.c 43diff --git a/elf/dl-load.c b/elf/dl-load.c
44index e149dd7e76..c99ce0ee45 100644 44index 0cd5221d6a..9b9593f8d8 100644
45--- a/elf/dl-load.c 45--- a/elf/dl-load.c
46+++ b/elf/dl-load.c 46+++ b/elf/dl-load.c
47@@ -106,8 +106,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; 47@@ -107,8 +107,8 @@ enum { ncapstr = 1, max_capstrlen = 0 };
48 gen-trusted-dirs.awk. */ 48 gen-trusted-dirs.awk. */
49 #include "trusted-dirs.h" 49 #include "trusted-dirs.h"
50 50
@@ -56,7 +56,7 @@ index e149dd7e76..c99ce0ee45 100644
56 SYSTEM_DIRS_LEN 56 SYSTEM_DIRS_LEN
57 }; 57 };
58diff --git a/elf/dl-usage.c b/elf/dl-usage.c 58diff --git a/elf/dl-usage.c b/elf/dl-usage.c
59index 5baac4ba8e..60097ad0e2 100644 59index c6d13ac2ee..1dac82102d 100644
60--- a/elf/dl-usage.c 60--- a/elf/dl-usage.c
61+++ b/elf/dl-usage.c 61+++ b/elf/dl-usage.c
62@@ -25,6 +25,8 @@ 62@@ -25,6 +25,8 @@
@@ -87,7 +87,7 @@ index 5baac4ba8e..60097ad0e2 100644
87 print_hwcaps_subdirectories (state); 87 print_hwcaps_subdirectories (state);
88 _exit (EXIT_SUCCESS); 88 _exit (EXIT_SUCCESS);
89diff --git a/elf/interp.c b/elf/interp.c 89diff --git a/elf/interp.c b/elf/interp.c
90index 8b705824bf..7d094829f3 100644 90index cc49e13c86..394c1ce0c5 100644
91--- a/elf/interp.c 91--- a/elf/interp.c
92+++ b/elf/interp.c 92+++ b/elf/interp.c
93@@ -18,5 +18,5 @@ 93@@ -18,5 +18,5 @@
@@ -98,10 +98,10 @@ index 8b705824bf..7d094829f3 100644
98+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp"))) 98+const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
99 = RUNTIME_LINKER; 99 = RUNTIME_LINKER;
100diff --git a/elf/ldconfig.c b/elf/ldconfig.c 100diff --git a/elf/ldconfig.c b/elf/ldconfig.c
101index b64c54b53e..caf7001745 100644 101index 1432187e9b..0654e02389 100644
102--- a/elf/ldconfig.c 102--- a/elf/ldconfig.c
103+++ b/elf/ldconfig.c 103+++ b/elf/ldconfig.c
104@@ -150,6 +150,8 @@ static struct argp argp = 104@@ -151,6 +151,8 @@ static struct argp argp =
105 options, parse_opt, NULL, doc, NULL, more_help, NULL 105 options, parse_opt, NULL, doc, NULL, more_help, NULL
106 }; 106 };
107 107
@@ -111,7 +111,7 @@ index b64c54b53e..caf7001745 100644
111 static error_t 111 static error_t
112 parse_opt (int key, char *arg, struct argp_state *state) 112 parse_opt (int key, char *arg, struct argp_state *state)
113diff --git a/elf/rtld.c b/elf/rtld.c 113diff --git a/elf/rtld.c b/elf/rtld.c
114index 6352ba76c5..02316b8b16 100644 114index f32058bba6..434ea6d0c5 100644
115--- a/elf/rtld.c 115--- a/elf/rtld.c
116+++ b/elf/rtld.c 116+++ b/elf/rtld.c
117@@ -190,6 +190,7 @@ dso_name_valid_for_suid (const char *p) 117@@ -190,6 +190,7 @@ dso_name_valid_for_suid (const char *p)
@@ -123,7 +123,7 @@ index 6352ba76c5..02316b8b16 100644
123 static void 123 static void
124 audit_list_init (struct audit_list *list) 124 audit_list_init (struct audit_list *list)
125diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c 125diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
126index 1063c31a2b..57fa832e52 100644 126index 41ab0768c9..7c48c2b328 100644
127--- a/iconv/gconv_conf.c 127--- a/iconv/gconv_conf.c
128+++ b/iconv/gconv_conf.c 128+++ b/iconv/gconv_conf.c
129@@ -35,7 +35,7 @@ 129@@ -35,7 +35,7 @@
@@ -136,7 +136,7 @@ index 1063c31a2b..57fa832e52 100644
136 /* Type to represent search path. */ 136 /* Type to represent search path. */
137 struct path_elem 137 struct path_elem
138diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h 138diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
139index 919e49ffc8..cd3f8ba94b 100644 139index 0ee6571315..792308c0ab 100644
140--- a/sysdeps/generic/dl-cache.h 140--- a/sysdeps/generic/dl-cache.h
141+++ b/sysdeps/generic/dl-cache.h 141+++ b/sysdeps/generic/dl-cache.h
142@@ -34,10 +34,6 @@ 142@@ -34,10 +34,6 @@
diff --git a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
index b867ffde48..597923e792 100644
--- a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -1,4 +1,4 @@
1From 680ceb8bf43f07884674a08423b8a1c15d1a48b5 Mon Sep 17 00:00:00 2001 1From 9b408439eb042c4fc5cb33c8929dea419bf25b41 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:35:35 -0800 3Date: Thu, 31 Dec 2015 14:35:35 -0800
4Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86 4Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 1 insertion(+), 6 deletions(-) 17 1 file changed, 1 insertion(+), 6 deletions(-)
18 18
19diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h 19diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h
20index cfd395087b..28a937c468 100644 20index 5452716d22..8c7408feb4 100644
21--- a/sysdeps/x86/atomic-machine.h 21--- a/sysdeps/x86/atomic-machine.h
22+++ b/sysdeps/x86/atomic-machine.h 22+++ b/sysdeps/x86/atomic-machine.h
23@@ -26,19 +26,14 @@ 23@@ -26,19 +26,14 @@
diff --git a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
index a1d4f07724..2886d461c8 100644
--- a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
+++ b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
@@ -1,4 +1,4 @@
1From 88c37776dca4603d6618fd7a12a055a15e2a519e Mon Sep 17 00:00:00 2001 1From 1a57ab6f7d602401396a18b0270498ff9228cf64 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:55:12 -0700 3Date: Fri, 3 Aug 2018 09:55:12 -0700
4Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales 4Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 4 files changed, 8 insertions(+), 7 deletions(-) 19 4 files changed, 8 insertions(+), 7 deletions(-)
20 20
21diff --git a/locale/findlocale.c b/locale/findlocale.c 21diff --git a/locale/findlocale.c b/locale/findlocale.c
22index 43ff7201c1..9684a4249b 100644 22index e5e2bd3974..bdd9b79f83 100644
23--- a/locale/findlocale.c 23--- a/locale/findlocale.c
24+++ b/locale/findlocale.c 24+++ b/locale/findlocale.c
25@@ -55,7 +55,7 @@ struct __locale_data *const _nl_C[] attribute_hidden = 25@@ -55,7 +55,7 @@ struct __locale_data *const _nl_C[] attribute_hidden =
@@ -41,7 +41,7 @@ index 43ff7201c1..9684a4249b 100644
41 else 41 else
42 /* We really have to load some data. First see whether the name is 42 /* We really have to load some data. First see whether the name is
43diff --git a/locale/loadarchive.c b/locale/loadarchive.c 43diff --git a/locale/loadarchive.c b/locale/loadarchive.c
44index 452e3eb6e3..c7467aec42 100644 44index 058a467cde..af62f3c304 100644
45--- a/locale/loadarchive.c 45--- a/locale/loadarchive.c
46+++ b/locale/loadarchive.c 46+++ b/locale/loadarchive.c
47@@ -42,7 +42,7 @@ 47@@ -42,7 +42,7 @@
@@ -54,7 +54,7 @@ index 452e3eb6e3..c7467aec42 100644
54 /* Size of initial mapping window, optimal if large enough to 54 /* Size of initial mapping window, optimal if large enough to
55 cover the header plus the initial locale. */ 55 cover the header plus the initial locale. */
56diff --git a/locale/localeinfo.h b/locale/localeinfo.h 56diff --git a/locale/localeinfo.h b/locale/localeinfo.h
57index ed698faef1..f7efc288a5 100644 57index ab1b5e5659..92aef8d58e 100644
58--- a/locale/localeinfo.h 58--- a/locale/localeinfo.h
59+++ b/locale/localeinfo.h 59+++ b/locale/localeinfo.h
60@@ -347,7 +347,7 @@ _nl_lookup_word (locale_t l, int category, int item) 60@@ -347,7 +347,7 @@ _nl_lookup_word (locale_t l, int category, int item)
@@ -67,7 +67,7 @@ index ed698faef1..f7efc288a5 100644
67 /* Load the locale data for CATEGORY from the file specified by *NAME. 67 /* Load the locale data for CATEGORY from the file specified by *NAME.
68 If *NAME is "", use environment variables as specified by POSIX, and 68 If *NAME is "", use environment variables as specified by POSIX, and
69diff --git a/locale/programs/locale.c b/locale/programs/locale.c 69diff --git a/locale/programs/locale.c b/locale/programs/locale.c
70index c7ee1874e8..8281e32236 100644 70index 7e8832dc3b..7fa484f092 100644
71--- a/locale/programs/locale.c 71--- a/locale/programs/locale.c
72+++ b/locale/programs/locale.c 72+++ b/locale/programs/locale.c
73@@ -631,6 +631,7 @@ nameentcmp (const void *a, const void *b) 73@@ -631,6 +631,7 @@ nameentcmp (const void *a, const void *b)
diff --git a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
index 09f64421ae..025ad153d6 100644
--- a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
+++ b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
@@ -1,4 +1,4 @@
1From ab38fdad1d435b68ae2d178f2e5d24c77f4e8d98 Mon Sep 17 00:00:00 2001 1From 789083eea1feb1249ec5817710552dc31653b36e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Mar 2021 14:48:56 -0800 3Date: Sat, 6 Mar 2021 14:48:56 -0800
4Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns 4Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 5 insertions(+), 1 deletion(-) 14 1 file changed, 5 insertions(+), 1 deletion(-)
15 15
16diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c 16diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c
17index 2fa57fd63d..4d0d5ff0c4 100644 17index edb22ebce6..b67684a3ba 100644
18--- a/sysdeps/unix/sysv/linux/faccessat.c 18--- a/sysdeps/unix/sysv/linux/faccessat.c
19+++ b/sysdeps/unix/sysv/linux/faccessat.c 19+++ b/sysdeps/unix/sysv/linux/faccessat.c
20@@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag) 20@@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag)
diff --git a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
index b862b12d66..dbb6d674d5 100644
--- a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,4 +1,4 @@
1From cac7bbbc82423697f8d3223222db8b787b63f500 Mon Sep 17 00:00:00 2001 1From 4a1ff3c313645aa425a0a87459c907dad1b9ca4b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:31:06 +0000 3Date: Wed, 18 Mar 2015 00:31:06 +0000
4Subject: [PATCH] 'yes' within the path sets wrong config variables 4Subject: [PATCH] 'yes' within the path sets wrong config variables
@@ -20,16 +20,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 sysdeps/arm/configure.ac | 4 ++-- 20 sysdeps/arm/configure.ac | 4 ++--
21 sysdeps/mips/configure | 4 ++-- 21 sysdeps/mips/configure | 4 ++--
22 sysdeps/mips/configure.ac | 4 ++-- 22 sysdeps/mips/configure.ac | 4 ++--
23 sysdeps/nios2/configure | 4 ++--
24 sysdeps/nios2/configure.ac | 4 ++--
25 sysdeps/unix/sysv/linux/mips/configure | 4 ++-- 23 sysdeps/unix/sysv/linux/mips/configure | 4 ++--
26 sysdeps/unix/sysv/linux/mips/configure.ac | 4 ++-- 24 sysdeps/unix/sysv/linux/mips/configure.ac | 4 ++--
27 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 8 ++++---- 25 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 8 ++++----
28 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 8 ++++---- 26 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 8 ++++----
29 12 files changed, 28 insertions(+), 28 deletions(-) 27 10 files changed, 24 insertions(+), 24 deletions(-)
30 mode change 100644 => 100755 sysdeps/arm/configure 28 mode change 100644 => 100755 sysdeps/arm/configure
31 mode change 100644 => 100755 sysdeps/mips/configure 29 mode change 100644 => 100755 sysdeps/mips/configure
32 mode change 100644 => 100755 sysdeps/nios2/configure
33 mode change 100644 => 100755 sysdeps/unix/sysv/linux/mips/configure 30 mode change 100644 => 100755 sysdeps/unix/sysv/linux/mips/configure
34 mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure 31 mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure
35 32
@@ -139,42 +136,6 @@ index d3cd780d78..250223d206 100644
139 #endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)]) 136 #endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)])
140 if test x$libc_cv_mips_nan2008 = xyes; then 137 if test x$libc_cv_mips_nan2008 = xyes; then
141 AC_DEFINE(HAVE_MIPS_NAN2008) 138 AC_DEFINE(HAVE_MIPS_NAN2008)
142diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure
143old mode 100644
144new mode 100755
145index d25684d5ad..5801978aee
146--- a/sysdeps/nios2/configure
147+++ b/sysdeps/nios2/configure
148@@ -147,12 +147,12 @@ else case e in #(
149 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
150 /* end confdefs.h. */
151 #ifdef __nios2_big_endian__
152- yes
153+ is_nios2_be
154 #endif
155
156 _ACEOF
157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
158- $EGREP_TRADITIONAL "yes" >/dev/null 2>&1
159+ $EGREP_TRADITIONAL "is_nios2_be" >/dev/null 2>&1
160 then :
161 libc_cv_nios2_be=yes
162 else case e in #(
163diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac
164index f738e9a7ed..4085851cbc 100644
165--- a/sysdeps/nios2/configure.ac
166+++ b/sysdeps/nios2/configure.ac
167@@ -4,8 +4,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
168 # Nios II big endian is not yet supported.
169 AC_CACHE_CHECK([for big endian],
170 [libc_cv_nios2_be],
171- [AC_EGREP_CPP(yes,[#ifdef __nios2_big_endian__
172- yes
173+ [AC_EGREP_CPP(is_nios2_be,[#ifdef __nios2_big_endian__
174+ is_nios2_be
175 #endif
176 ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
177 if test $libc_cv_nios2_be = yes; then
178diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure 139diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure
179old mode 100644 140old mode 100644
180new mode 100755 141new mode 100755
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
index 8b79916b81..b1bed71f2b 100644
--- a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,4 +1,4 @@
1From 8216e0927262392f3b60a5cc5592d39c9f18ef3c Mon Sep 17 00:00:00 2001 1From 7d158af5750b351b3b08e78bb6c5fe80e7cb36ba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:42:58 +0000 3Date: Wed, 18 Mar 2015 00:42:58 +0000
4Subject: [PATCH] eglibc: Cross building and testing instructions 4Subject: [PATCH] eglibc: Cross building and testing instructions
diff --git a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
index 0275133790..13190125eb 100644
--- a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,4 +1,4 @@
1From bd4b95bcc335599e736a3554112f1e912a79542b Mon Sep 17 00:00:00 2001 1From 435b57e8327555b273a52df672b2611050a8c579 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:49:28 +0000 3Date: Wed, 18 Mar 2015 00:49:28 +0000
4Subject: [PATCH] eglibc: Help bootstrap cross toolchain 4Subject: [PATCH] eglibc: Help bootstrap cross toolchain
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 create mode 100644 include/stubs-bootstrap.h 29 create mode 100644 include/stubs-bootstrap.h
30 30
31diff --git a/Makefile b/Makefile 31diff --git a/Makefile b/Makefile
32index c84f266ce7..790c717958 100644 32index 97b4328af8..5c20ed3cff 100644
33--- a/Makefile 33--- a/Makefile
34+++ b/Makefile 34+++ b/Makefile
35@@ -79,9 +79,18 @@ subdir-dirs = include 35@@ -79,9 +79,18 @@ subdir-dirs = include
diff --git a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
index 91e52a0db9..780aff1e7d 100644
--- a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
+++ b/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
@@ -1,4 +1,4 @@
1From ab08ea10e9bc8a91f83fea12ccf40abf1a150326 Mon Sep 17 00:00:00 2001 1From 46937c30c52cf186609bee1ec927464d395afb30 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:55:53 +0000 3Date: Wed, 18 Mar 2015 00:55:53 +0000
4Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 4Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4
@@ -33,7 +33,7 @@ index 3ad702e165..931985b5d6 100644
33 # a* 33 # a*
34 alphasort64; 34 alphasort64;
35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S 35diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
36index d5d8c5e033..f356d02077 100644 36index db898e9e39..6e2972e814 100644
37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S 37--- a/sysdeps/unix/sysv/linux/sh/sysdep.S
38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S 38+++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
39@@ -30,3 +30,14 @@ ENTRY (__syscall_error) 39@@ -30,3 +30,14 @@ ENTRY (__syscall_error)
diff --git a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
index ae14ba82db..8f9bbb6cf3 100644
--- a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,4 +1,4 @@
1From ae0b0897228da4c8815061fe57d9b31c2b742dbc Mon Sep 17 00:00:00 2001 1From 68dcae2527a64a4448334fdfe27c7b6014589aae Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 01:33:49 +0000 3Date: Wed, 18 Mar 2015 01:33:49 +0000
4Subject: [PATCH] eglibc: Forward port cross locale generation support 4Subject: [PATCH] eglibc: Forward port cross locale generation support
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 create mode 100644 locale/catnames.c 23 create mode 100644 locale/catnames.c
24 24
25diff --git a/locale/Makefile b/locale/Makefile 25diff --git a/locale/Makefile b/locale/Makefile
26index 2810f28605..05f847f9a6 100644 26index 9d9c1a7691..bf271fd0a8 100644
27--- a/locale/Makefile 27--- a/locale/Makefile
28+++ b/locale/Makefile 28+++ b/locale/Makefile
29@@ -30,6 +30,7 @@ headers = \ 29@@ -30,6 +30,7 @@ headers = \
@@ -87,7 +87,7 @@ index 0000000000..538f3f5edb
87+ [LC_ALL] = sizeof ("LC_ALL") - 1 87+ [LC_ALL] = sizeof ("LC_ALL") - 1
88+ }; 88+ };
89diff --git a/locale/localeinfo.h b/locale/localeinfo.h 89diff --git a/locale/localeinfo.h b/locale/localeinfo.h
90index f7efc288a5..6ef082eb25 100644 90index 92aef8d58e..ae23b2f7fe 100644
91--- a/locale/localeinfo.h 91--- a/locale/localeinfo.h
92+++ b/locale/localeinfo.h 92+++ b/locale/localeinfo.h
93@@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) 93@@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE)
@@ -100,7 +100,7 @@ index f7efc288a5..6ef082eb25 100644
100 # define NL_CURRENT_INDIRECT 1 100 # define NL_CURRENT_INDIRECT 1
101 #endif 101 #endif
102diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c 102diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
103index 36504f238d..56ee97e61b 100644 103index e635a01ede..10e34a6da9 100644
104--- a/locale/programs/charmap-dir.c 104--- a/locale/programs/charmap-dir.c
105+++ b/locale/programs/charmap-dir.c 105+++ b/locale/programs/charmap-dir.c
106@@ -18,7 +18,9 @@ 106@@ -18,7 +18,9 @@
@@ -146,7 +146,7 @@ index 36504f238d..56ee97e61b 100644
146 return NULL; 146 return NULL;
147 } 147 }
148diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c 148diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
149index 5048adbd9f..4232834ead 100644 149index 7de3ba064d..3256427d21 100644
150--- a/locale/programs/ld-collate.c 150--- a/locale/programs/ld-collate.c
151+++ b/locale/programs/ld-collate.c 151+++ b/locale/programs/ld-collate.c
152@@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, 152@@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -195,7 +195,7 @@ index 5048adbd9f..4232834ead 100644
195 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); 195 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
196 196
197diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c 197diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
198index eb6e7e145c..14736d1cac 100644 198index 15fd39c637..d4c5e0c9e7 100644
199--- a/locale/programs/ld-ctype.c 199--- a/locale/programs/ld-ctype.c
200+++ b/locale/programs/ld-ctype.c 200+++ b/locale/programs/ld-ctype.c
201@@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, 201@@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -277,7 +277,7 @@ index eb6e7e145c..14736d1cac 100644
277 srunp = srunp->next; 277 srunp = srunp->next;
278 } 278 }
279diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c 279diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
280index 1abff3cf53..8a2f2b820a 100644 280index 9529d7945a..554454b9c1 100644
281--- a/locale/programs/ld-time.c 281--- a/locale/programs/ld-time.c
282+++ b/locale/programs/ld-time.c 282+++ b/locale/programs/ld-time.c
283@@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME"); 283@@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME");
@@ -346,7 +346,7 @@ index 1abff3cf53..8a2f2b820a 100644
346 346
347 347
348diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c 348diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
349index 61373d2657..7ec5726377 100644 349index 6f40ecf77a..573d051d0a 100644
350--- a/locale/programs/linereader.c 350--- a/locale/programs/linereader.c
351+++ b/locale/programs/linereader.c 351+++ b/locale/programs/linereader.c
352@@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, 352@@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -359,7 +359,7 @@ index 61373d2657..7ec5726377 100644
359 lr_buffer_init (&lrb); 359 lr_buffer_init (&lrb);
360 360
361diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 361diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
362index 907bb5fb25..3106529043 100644 362index 7b66cd279c..dd0c3f1562 100644
363--- a/locale/programs/localedef.c 363--- a/locale/programs/localedef.c
364+++ b/locale/programs/localedef.c 364+++ b/locale/programs/localedef.c
365@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 365@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -405,7 +405,7 @@ index 907bb5fb25..3106529043 100644
405 force_output = 1; 405 force_output = 1;
406 break; 406 break;
407diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c 407diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
408index 6c6ebf2dd6..cc02ab82bf 100644 408index b54fcbbceb..6110c7b369 100644
409--- a/locale/programs/locfile.c 409--- a/locale/programs/locfile.c
410+++ b/locale/programs/locfile.c 410+++ b/locale/programs/locfile.c
411@@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, 411@@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -428,7 +428,7 @@ index 6c6ebf2dd6..cc02ab82bf 100644
428 428
429 /* Record that FILE's next element is the 32-bit integer VALUE. */ 429 /* Record that FILE's next element is the 32-bit integer VALUE. */
430diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h 430diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
431index 3afb0a8d29..46785374e8 100644 431index 9103fade14..ecd878563d 100644
432--- a/locale/programs/locfile.h 432--- a/locale/programs/locfile.h
433+++ b/locale/programs/locfile.h 433+++ b/locale/programs/locfile.h
434@@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions, 434@@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -517,7 +517,7 @@ index 3afb0a8d29..46785374e8 100644
517+ 517+
518 #endif /* locfile.h */ 518 #endif /* locfile.h */
519diff --git a/locale/setlocale.c b/locale/setlocale.c 519diff --git a/locale/setlocale.c b/locale/setlocale.c
520index 7bd27e5398..2f194bad7c 100644 520index c04740ca19..12deadeb24 100644
521--- a/locale/setlocale.c 521--- a/locale/setlocale.c
522+++ b/locale/setlocale.c 522+++ b/locale/setlocale.c
523@@ -63,35 +63,6 @@ static char *const _nl_current_used[] = 523@@ -63,35 +63,6 @@ static char *const _nl_current_used[] =
diff --git a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch b/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
index 94d5abf72f..9448f360ef 100644
--- a/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
+++ b/meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
@@ -1,4 +1,4 @@
1From ccac9ff221fa08dbe330ae75a570da33edaaac4e Mon Sep 17 00:00:00 2001 1From 194e83794369783287956fb12c7f8469e6b7d110 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Aug 2018 09:42:06 -0700 3Date: Fri, 3 Aug 2018 09:42:06 -0700
4Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path 4Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 1 file changed, 25 insertions(+), 10 deletions(-) 18 1 file changed, 25 insertions(+), 10 deletions(-)
19 19
20diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c 20diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
21index 8d79a1b6d1..6dc7ecd4e7 100644 21index 2c19f4fd29..b8495848c3 100644
22--- a/locale/programs/locarchive.c 22--- a/locale/programs/locarchive.c
23+++ b/locale/programs/locarchive.c 23+++ b/locale/programs/locarchive.c
24@@ -339,12 +339,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head) 24@@ -339,12 +339,24 @@ enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
diff --git a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
index 51d152f8c0..0e00c04659 100644
--- a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
+++ b/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
@@ -1,4 +1,4 @@
1From e79835037312f8d58c8c555e1ebf5746e09d10cd Mon Sep 17 00:00:00 2001 1From 7d7f6fcd4f4b6664bff75addc92bc7b8a86dc22d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Aug 2020 14:31:16 -0700 3Date: Fri, 7 Aug 2020 14:31:16 -0700
4Subject: [PATCH] powerpc: Do not ask compiler for finding arch 4Subject: [PATCH] powerpc: Do not ask compiler for finding arch
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 2 files changed, 2 insertions(+), 8 deletions(-) 15 2 files changed, 2 insertions(+), 8 deletions(-)
16 16
17diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure 17diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure
18index 9e5a07ab6d..a308bdd863 100644 18index 48b9c9b65a..7eb260fc78 100644
19--- a/sysdeps/powerpc/preconfigure 19--- a/sysdeps/powerpc/preconfigure
20+++ b/sysdeps/powerpc/preconfigure 20+++ b/sysdeps/powerpc/preconfigure
21@@ -29,10 +29,7 @@ esac 21@@ -29,10 +29,7 @@ esac
diff --git a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
index 87bc7a840e..f40a8eff07 100644
--- a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
+++ b/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
@@ -1,4 +1,4 @@
1From 4dd93c44d85ad04343daa9933edfb6ae59863095 Mon Sep 17 00:00:00 2001 1From 2bd0ea2c8f9595414741ed523c6ca07630a4fc96 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 May 2020 17:05:45 -0700 3Date: Fri, 15 May 2020 17:05:45 -0700
4Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 4Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h 17 mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h
18 18
19diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h 19diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h
20index 118e59172d..c6278c6afa 100644 20index f56260c2de..391d79d5a8 100644
21--- a/sysdeps/aarch64/bits/wordsize.h 21--- a/sysdeps/aarch64/bits/wordsize.h
22+++ b/sysdeps/aarch64/bits/wordsize.h 22+++ b/sysdeps/aarch64/bits/wordsize.h
23@@ -17,12 +17,19 @@ 23@@ -17,12 +17,19 @@
@@ -44,11 +44,11 @@ index 118e59172d..c6278c6afa 100644
44+#endif 44+#endif
45diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h 45diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h
46deleted file mode 100644 46deleted file mode 100644
47index 6ecbfe7c86..0000000000 47index be457d84d3..0000000000
48--- a/sysdeps/arm/bits/wordsize.h 48--- a/sysdeps/arm/bits/wordsize.h
49+++ /dev/null 49+++ /dev/null
50@@ -1,21 +0,0 @@ 50@@ -1,21 +0,0 @@
51-/* Copyright (C) 1999-2024 Free Software Foundation, Inc. 51-/* Copyright (C) 1999-2025 Free Software Foundation, Inc.
52- This file is part of the GNU C Library. 52- This file is part of the GNU C Library.
53- 53-
54- The GNU C Library is free software; you can redistribute it and/or 54- The GNU C Library is free software; you can redistribute it and/or
diff --git a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
index ff60c00102..2af39799be 100644
--- a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
@@ -1,4 +1,4 @@
1From 0a29c4828c2440bf4768f4342480958a67d58954 Mon Sep 17 00:00:00 2001 1From 7ef9358bbb184026914fb4d9ff479361b82bf6c9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:33:02 -0800 3Date: Thu, 31 Dec 2015 14:33:02 -0800
4Subject: [PATCH] Replace echo with printf builtin in nscd init script 4Subject: [PATCH] Replace echo with printf builtin in nscd init script
diff --git a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch b/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
index e4bc40b123..ca30edd91c 100644
--- a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
+++ b/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
@@ -1,4 +1,4 @@
1From 1b1e654726931c27c86cf9c68371c32410f8d766 Mon Sep 17 00:00:00 2001 1From c43c1758baddaff1fb82afc118f7dba23af12540 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:27:10 +0000 3Date: Wed, 18 Mar 2015 00:27:10 +0000
4Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its 4Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its
diff --git a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
index 24dd4dad56..2e4c6ced9e 100644
--- a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
+++ b/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
@@ -1,4 +1,4 @@
1From 99aac9db31f52c3b59b32c424b26d881069aa5df Mon Sep 17 00:00:00 2001 1From a2179a1a5e0f6ded889d2c88cabb23c92b5a4b1e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 9 Dec 2021 15:14:42 -0800 3Date: Thu, 9 Dec 2021 15:14:42 -0800
4Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh 4Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 2 files changed, 10 insertions(+) 14 2 files changed, 10 insertions(+)
15 15
16diff --git a/Makeconfig b/Makeconfig 16diff --git a/Makeconfig b/Makeconfig
17index 2d4343b604..1992e19c4e 100644 17index d0108d2caa..75887b1334 100644
18--- a/Makeconfig 18--- a/Makeconfig
19+++ b/Makeconfig 19+++ b/Makeconfig
20@@ -309,6 +309,15 @@ ifndef sysincludedir 20@@ -309,6 +309,15 @@ ifndef sysincludedir
@@ -34,7 +34,7 @@ index 2d4343b604..1992e19c4e 100644
34 # Commands to install files. 34 # Commands to install files.
35 ifndef INSTALL_DATA 35 ifndef INSTALL_DATA
36diff --git a/timezone/Makefile b/timezone/Makefile 36diff --git a/timezone/Makefile b/timezone/Makefile
37index cf4ef3bf7e..559b9a7e3d 100644 37index ebe5cf73a1..b5fa38f4d7 100644
38--- a/timezone/Makefile 38--- a/timezone/Makefile
39+++ b/timezone/Makefile 39+++ b/timezone/Makefile
40@@ -143,6 +143,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make 40@@ -143,6 +143,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
diff --git a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
index c294dda29d..e68e37b125 100644
--- a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
+++ b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
@@ -1,4 +1,4 @@
1From 4c68d7aa739ebd997db43d73cf2a43b776969c89 Mon Sep 17 00:00:00 2001 1From c86de3e8b739f20fd7211b66dc3c69b61d28d611 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 15 Dec 2021 21:47:53 -0800 3Date: Wed, 15 Dec 2021 21:47:53 -0800
4Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter 4Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter
@@ -16,7 +16,7 @@ Cc: Paul Eggert <eggert@cs.ucla.edu>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh 18diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
19index 38941bbc55..588bcb9f06 100755 19index ca3d82c6aa..1be42814fe 100755
20--- a/timezone/tzselect.ksh 20--- a/timezone/tzselect.ksh
21+++ b/timezone/tzselect.ksh 21+++ b/timezone/tzselect.ksh
22@@ -1,4 +1,4 @@ 22@@ -1,4 +1,4 @@
diff --git a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch b/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
index 6f7b765acc..f1391a095c 100644
--- a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
+++ b/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
@@ -1,4 +1,4 @@
1From 5352c59f08d8e5e1f44fb5834d6bbbd3a20bdd36 Mon Sep 17 00:00:00 2001 1From 06dd2eec0d57e1e2702069ee4c970c68fc4d3bcb Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 29 Aug 2021 20:49:16 +0800 3Date: Sun, 29 Aug 2021 20:49:16 +0800
4Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287] 4Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287]
@@ -72,7 +72,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
72 1 file changed, 1 insertion(+), 1 deletion(-) 72 1 file changed, 1 insertion(+), 1 deletion(-)
73 73
74diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c 74diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
75index 40ef30303f..f97b1f6900 100644 75index 9a1f27d017..9a48340055 100644
76--- a/sysdeps/unix/sysv/linux/clone-internal.c 76--- a/sysdeps/unix/sysv/linux/clone-internal.c
77+++ b/sysdeps/unix/sysv/linux/clone-internal.c 77+++ b/sysdeps/unix/sysv/linux/clone-internal.c
78@@ -98,7 +98,7 @@ __clone_internal (struct clone_args *cl_args, 78@@ -98,7 +98,7 @@ __clone_internal (struct clone_args *cl_args,
diff --git a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch b/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
index f8e73662e7..a90814c63a 100644
--- a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
+++ b/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
@@ -1,4 +1,4 @@
1From 51694f72b7326d36e51214eb2af0be1d6831c7a4 Mon Sep 17 00:00:00 2001 1From cd66a5301c4d84e3dbc4e30fdb9e32b341e66b3d Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sun, 24 Jul 2022 07:07:29 -0700 3Date: Sun, 24 Jul 2022 07:07:29 -0700
4Subject: [PATCH] Avoid hardcoded build time paths in the output binaries 4Subject: [PATCH] Avoid hardcoded build time paths in the output binaries
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 3 insertions(+), 3 deletions(-) 14 1 file changed, 3 insertions(+), 3 deletions(-)
15 15
16diff --git a/support/Makefile b/support/Makefile 16diff --git a/support/Makefile b/support/Makefile
17index aa57207bdc..3c66cec6c8 100644 17index 59a9974539..c3f7302bcb 100644
18--- a/support/Makefile 18--- a/support/Makefile
19+++ b/support/Makefile 19+++ b/support/Makefile
20@@ -229,9 +229,9 @@ libsupport-inhibit-o += .o 20@@ -238,9 +238,9 @@ libsupport-inhibit-o += .o
21 endif 21 endif
22 22
23 CFLAGS-support_paths.c = \ 23 CFLAGS-support_paths.c = \
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
index 256dab45f9..71777d3f2c 100644
--- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
+++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
@@ -1,4 +1,4 @@
1From 19795af92830251dd03943bda4825def5bf774c4 Mon Sep 17 00:00:00 2001 1From 5395ccff4478d42fab7f2bd6ba7f7188bec09ddf Mon Sep 17 00:00:00 2001
2From: Yash Shinde <Yash.Shinde@windriver.com> 2From: Yash Shinde <Yash.Shinde@windriver.com>
3Date: Fri, 5 Apr 2024 08:24:36 -0700 3Date: Fri, 5 Apr 2024 08:24:36 -0700
4Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest 4Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest
@@ -20,18 +20,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 1 file changed, 4 insertions(+), 2 deletions(-) 20 1 file changed, 4 insertions(+), 2 deletions(-)
21 21
22diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile 22diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
23index ae66590e91..b2f0469273 100644 23index 8a755293b3..22dafcaad1 100644
24--- a/sysdeps/unix/sysv/linux/Makefile 24--- a/sysdeps/unix/sysv/linux/Makefile
25+++ b/sysdeps/unix/sysv/linux/Makefile 25+++ b/sysdeps/unix/sysv/linux/Makefile
26@@ -223,7 +223,6 @@ tests += \ 26@@ -228,7 +228,6 @@ tests += \
27 tst-process_mrelease \
28 tst-quota \
29 tst-rlimit-infinity \ 27 tst-rlimit-infinity \
28 tst-sched-affinity-inheritance \
29 tst-sched_setattr \
30- tst-scm_rights \ 30- tst-scm_rights \
31 tst-sigtimedwait \ 31 tst-sigtimedwait \
32 tst-sync_file_range \ 32 tst-sync_file_range \
33 tst-sysconf-iov_max \ 33 tst-syscall-restart \
34@@ -234,6 +233,8 @@ tests += \ 34@@ -240,6 +239,8 @@ tests += \
35 tst-timerfd \ 35 tst-timerfd \
36 tst-ttyname-direct \ 36 tst-ttyname-direct \
37 tst-ttyname-namespace \ 37 tst-ttyname-namespace \
@@ -40,7 +40,7 @@ index ae66590e91..b2f0469273 100644
40 # tests 40 # tests
41 41
42 # process_madvise requires CAP_SYS_ADMIN. 42 # process_madvise requires CAP_SYS_ADMIN.
43@@ -271,9 +272,10 @@ tests-time64 += \ 43@@ -277,9 +278,10 @@ tests-time64 += \
44 tst-ntp_gettimex-time64 \ 44 tst-ntp_gettimex-time64 \
45 tst-ppoll-time64 \ 45 tst-ppoll-time64 \
46 tst-prctl-time64 \ 46 tst-prctl-time64 \
diff --git a/meta/recipes-core/glibc/glibc/0024-Fix-missing-randomness-in-__gen_tempname-bug-32214.patch b/meta/recipes-core/glibc/glibc/0024-Fix-missing-randomness-in-__gen_tempname-bug-32214.patch
deleted file mode 100644
index c9f3e32f58..0000000000
--- a/meta/recipes-core/glibc/glibc/0024-Fix-missing-randomness-in-__gen_tempname-bug-32214.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 9d30d58c32fe9d5f8ec6cda79fb11159e6789bcf Mon Sep 17 00:00:00 2001
2From: Andreas Schwab <schwab@suse.de>
3Date: Wed, 25 Sep 2024 11:49:30 +0200
4Subject: [PATCH] Fix missing randomness in __gen_tempname (bug 32214)
5
6Make sure to update the random value also if getrandom fails.
7
8Fixes: 686d542025 ("posix: Sync tempname with gnulib")
9
10Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=5f62cf88c4530c11904482775b7582bd7f6d80d2]
11
12Signed-off-by: Ola x Nilsson <olani@axis.com>
13---
14 sysdeps/posix/tempname.c | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
18index c00fe0c181..fc30958a0c 100644
19--- a/sysdeps/posix/tempname.c
20+++ b/sysdeps/posix/tempname.c
21@@ -117,6 +117,8 @@ random_bits (random_value *r, random_value s)
22 succeed. */
23 #if !_LIBC
24 *r = mix_random_values (v, clock ());
25+#else
26+ *r = v;
27 #endif
28 return false;
29 }
diff --git a/meta/recipes-core/glibc/glibc_2.40.bb b/meta/recipes-core/glibc/glibc_2.41.bb
index 3e855b19d8..71b89ac9ff 100644
--- a/meta/recipes-core/glibc/glibc_2.40.bb
+++ b/meta/recipes-core/glibc/glibc_2.41.bb
@@ -53,7 +53,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
53 file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ 53 file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
54 file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ 54 file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \
55 file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ 55 file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
56 file://0024-Fix-missing-randomness-in-__gen_tempname-bug-32214.patch \
57" 56"
58S = "${WORKDIR}/git" 57S = "${WORKDIR}/git"
59B = "${WORKDIR}/build-${TARGET_SYS}" 58B = "${WORKDIR}/build-${TARGET_SYS}"