summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-08 22:43:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 19:22:04 +0100
commite08a78c4534543fd49dcadfd9edf3247b344f7a7 (patch)
treeaaf33c7dece2867eb753b4738836dd5ad32646c8 /meta/recipes-core/glibc/glibc
parenta0402e7822228241130e79133bca38f9f4a62043 (diff)
downloadpoky-e08a78c4534543fd49dcadfd9edf3247b344f7a7.tar.gz
glibc: Bump to 2.36
(From OE-Core rev: 54f7441135c701b0b1ba337db04aa9a6410b3d3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc')
-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.patch6
-rw-r--r--meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch12
-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.patch30
-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.patch8
-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.patch46
-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-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch (renamed from meta/recipes-core/glibc/glibc/0016-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch)6
-rw-r--r--meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch (renamed from meta/recipes-core/glibc/glibc/0017-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch)4
-rw-r--r--meta/recipes-core/glibc/glibc/0017-powerpc-Do-not-ask-compiler-for-finding-arch.patch (renamed from meta/recipes-core/glibc/glibc/0019-powerpc-Do-not-ask-compiler-for-finding-arch.patch)2
-rw-r--r--meta/recipes-core/glibc/glibc/0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch19
-rw-r--r--meta/recipes-core/glibc/glibc/0019-Replace-echo-with-printf-builtin-in-nscd-init-script.patch (renamed from meta/recipes-core/glibc/glibc/0021-Replace-echo-with-printf-builtin-in-nscd-init-script.patch)4
-rw-r--r--meta/recipes-core/glibc/glibc/0020-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch (renamed from meta/recipes-core/glibc/glibc/0022-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch)7
-rw-r--r--meta/recipes-core/glibc/glibc/0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch (renamed from meta/recipes-core/glibc/glibc/0023-timezone-Make-shell-interpreter-overridable-in-tzsel.patch)10
-rw-r--r--meta/recipes-core/glibc/glibc/0022-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch27
-rw-r--r--meta/recipes-core/glibc/glibc/0023-fix-create-thread-failed-in-unprivileged-process-BZ-.patch (renamed from meta/recipes-core/glibc/glibc/0024-fix-create-thread-failed-in-unprivileged-process-BZ-.patch)6
-rw-r--r--meta/recipes-core/glibc/glibc/0024-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch (renamed from meta/recipes-core/glibc/glibc/reproducible-paths.patch)23
-rw-r--r--meta/recipes-core/glibc/glibc/0025-Revert-Linux-Implement-a-useful-version-of-_startup_.patch (renamed from meta/recipes-core/glibc/glibc/0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch)8
25 files changed, 152 insertions, 120 deletions
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 546fe58214..dfbd700c5f 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 8778429a3345bb5c0361332cf5103f394717a396 Mon Sep 17 00:00:00 2001 1From c6dca721df6dd8c39ffe16e61623516bd8742d39 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 94a05cf954..57f1a36455 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 87a69126d97bb8d5d52e34e451b4a7076efd6bed Mon Sep 17 00:00:00 2001 1From 3e391efa9b179ae886dd0942202bd2a6698e2679 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 9a605078b9..4eb23bd0e5 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 752b0d32fc96728ee624dbd62bf23e034d8d2aed Mon Sep 17 00:00:00 2001 1From a74ac72e6a25121c99f3875cf0245a435729e897 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:48:24 +0000 3Date: Wed, 18 Mar 2015 01:48:24 +0000
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 721593135e..39c4657fa2 100644 33index 1ad0868dad..c5e235d918 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@@ -2208,6 +2208,14 @@ _dl_map_object (struct link_map *loader, const char *name, 36@@ -2109,6 +2109,14 @@ _dl_map_object (struct link_map *loader, const char *name,
37 } 37 }
38 } 38 }
39 39
@@ -48,7 +48,7 @@ index 721593135e..39c4657fa2 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@@ -2266,14 +2274,6 @@ _dl_map_object (struct link_map *loader, const char *name, 51@@ -2167,14 +2175,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 da288d6ccf..7eaf70b780 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 2f7407697f2a905fedb98037152e7830f73bc6c6 Mon Sep 17 00:00:00 2001 1From d2f16ab250dbb93ae21e9e9286ddf696141db735 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 39c4657fa2..daa3af6c51 100644 24index c5e235d918..ce3cbfa3c4 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@@ -1904,7 +1904,19 @@ open_path (const char *name, size_t namelen, int mode, 27@@ -1809,7 +1809,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 14bcaf3ef9..1fb76202c5 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 88a31cd08801df53249963f3b26c7dbcee6ae2f8 Mon Sep 17 00:00:00 2001 1From 2d41508ed1059df2df9994d35d870be2005f575f 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,10 +26,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 8 files changed, 16 insertions(+), 10 deletions(-) 26 8 files changed, 16 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 2b8da8650d..3d9787bda4 100644 29index 8bbf110d02..c02a95d9b5 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@@ -355,6 +355,10 @@ search_cache (const char *string_table, uint32_t string_table_size, 32@@ -352,6 +352,10 @@ search_cache (const char *string_table, uint32_t string_table_size,
33 return best; 33 return best;
34 } 34 }
35 35
@@ -41,7 +41,7 @@ index 2b8da8650d..3d9787bda4 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 daa3af6c51..e323952993 100644 44index ce3cbfa3c4..e116db24a1 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@@ -117,8 +117,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; 47@@ -117,8 +117,8 @@ enum { ncapstr = 1, max_capstrlen = 0 };
@@ -56,7 +56,7 @@ index daa3af6c51..e323952993 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 5ad3a72559..88f26d3692 100644 59index 98d8c98948..77ca98cbf9 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 5ad3a72559..88f26d3692 100644
87 print_hwcaps_subdirectories (state); 87 print_hwcaps_subdirectories (state);
88 print_legacy_hwcap_directories (); 88 print_legacy_hwcap_directories ();
89diff --git a/elf/interp.c b/elf/interp.c 89diff --git a/elf/interp.c b/elf/interp.c
90index 91966702ca..dc86c20e83 100644 90index d82af036d1..9d282b2769 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,7 +98,7 @@ index 91966702ca..dc86c20e83 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 101d56ac8e..33debef60a 100644 101index 9394ac6438..7f66b1a460 100644
102--- a/elf/ldconfig.c 102--- a/elf/ldconfig.c
103+++ b/elf/ldconfig.c 103+++ b/elf/ldconfig.c
104@@ -176,6 +176,9 @@ static struct argp argp = 104@@ -176,6 +176,9 @@ static struct argp argp =
@@ -112,10 +112,10 @@ index 101d56ac8e..33debef60a 100644
112 a platform. */ 112 a platform. */
113 static int 113 static int
114diff --git a/elf/rtld.c b/elf/rtld.c 114diff --git a/elf/rtld.c b/elf/rtld.c
115index 4b09e84b0d..56d93ff616 100644 115index cbbaf4a331..d2d27a0127 100644
116--- a/elf/rtld.c 116--- a/elf/rtld.c
117+++ b/elf/rtld.c 117+++ b/elf/rtld.c
118@@ -193,6 +193,7 @@ dso_name_valid_for_suid (const char *p) 118@@ -189,6 +189,7 @@ dso_name_valid_for_suid (const char *p)
119 } 119 }
120 return *p != '\0'; 120 return *p != '\0';
121 } 121 }
@@ -124,7 +124,7 @@ index 4b09e84b0d..56d93ff616 100644
124 static void 124 static void
125 audit_list_init (struct audit_list *list) 125 audit_list_init (struct audit_list *list)
126diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c 126diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
127index 077082af66..46b6152455 100644 127index f069e28323..6288f715ba 100644
128--- a/iconv/gconv_conf.c 128--- a/iconv/gconv_conf.c
129+++ b/iconv/gconv_conf.c 129+++ b/iconv/gconv_conf.c
130@@ -35,7 +35,7 @@ 130@@ -35,7 +35,7 @@
@@ -137,7 +137,7 @@ index 077082af66..46b6152455 100644
137 /* Type to represent search path. */ 137 /* Type to represent search path. */
138 struct path_elem 138 struct path_elem
139diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h 139diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
140index 964d50a486..94bf68ca9d 100644 140index 93d4bea930..5249176441 100644
141--- a/sysdeps/generic/dl-cache.h 141--- a/sysdeps/generic/dl-cache.h
142+++ b/sysdeps/generic/dl-cache.h 142+++ b/sysdeps/generic/dl-cache.h
143@@ -34,10 +34,6 @@ 143@@ -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 493b2daad3..c66bcf80c0 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 a1fbd7ef1da02f334ff72c52cb11116164649067 Mon Sep 17 00:00:00 2001 1From 946d1cadf0bb54216409e8e0eb09be3e96044dbf 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,10 +17,10 @@ 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 2692d94a92..9d39bfdbd5 100644 20index f24f1c71ed..574487ca54 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@@ -52,19 +52,14 @@ typedef uintmax_t uatomic_max_t; 23@@ -26,19 +26,14 @@
24 #define LOCK_PREFIX "lock;" 24 #define LOCK_PREFIX "lock;"
25 25
26 #define USE_ATOMIC_COMPILER_BUILTINS 1 26 #define USE_ATOMIC_COMPILER_BUILTINS 1
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 b40d2bdef6..dc24c0240e 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 bf1603b3d73f64de777be00f7e55f2cfef596102 Mon Sep 17 00:00:00 2001 1From ce4e796fa8bd2df962cf7a0e4bc69ab6181e4ebf 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 5986373edd..856ba9afc0 100644 22index fc433b61d8..d6f030f13c 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 5986373edd..856ba9afc0 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 512769eaec..436619091b 100644 44index fcc4913319..62cae8c6c0 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,10 +54,10 @@ index 512769eaec..436619091b 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 b3d4da0185..22f9dc1140 100644 57index fd43033a19..3dc26272a0 100644
58--- a/locale/localeinfo.h 58--- a/locale/localeinfo.h
59+++ b/locale/localeinfo.h 59+++ b/locale/localeinfo.h
60@@ -331,7 +331,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)
61 } 61 }
62 62
63 /* Default search path if no LOCPATH environment variable. */ 63 /* Default search path if no LOCPATH environment variable. */
@@ -67,7 +67,7 @@ index b3d4da0185..22f9dc1140 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 e9275d6b83..a9109155e5 100644 70index 1b51b50d68..87c9049444 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 a47dd5331a..4d080726f8 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 78b2e81940561069faf7698931a033784f794e40 Mon Sep 17 00:00:00 2001 1From 95508f06f13604ed96f28d18eb1670ea1ed02063 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 13160d3249..ee3ddc9b79 100644 17index 1378bb2db8..19f2044172 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 77644a2ee3..6b80ad3e64 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 f6e96a95212bc1fef57b9594a7dddc0c20639873 Mon Sep 17 00:00:00 2001 1From 07655aaa14f9d1f3a521caadde2936067ce84b07 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
@@ -29,10 +29,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 12 files changed, 28 insertions(+), 28 deletions(-) 29 12 files changed, 28 insertions(+), 28 deletions(-)
30 30
31diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure 31diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure
32index 4c1fac49f3..597314f476 100644 32index bf972122b1..f9397b8d6e 100644
33--- a/sysdeps/aarch64/configure 33--- a/sysdeps/aarch64/configure
34+++ b/sysdeps/aarch64/configure 34+++ b/sysdeps/aarch64/configure
35@@ -157,12 +157,12 @@ else 35@@ -152,12 +152,12 @@ else
36 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37 /* end confdefs.h. */ 37 /* end confdefs.h. */
38 #ifdef __AARCH64EB__ 38 #ifdef __AARCH64EB__
@@ -48,10 +48,10 @@ index 4c1fac49f3..597314f476 100644
48 else 48 else
49 libc_cv_aarch64_be=no 49 libc_cv_aarch64_be=no
50diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac 50diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac
51index 3347c13fa1..4af163c0b6 100644 51index 51253d9802..ba36a0e8b4 100644
52--- a/sysdeps/aarch64/configure.ac 52--- a/sysdeps/aarch64/configure.ac
53+++ b/sysdeps/aarch64/configure.ac 53+++ b/sysdeps/aarch64/configure.ac
54@@ -17,8 +17,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) 54@@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE)
55 # the dynamic linker via %ifdef. 55 # the dynamic linker via %ifdef.
56 AC_CACHE_CHECK([for big endian], 56 AC_CACHE_CHECK([for big endian],
57 [libc_cv_aarch64_be], 57 [libc_cv_aarch64_be],
@@ -63,10 +63,10 @@ index 3347c13fa1..4af163c0b6 100644
63 ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)]) 63 ], libc_cv_aarch64_be=yes, libc_cv_aarch64_be=no)])
64 if test $libc_cv_aarch64_be = yes; then 64 if test $libc_cv_aarch64_be = yes; then
65diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure 65diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure
66index 431e843b2b..e152461138 100644 66index 5b0237e521..969fc9fe95 100644
67--- a/sysdeps/arm/configure 67--- a/sysdeps/arm/configure
68+++ b/sysdeps/arm/configure 68+++ b/sysdeps/arm/configure
69@@ -151,12 +151,12 @@ else 69@@ -148,12 +148,12 @@ else
70 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 70 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71 /* end confdefs.h. */ 71 /* end confdefs.h. */
72 #ifdef __ARM_PCS_VFP 72 #ifdef __ARM_PCS_VFP
@@ -82,10 +82,10 @@ index 431e843b2b..e152461138 100644
82 else 82 else
83 libc_cv_arm_pcs_vfp=no 83 libc_cv_arm_pcs_vfp=no
84diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac 84diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac
85index 90cdd69c75..05a262ba00 100644 85index 5172e30bbe..f06dedd7c5 100644
86--- a/sysdeps/arm/configure.ac 86--- a/sysdeps/arm/configure.ac
87+++ b/sysdeps/arm/configure.ac 87+++ b/sysdeps/arm/configure.ac
88@@ -15,8 +15,8 @@ AC_DEFINE(PI_STATIC_AND_HIDDEN) 88@@ -10,8 +10,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
89 # the dynamic linker via %ifdef. 89 # the dynamic linker via %ifdef.
90 AC_CACHE_CHECK([whether the compiler is using the ARM hard-float ABI], 90 AC_CACHE_CHECK([whether the compiler is using the ARM hard-float ABI],
91 [libc_cv_arm_pcs_vfp], 91 [libc_cv_arm_pcs_vfp],
@@ -97,10 +97,10 @@ index 90cdd69c75..05a262ba00 100644
97 ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)]) 97 ], libc_cv_arm_pcs_vfp=yes, libc_cv_arm_pcs_vfp=no)])
98 if test $libc_cv_arm_pcs_vfp = yes; then 98 if test $libc_cv_arm_pcs_vfp = yes; then
99diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure 99diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure
100index 4e13248c03..f14af952d0 100644 100index 3f4d9e9759..888453c70b 100644
101--- a/sysdeps/mips/configure 101--- a/sysdeps/mips/configure
102+++ b/sysdeps/mips/configure 102+++ b/sysdeps/mips/configure
103@@ -143,11 +143,11 @@ else 103@@ -145,11 +145,11 @@ else
104 /* end confdefs.h. */ 104 /* end confdefs.h. */
105 dnl 105 dnl
106 #ifdef __mips_nan2008 106 #ifdef __mips_nan2008
@@ -115,11 +115,11 @@ index 4e13248c03..f14af952d0 100644
115 else 115 else
116 libc_cv_mips_nan2008=no 116 libc_cv_mips_nan2008=no
117diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac 117diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac
118index bcbdaffd9f..ad3057f4cc 100644 118index d3cd780d78..250223d206 100644
119--- a/sysdeps/mips/configure.ac 119--- a/sysdeps/mips/configure.ac
120+++ b/sysdeps/mips/configure.ac 120+++ b/sysdeps/mips/configure.ac
121@@ -6,9 +6,9 @@ dnl position independent way. 121@@ -6,9 +6,9 @@ dnl position independent way.
122 dnl AC_DEFINE(PI_STATIC_AND_HIDDEN) 122 AC_DEFINE(HIDDEN_VAR_NEEDS_DYNAMIC_RELOC)
123 123
124 AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding], 124 AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding],
125- libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl 125- libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl
@@ -131,7 +131,7 @@ index bcbdaffd9f..ad3057f4cc 100644
131 if test x$libc_cv_mips_nan2008 = xyes; then 131 if test x$libc_cv_mips_nan2008 = xyes; then
132 AC_DEFINE(HAVE_MIPS_NAN2008) 132 AC_DEFINE(HAVE_MIPS_NAN2008)
133diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure 133diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure
134index 14c8a3a014..dde3814ef2 100644 134index b3cd28349e..f47e5a5adc 100644
135--- a/sysdeps/nios2/configure 135--- a/sysdeps/nios2/configure
136+++ b/sysdeps/nios2/configure 136+++ b/sysdeps/nios2/configure
137@@ -142,12 +142,12 @@ else 137@@ -142,12 +142,12 @@ else
@@ -150,7 +150,7 @@ index 14c8a3a014..dde3814ef2 100644
150 else 150 else
151 libc_cv_nios2_be=no 151 libc_cv_nios2_be=no
152diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac 152diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac
153index f05f43802b..dc8639902d 100644 153index f738e9a7ed..4085851cbc 100644
154--- a/sysdeps/nios2/configure.ac 154--- a/sysdeps/nios2/configure.ac
155+++ b/sysdeps/nios2/configure.ac 155+++ b/sysdeps/nios2/configure.ac
156@@ -4,8 +4,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 156@@ -4,8 +4,8 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
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 295fa315d8..ba8696d654 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 d6300e80c7c010fa7ca33e36e826151558cec498 Mon Sep 17 00:00:00 2001 1From 9373891f13f3550f9b3f896c34ac152efd369ca9 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 9e00da894d..1f6ff1f1fa 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 1c8044544d2cbdc529910a3ed6eba4b0ce7ae549 Mon Sep 17 00:00:00 2001 1From 7f2fd574646cb5ecbbc09372a2d8580ab72ec158 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 a49870d3d1..81673d7645 100644 32index 179dd478ff..55cfb740bf 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
@@ -52,7 +52,7 @@ index a49870d3d1..81673d7645 100644
52 ifeq (yes,$(build-shared)) 52 ifeq (yes,$(build-shared))
53 headers += gnu/lib-names.h 53 headers += gnu/lib-names.h
54 endif 54 endif
55@@ -420,6 +429,16 @@ others: $(common-objpfx)testrun.sh $(common-objpfx)debugglibc.sh 55@@ -421,6 +430,16 @@ others: $(common-objpfx)testrun.sh $(common-objpfx)debugglibc.sh
56 56
57 subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs) 57 subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs)
58 58
@@ -69,7 +69,7 @@ index a49870d3d1..81673d7645 100644
69 ifndef abi-variants 69 ifndef abi-variants
70 installed-stubs = $(inst_includedir)/gnu/stubs.h 70 installed-stubs = $(inst_includedir)/gnu/stubs.h
71 else 71 else
72@@ -446,6 +465,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force) 72@@ -447,6 +466,7 @@ $(inst_includedir)/gnu/stubs.h: $(+force)
73 73
74 install-others-nosubdir: $(installed-stubs) 74 install-others-nosubdir: $(installed-stubs)
75 endif 75 endif
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 03c81bfbd7..399e14faf4 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 e5999ffd1b8690c2902a6406c07f51023a6bf7ec Mon Sep 17 00:00:00 2001 1From 9f1803a2f91d59a9478ca4d8d93e1de5c62671e5 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 9c734ff755..974e33b4b1 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 a18fbb2e8b..59421bfbb0 100644 36index c5e3a7a365..35120031c4 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 48bb062e09..7d891557bf 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 99ae3189430eaa5472b2117e5a999109a6ca9251 Mon Sep 17 00:00:00 2001 1From 2c6449014151a4bcd4b253b2acc920f0b3d6b13f 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 b7c60681fa..07c606cde3 100644 26index eb55750496..b0461ac4b9 100644
27--- a/locale/Makefile 27--- a/locale/Makefile
28+++ b/locale/Makefile 28+++ b/locale/Makefile
29@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \ 29@@ -26,7 +26,8 @@ headers = langinfo.h locale.h bits/locale.h \
@@ -89,10 +89,10 @@ index 0000000000..538f3f5edb
89+ [LC_ALL] = sizeof ("LC_ALL") - 1 89+ [LC_ALL] = sizeof ("LC_ALL") - 1
90+ }; 90+ };
91diff --git a/locale/localeinfo.h b/locale/localeinfo.h 91diff --git a/locale/localeinfo.h b/locale/localeinfo.h
92index 22f9dc1140..fa31b3c5ea 100644 92index 3dc26272a0..b667d32c23 100644
93--- a/locale/localeinfo.h 93--- a/locale/localeinfo.h
94+++ b/locale/localeinfo.h 94+++ b/locale/localeinfo.h
95@@ -230,7 +230,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) 95@@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE)
96 unused. We can manage this playing some tricks with weak references. 96 unused. We can manage this playing some tricks with weak references.
97 But with thread-local locale settings, it becomes quite ungainly unless 97 But with thread-local locale settings, it becomes quite ungainly unless
98 we can use __thread variables. So only in that case do we attempt this. */ 98 we can use __thread variables. So only in that case do we attempt this. */
@@ -102,7 +102,7 @@ index 22f9dc1140..fa31b3c5ea 100644
102 # define NL_CURRENT_INDIRECT 1 102 # define NL_CURRENT_INDIRECT 1
103 #endif 103 #endif
104diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c 104diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
105index 4841bfd05d..ffcba1fd79 100644 105index 396a0d76c0..91f4a765ee 100644
106--- a/locale/programs/charmap-dir.c 106--- a/locale/programs/charmap-dir.c
107+++ b/locale/programs/charmap-dir.c 107+++ b/locale/programs/charmap-dir.c
108@@ -18,7 +18,9 @@ 108@@ -18,7 +18,9 @@
@@ -148,7 +148,7 @@ index 4841bfd05d..ffcba1fd79 100644
148 return NULL; 148 return NULL;
149 } 149 }
150diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c 150diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
151index 06a5203334..84b3ff4166 100644 151index 992814491d..da4dde4663 100644
152--- a/locale/programs/ld-collate.c 152--- a/locale/programs/ld-collate.c
153+++ b/locale/programs/ld-collate.c 153+++ b/locale/programs/ld-collate.c
154@@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen, 154@@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -160,7 +160,7 @@ index 06a5203334..84b3ff4166 100644
160 uint32_t zero = 0; 160 uint32_t zero = 0;
161 /* Handle <U0000> as a single character. */ 161 /* Handle <U0000> as a single character. */
162 if (nwcs == 0) 162 if (nwcs == 0)
163@@ -1783,8 +1783,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name); 163@@ -1776,8 +1776,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
164 164
165 if ((*eptr)->nwcs == runp->nwcs) 165 if ((*eptr)->nwcs == runp->nwcs)
166 { 166 {
@@ -170,7 +170,7 @@ index 06a5203334..84b3ff4166 100644
170 170
171 if (c == 0) 171 if (c == 0)
172 { 172 {
173@@ -2011,9 +2010,9 @@ add_to_tablewc (uint32_t ch, struct element_t *runp) 173@@ -2004,9 +2003,9 @@ add_to_tablewc (uint32_t ch, struct element_t *runp)
174 one consecutive entry. */ 174 one consecutive entry. */
175 if (runp->wcnext != NULL 175 if (runp->wcnext != NULL
176 && runp->nwcs == runp->wcnext->nwcs 176 && runp->nwcs == runp->wcnext->nwcs
@@ -183,7 +183,7 @@ index 06a5203334..84b3ff4166 100644
183 && (runp->wcs[runp->nwcs - 1] 183 && (runp->wcs[runp->nwcs - 1]
184 == runp->wcnext->wcs[runp->nwcs - 1] + 1)) 184 == runp->wcnext->wcs[runp->nwcs - 1] + 1))
185 { 185 {
186@@ -2037,9 +2036,9 @@ add_to_tablewc (uint32_t ch, struct element_t *runp) 186@@ -2030,9 +2029,9 @@ add_to_tablewc (uint32_t ch, struct element_t *runp)
187 runp = runp->wcnext; 187 runp = runp->wcnext;
188 while (runp->wcnext != NULL 188 while (runp->wcnext != NULL
189 && runp->nwcs == runp->wcnext->nwcs 189 && runp->nwcs == runp->wcnext->nwcs
@@ -197,7 +197,7 @@ index 06a5203334..84b3ff4166 100644
197 == runp->wcnext->wcs[runp->nwcs - 1] + 1)); 197 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
198 198
199diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c 199diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
200index 07b64ac5a1..70b49ab733 100644 200index c6749dbd82..ac99777925 100644
201--- a/locale/programs/ld-ctype.c 201--- a/locale/programs/ld-ctype.c
202+++ b/locale/programs/ld-ctype.c 202+++ b/locale/programs/ld-ctype.c
203@@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap, 203@@ -914,7 +914,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -229,7 +229,7 @@ index 07b64ac5a1..70b49ab733 100644
229 handle_digits = 1; 229 handle_digits = 1;
230 goto read_charclass; 230 goto read_charclass;
231 231
232@@ -3903,8 +3903,7 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap, 232@@ -3876,8 +3876,7 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
233 233
234 while (idx < number) 234 while (idx < number)
235 { 235 {
@@ -239,7 +239,7 @@ index 07b64ac5a1..70b49ab733 100644
239 if (res == 0) 239 if (res == 0)
240 { 240 {
241 replace = 1; 241 replace = 1;
242@@ -3941,11 +3940,11 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap, 242@@ -3914,11 +3913,11 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
243 for (size_t cnt = 0; cnt < number; ++cnt) 243 for (size_t cnt = 0; cnt < number; ++cnt)
244 { 244 {
245 struct translit_to_t *srunp; 245 struct translit_to_t *srunp;
@@ -253,7 +253,7 @@ index 07b64ac5a1..70b49ab733 100644
253 srunp = srunp->next; 253 srunp = srunp->next;
254 } 254 }
255 /* Plus one for the extra NUL character marking the end of 255 /* Plus one for the extra NUL character marking the end of
256@@ -3969,18 +3968,18 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap, 256@@ -3942,18 +3941,18 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
257 ctype->translit_from_idx[cnt] = from_len; 257 ctype->translit_from_idx[cnt] = from_len;
258 ctype->translit_to_idx[cnt] = to_len; 258 ctype->translit_to_idx[cnt] = to_len;
259 259
@@ -279,7 +279,7 @@ index 07b64ac5a1..70b49ab733 100644
279 srunp = srunp->next; 279 srunp = srunp->next;
280 } 280 }
281diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c 281diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
282index e6f320d2b3..c6631ad101 100644 282index b58fecfcee..a4d70e0780 100644
283--- a/locale/programs/ld-time.c 283--- a/locale/programs/ld-time.c
284+++ b/locale/programs/ld-time.c 284+++ b/locale/programs/ld-time.c
285@@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME"); 285@@ -219,8 +219,10 @@ No definition for %s category found"), "LC_TIME");
@@ -348,20 +348,20 @@ index e6f320d2b3..c6631ad101 100644
348 348
349 349
350diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c 350diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
351index a1f22b28ed..cbd3b40ceb 100644 351index 0460074a0c..31a7151f66 100644
352--- a/locale/programs/linereader.c 352--- a/locale/programs/linereader.c
353+++ b/locale/programs/linereader.c 353+++ b/locale/programs/linereader.c
354@@ -594,7 +594,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap, 354@@ -776,7 +776,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
355 { 355 {
356 int return_widestr = lr->return_widestr; 356 int return_widestr = lr->return_widestr;
357 char *buf; 357 struct lr_buffer lrb;
358- wchar_t *buf2 = NULL; 358- wchar_t *buf2 = NULL;
359+ uint32_t *buf2 = NULL; 359+ uint32_t *buf2 = NULL;
360 size_t bufact; 360
361 size_t bufmax = 56; 361 lr_buffer_init (&lrb);
362 362
363diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c 363diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
364index f0da25e9e5..5d9e01cda2 100644 364index 35a092a111..94712bf114 100644
365--- a/locale/programs/localedef.c 365--- a/locale/programs/localedef.c
366+++ b/locale/programs/localedef.c 366+++ b/locale/programs/localedef.c
367@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 367@@ -108,6 +108,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -407,7 +407,7 @@ index f0da25e9e5..5d9e01cda2 100644
407 force_output = 1; 407 force_output = 1;
408 break; 408 break;
409diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c 409diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
410index 1427b518a9..dafa84a20b 100644 410index 8fa74dce60..8d5aca6d9e 100644
411--- a/locale/programs/locfile.c 411--- a/locale/programs/locfile.c
412+++ b/locale/programs/locfile.c 412+++ b/locale/programs/locfile.c
413@@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size, 413@@ -543,6 +543,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -430,7 +430,7 @@ index 1427b518a9..dafa84a20b 100644
430 430
431 /* Record that FILE's next element is the 32-bit integer VALUE. */ 431 /* Record that FILE's next element is the 32-bit integer VALUE. */
432diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h 432diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
433index cbc20fe88d..ae88e6d0af 100644 433index 57b2211e2f..e9498c6c7e 100644
434--- a/locale/programs/locfile.h 434--- a/locale/programs/locfile.h
435+++ b/locale/programs/locfile.h 435+++ b/locale/programs/locfile.h
436@@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions, 436@@ -70,6 +70,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -519,7 +519,7 @@ index cbc20fe88d..ae88e6d0af 100644
519+ 519+
520 #endif /* locfile.h */ 520 #endif /* locfile.h */
521diff --git a/locale/setlocale.c b/locale/setlocale.c 521diff --git a/locale/setlocale.c b/locale/setlocale.c
522index 19ed85ae8e..f28ca11446 100644 522index 56c14d8533..6aac00503e 100644
523--- a/locale/setlocale.c 523--- a/locale/setlocale.c
524+++ b/locale/setlocale.c 524+++ b/locale/setlocale.c
525@@ -63,35 +63,6 @@ static char *const _nl_current_used[] = 525@@ -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 eae1ee8907..c47025af3b 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 32c2e23ad29f63f57f544daf1a59259147cd1008 Mon Sep 17 00:00:00 2001 1From 8ebf6708ba54147b44f5638b93f123fd55d4c37e 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 477499bd40..fe7b5ff60c 100644 21index eeb2fa6ffe..15274b0191 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/0016-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch b/meta/recipes-core/glibc/glibc/0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
index 4e51036ce5..933fa0eb3f 100644
--- a/meta/recipes-core/glibc/glibc/0016-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
+++ b/meta/recipes-core/glibc/glibc/0015-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
@@ -1,4 +1,4 @@
1From c59bc6eb421ad3310c43951a11d2561bbf34e95e Mon Sep 17 00:00:00 2001 1From bd2b87eaa2e99310f5439df95bea12a48dc978bf Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com> 2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Mon, 17 Dec 2018 21:36:18 +0000 3Date: Mon, 17 Dec 2018 21:36:18 +0000
4Subject: [PATCH] locale: prevent maybe-uninitialized errors with -Os [BZ 4Subject: [PATCH] locale: prevent maybe-uninitialized errors with -Os [BZ
@@ -33,7 +33,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 1 file changed, 7 insertions(+) 33 1 file changed, 7 insertions(+)
34 34
35diff --git a/locale/weight.h b/locale/weight.h 35diff --git a/locale/weight.h b/locale/weight.h
36index 076529c0ba..2ac83657f7 100644 36index 8be2d220f8..4a4d5aa6b2 100644
37--- a/locale/weight.h 37--- a/locale/weight.h
38+++ b/locale/weight.h 38+++ b/locale/weight.h
39@@ -27,7 +27,14 @@ findidx (const int32_t *table, 39@@ -27,7 +27,14 @@ findidx (const int32_t *table,
@@ -46,7 +46,7 @@ index 076529c0ba..2ac83657f7 100644
46+ as described in comments in locale/weightwc.h. */ 46+ as described in comments in locale/weightwc.h. */
47+ DIAG_PUSH_NEEDS_COMMENT; 47+ DIAG_PUSH_NEEDS_COMMENT;
48+ DIAG_IGNORE_Os_NEEDS_COMMENT (8, "-Wmaybe-uninitialized"); 48+ DIAG_IGNORE_Os_NEEDS_COMMENT (8, "-Wmaybe-uninitialized");
49 int_fast32_t i = table[*(*cpp)++]; 49 int32_t i = table[*(*cpp)++];
50+ DIAG_POP_NEEDS_COMMENT; 50+ DIAG_POP_NEEDS_COMMENT;
51 const unsigned char *cp; 51 const unsigned char *cp;
52 const unsigned char *usrc; 52 const unsigned char *usrc;
diff --git a/meta/recipes-core/glibc/glibc/0017-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
index 77a2bab87d..f45951ae2c 100644
--- a/meta/recipes-core/glibc/glibc/0017-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
+++ b/meta/recipes-core/glibc/glibc/0016-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
@@ -1,4 +1,4 @@
1From 9f4fcec5662bfa6f8aa6a36dda6f4c05f6e30e51 Mon Sep 17 00:00:00 2001 1From 58dd1336c1c32716f4f0938bf18f2ddfbe9305ca 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:11:22 +0000 3Date: Wed, 18 Mar 2015 00:11:22 +0000
4Subject: [PATCH] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names 4Subject: [PATCH] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known names
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
17 17
18diff --git a/elf/readlib.c b/elf/readlib.c 18diff --git a/elf/readlib.c b/elf/readlib.c
19index 64b20d7804..50318158fb 100644 19index ed42fbd48e..777f6c80be 100644
20--- a/elf/readlib.c 20--- a/elf/readlib.c
21+++ b/elf/readlib.c 21+++ b/elf/readlib.c
22@@ -49,6 +49,7 @@ static struct known_names interpreters[] = 22@@ -49,6 +49,7 @@ static struct known_names interpreters[] =
diff --git a/meta/recipes-core/glibc/glibc/0019-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0017-powerpc-Do-not-ask-compiler-for-finding-arch.patch
index 4313c6860f..cb6f7dc3d0 100644
--- a/meta/recipes-core/glibc/glibc/0019-powerpc-Do-not-ask-compiler-for-finding-arch.patch
+++ b/meta/recipes-core/glibc/glibc/0017-powerpc-Do-not-ask-compiler-for-finding-arch.patch
@@ -1,4 +1,4 @@
1From eb44466ec976d800bb697b10775efa28f22ec216 Mon Sep 17 00:00:00 2001 1From 93c5b86fae5e42e148e5182466eb0ac26298159c 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
diff --git a/meta/recipes-core/glibc/glibc/0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch b/meta/recipes-core/glibc/glibc/0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
index 3b2d638b5f..996471a520 100644
--- a/meta/recipes-core/glibc/glibc/0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
+++ b/meta/recipes-core/glibc/glibc/0018-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
@@ -1,7 +1,7 @@
1From 4d6bce6b106d9d9a629aadba74d74cd8a500ccbf Mon Sep 17 00:00:00 2001 1From e2dba281429384cc22a73a58eaf79459e64be266 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 18/24] wordsize.h: Unify the header between arm and aarch64 4Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64
5 5
6This helps OE multilibs to not sythesize this header which causes all 6This helps OE multilibs to not sythesize this header which causes all
7kind of recursions and other issues since wordsize is fundamental header 7kind of recursions and other issues since wordsize is fundamental header
@@ -11,10 +11,10 @@ Upstream-Status: Inappropriate [ OE-Specific ]
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 13---
14 sysdeps/aarch64/bits/wordsize.h | 8 ++++++-- 14 sysdeps/aarch64/bits/wordsize.h | 8 ++++++--
15 sysdeps/{aarch64 => arm}/bits/wordsize.h | 10 +++++++--- 15 sysdeps/{aarch64 => arm}/bits/wordsize.h | 8 ++++++--
16 2 files changed, 13 insertions(+), 5 deletions(-) 16 2 files changed, 12 insertions(+), 4 deletions(-)
17 copy sysdeps/{aarch64 => arm}/bits/wordsize.h (80%) 17 copy sysdeps/{aarch64 => arm}/bits/wordsize.h (85%)
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 4635431f0e..5ef0ed21f3 100644 20index 4635431f0e..5ef0ed21f3 100644
@@ -40,10 +40,10 @@ index 4635431f0e..5ef0ed21f3 100644
40 40
41 #define __WORDSIZE_TIME64_COMPAT32 0 41 #define __WORDSIZE_TIME64_COMPAT32 0
42diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h 42diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h
43similarity index 80% 43similarity index 85%
44copy from sysdeps/aarch64/bits/wordsize.h 44copy from sysdeps/aarch64/bits/wordsize.h
45copy to sysdeps/arm/bits/wordsize.h 45copy to sysdeps/arm/bits/wordsize.h
46index 4635431f0e..34fcdef1f1 100644 46index 4635431f0e..5ef0ed21f3 100644
47--- a/sysdeps/aarch64/bits/wordsize.h 47--- a/sysdeps/aarch64/bits/wordsize.h
48+++ b/sysdeps/arm/bits/wordsize.h 48+++ b/sysdeps/arm/bits/wordsize.h
49@@ -17,12 +17,16 @@ 49@@ -17,12 +17,16 @@
@@ -65,6 +65,3 @@ index 4635431f0e..34fcdef1f1 100644
65 #endif 65 #endif
66 66
67 #define __WORDSIZE_TIME64_COMPAT32 0 67 #define __WORDSIZE_TIME64_COMPAT32 0
68--
692.34.1
70
diff --git a/meta/recipes-core/glibc/glibc/0021-Replace-echo-with-printf-builtin-in-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0019-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
index 42c498bbc8..5181cfec61 100644
--- a/meta/recipes-core/glibc/glibc/0021-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0019-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
@@ -1,4 +1,4 @@
1From 77fbd98f551d5b2cd338aa7f524e5ed980edb65e Mon Sep 17 00:00:00 2001 1From 97a71e1dd07ba6721464150b03fd67823b6271e2 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
@@ -8,7 +8,7 @@ since it uses bash specific extentions namely (translated strings)
8and echo -n command, replace echo with printf and 8and echo -n command, replace echo with printf and
9switch the shell interpreter to #!/bin/sh. 9switch the shell interpreter to #!/bin/sh.
10 10
11Upstream-Status: Submitted [https://patchwork.sourceware.org/project/glibc/patch/20211209203557.1318333-1-raj.khem@gmail.com/] 11Upstream-Status: Pending
12Signed-off-by: Ross Burton <ross.burton@arm.com> 12Signed-off-by: Ross Burton <ross.burton@arm.com>
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14--- 14---
diff --git a/meta/recipes-core/glibc/glibc/0022-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch b/meta/recipes-core/glibc/glibc/0020-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
index 5ac9d6d3a1..396f33216d 100644
--- a/meta/recipes-core/glibc/glibc/0022-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
+++ b/meta/recipes-core/glibc/glibc/0020-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
@@ -1,11 +1,12 @@
1From 5d1384d86fc44404ca32c6fda2d46ec357337c91 Mon Sep 17 00:00:00 2001 1From 3b5b6079512af8af50d0a43d4c1c218f5ba1b302 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 empty 4Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its
5 empty
5 6
6This ensures that it can be set in build environment 7This ensures that it can be set in build environment
7 8
8Upstream-Status: Submitted [https://patchwork.sourceware.org/project/glibc/patch/20211209203557.1318333-2-raj.khem@gmail.com/] 9Upstream-Status: Pending
9Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> 10Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 12---
diff --git a/meta/recipes-core/glibc/glibc/0023-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
index e5e6ceba60..2f4e92dffa 100644
--- a/meta/recipes-core/glibc/glibc/0023-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
+++ b/meta/recipes-core/glibc/glibc/0021-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
@@ -1,4 +1,4 @@
1From c0f251c58655e3377fe1c67a026c21ef68d2abcf Mon Sep 17 00:00:00 2001 1From 8d5ff7357354394b958321204b75e3855781aefe 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
@@ -6,7 +6,7 @@ Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh
6define new macro called KSHELL which can be used to define default shell 6define new macro called KSHELL which can be used to define default shell
7use Bash by default 7use Bash by default
8 8
9Upstream-Status: Submitted [https://patchwork.sourceware.org/project/glibc/patch/20211209234015.1554552-1-raj.khem@gmail.com/] 9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12 Makeconfig | 9 +++++++++ 12 Makeconfig | 9 +++++++++
@@ -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 775bf12b65..7b9a8f0a94 100644 17index ba70321af1..4b643768d9 100644
18--- a/Makeconfig 18--- a/Makeconfig
19+++ b/Makeconfig 19+++ b/Makeconfig
20@@ -293,6 +293,15 @@ ifndef sysincludedir 20@@ -293,6 +293,15 @@ ifndef sysincludedir
@@ -34,10 +34,10 @@ index 775bf12b65..7b9a8f0a94 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 c624a189b3..dc8f5277de 100644 37index a789c22d26..3e69409a94 100644
38--- a/timezone/Makefile 38--- a/timezone/Makefile
39+++ b/timezone/Makefile 39+++ b/timezone/Makefile
40@@ -127,6 +127,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make 40@@ -134,6 +134,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
41 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ 41 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
42 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ 42 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
43 -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \ 43 -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \
diff --git a/meta/recipes-core/glibc/glibc/0022-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0022-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
new file mode 100644
index 0000000000..c409327f95
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0022-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
@@ -0,0 +1,27 @@
1From ba1365f19ccc8378f2fcff892721187537479884 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 15 Dec 2021 21:47:53 -0800
4Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter
5
6checkbashism reports no issues with tzselect.ksh, therefore using
7/bin/sh instead of /bin/bash should be safe and portable across systems
8which don't ship bash ( embedded systems )
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>
13Cc: Paul Eggert <eggert@cs.ucla.edu>
14---
15 timezone/tzselect.ksh | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
19index 18fce27e24..cc08efb0fb 100755
20--- a/timezone/tzselect.ksh
21+++ b/timezone/tzselect.ksh
22@@ -1,4 +1,4 @@
23-#!/bin/bash
24+#!/bin/sh
25 # Ask the user about the time zone, and output the resulting TZ value to stdout.
26 # Interact with the user via stderr and stdin.
27
diff --git a/meta/recipes-core/glibc/glibc/0024-fix-create-thread-failed-in-unprivileged-process-BZ-.patch b/meta/recipes-core/glibc/glibc/0023-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
index b431ea168d..7b0965f6bd 100644
--- a/meta/recipes-core/glibc/glibc/0024-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
+++ b/meta/recipes-core/glibc/glibc/0023-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
@@ -1,4 +1,4 @@
1From 6609858239b8f94e12c19eac0cec425511d1211f Mon Sep 17 00:00:00 2001 1From ffbb37732807e180b14a21d1bf79ad5038252c02 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]
@@ -66,6 +66,7 @@ patch
66[2] https://sourceware.org/pipermail/libc-alpha/2021-August/130590.html 66[2] https://sourceware.org/pipermail/libc-alpha/2021-August/130590.html
67 67
68Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 68Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
69Signed-off-by: Khem Raj <raj.khem@gmail.com>
69--- 70---
70 sysdeps/unix/sysv/linux/clone-internal.c | 2 +- 71 sysdeps/unix/sysv/linux/clone-internal.c | 2 +-
71 1 file changed, 1 insertion(+), 1 deletion(-) 72 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -83,6 +84,3 @@ index a71effcbd3..a0569113aa 100644
83 return ret; 84 return ret;
84 85
85 /* NB: Restore errno since errno may be checked against non-zero 86 /* NB: Restore errno since errno may be checked against non-zero
86--
872.27.0
88
diff --git a/meta/recipes-core/glibc/glibc/reproducible-paths.patch b/meta/recipes-core/glibc/glibc/0024-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
index 0754dca62b..7983d1f6a7 100644
--- a/meta/recipes-core/glibc/glibc/reproducible-paths.patch
+++ b/meta/recipes-core/glibc/glibc/0024-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
@@ -1,14 +1,23 @@
1Avoid hardcoded build time paths in the output binaries by replacing the compile 1From f873e25e29684cbbf7b141d9c6ee725268505c29 Mon Sep 17 00:00:00 2001
2definitions with the output locations. 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sun, 24 Jul 2022 07:07:29 -0700
4Subject: [PATCH] Avoid hardcoded build time paths in the output binaries
5
6replace the compile definitions with the output locations.
3 7
4Upstream-Status: Inappropriate [would need reworking somehow to be acceptable upstream] 8Upstream-Status: Inappropriate [would need reworking somehow to be acceptable upstream]
9
5Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 support/Makefile | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
6 15
7Index: git/support/Makefile 16diff --git a/support/Makefile b/support/Makefile
8=================================================================== 17index 9b50eac117..4c24d9f61a 100644
9--- git.orig/support/Makefile 18--- a/support/Makefile
10+++ git/support/Makefile 19+++ b/support/Makefile
11@@ -216,9 +216,9 @@ libsupport-inhibit-o += .o 20@@ -218,9 +218,9 @@ libsupport-inhibit-o += .o
12 endif 21 endif
13 22
14 CFLAGS-support_paths.c = \ 23 CFLAGS-support_paths.c = \
diff --git a/meta/recipes-core/glibc/glibc/0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch b/meta/recipes-core/glibc/glibc/0025-Revert-Linux-Implement-a-useful-version-of-_startup_.patch
index 2421a63605..1982598339 100644
--- a/meta/recipes-core/glibc/glibc/0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch
+++ b/meta/recipes-core/glibc/glibc/0025-Revert-Linux-Implement-a-useful-version-of-_startup_.patch
@@ -1,13 +1,13 @@
1From 6b8959add09e425df262bf9178b39ca35bc4003c Mon Sep 17 00:00:00 2001 1From 18b04419d5984f5c6c89fab5e72fcdd1942491cb Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sun, 24 Jul 2022 19:41:41 +0200 3Date: Sun, 7 Aug 2022 12:51:48 +0200
4Subject: [PATCH] Revert "Linux: Implement a useful version of _startup_fatal" 4Subject: [PATCH] Revert "Linux: Implement a useful version of _startup_fatal"
5 5
6This reverts commit 2d05ba7f8ef979947e910a37ae8115a816eb4d08. 6This reverts commit a2a6bce7d7e52c1c34369a7da62c501cc350bc31.
7
7Upstream-Status: Inappropriate [temporary work around] 8Upstream-Status: Inappropriate [temporary work around]
8 9
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 10Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10
11--- 11---
12 sysdeps/unix/sysv/linux/i386/startup.h | 23 ++++++++++++--- 12 sysdeps/unix/sysv/linux/i386/startup.h | 23 ++++++++++++---
13 sysdeps/unix/sysv/linux/ia64/startup.h | 22 --------------- 13 sysdeps/unix/sysv/linux/ia64/startup.h | 22 ---------------