diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-08-13 21:59:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-16 07:54:38 +0100 |
commit | 842fda61cfe8b9a9e8ca31f5243c19a6bfd5fa66 (patch) | |
tree | db4ffdbf7492ed419452b86c487e1f6231e8aeae /meta/recipes-core/glibc | |
parent | 5fb7398b77b9f7df08f15d93b6e8845f5ed35cc9 (diff) | |
download | poky-842fda61cfe8b9a9e8ca31f5243c19a6bfd5fa66.tar.gz |
glibc: Upgrade to 2.38 release
Announcement - https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html
(From OE-Core rev: 16aff29593d7991d7ae953d5fb526a897c5a7268)
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')
31 files changed, 110 insertions, 128 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.37.bb b/meta/recipes-core/glibc/cross-localedef-native_2.38.bb index e7261a644b..e7261a644b 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.37.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index b93b55fe77..be33c29857 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc | |||
@@ -22,5 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" | |||
22 | # | 22 | # |
23 | COMPATIBLE_HOST:libc-musl:class-target = "null" | 23 | COMPATIBLE_HOST:libc-musl:class-target = "null" |
24 | 24 | ||
25 | PV = "2.37" | 25 | PV = "2.38" |
26 | PR = "r1" | ||
diff --git a/meta/recipes-core/glibc/glibc-locale_2.37.bb b/meta/recipes-core/glibc/glibc-locale_2.38.bb index f7702e0358..f7702e0358 100644 --- a/meta/recipes-core/glibc/glibc-locale_2.37.bb +++ b/meta/recipes-core/glibc/glibc-locale_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.37.bb b/meta/recipes-core/glibc/glibc-mtrace_2.38.bb index 0b69bad46a..0b69bad46a 100644 --- a/meta/recipes-core/glibc/glibc-mtrace_2.37.bb +++ b/meta/recipes-core/glibc/glibc-mtrace_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.37.bb b/meta/recipes-core/glibc/glibc-scripts_2.38.bb index 5a89bd8022..5a89bd8022 100644 --- a/meta/recipes-core/glibc/glibc-scripts_2.37.bb +++ b/meta/recipes-core/glibc/glibc-scripts_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-tests_2.37.bb b/meta/recipes-core/glibc/glibc-tests_2.38.bb index 9352a058fb..9352a058fb 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.37.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.37.bb b/meta/recipes-core/glibc/glibc-testsuite_2.38.bb index 2e076f4b0f..2e076f4b0f 100644 --- a/meta/recipes-core/glibc/glibc-testsuite_2.37.bb +++ b/meta/recipes-core/glibc/glibc-testsuite_2.38.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index 37bb9fd34f..7d5219f2d2 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | SRCBRANCH ?= "release/2.37/master" | 1 | SRCBRANCH ?= "release/2.38/master" |
2 | PV = "2.37" | 2 | PV = "2.38" |
3 | SRCREV_glibc ?= "d8e1a7590d375159fb5aac07ad8111ab4699e994" | 3 | SRCREV_glibc ?= "36f2487f13e3540be9ee0fb51876b1da72176d3f" |
4 | SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87" | 4 | SRCREV_localedef ?= "2d6d138500779504ba52e564edd21a3e50ae9472" |
5 | 5 | ||
6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" |
7 | 7 | ||
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 0e2bbbc6a2..eb3da94b8b 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 @@ | |||
1 | From 604a78e86ca374278fc5f3ce11b0abe1ff096b7e Mon Sep 17 00:00:00 2001 | 1 | From 7c06ca59b47ce06f785b9fce7b9e9d675d5b6e10 Mon Sep 17 00:00:00 2001 |
2 | From: Jason Wessel <jason.wessel@windriver.com> | 2 | From: Jason Wessel <jason.wessel@windriver.com> |
3 | Date: Sat, 7 Dec 2019 09:59:22 -0800 | 3 | Date: Sat, 7 Dec 2019 09:59:22 -0800 |
4 | Subject: [PATCH] localedef: Add hardlink resolver from util-linux | 4 | Subject: [PATCH] localedef: Add hardlink resolver from util-linux |
diff --git a/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch b/meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch index 0fd8a0d57d..2dc4634dd5 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 @@ | |||
1 | From 85d14ae38fb9e7b46bb4b8f5f041e39a605ed81e Mon Sep 17 00:00:00 2001 | 1 | From 9ff5200eb16e9c89ca8da89d7e07975d082a13b0 Mon Sep 17 00:00:00 2001 |
2 | From: Jason Wessel <jason.wessel@windriver.com> | 2 | From: Jason Wessel <jason.wessel@windriver.com> |
3 | Date: Sat, 7 Dec 2019 10:01:37 -0800 | 3 | Date: Sat, 7 Dec 2019 10:01:37 -0800 |
4 | Subject: [PATCH] localedef: fix-ups hardlink to make it compile | 4 | Subject: [PATCH] localedef: fix-ups hardlink to make it compile |
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch index c6f1455ee1..f2602d0e56 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 @@ | |||
1 | From d1b745b6e4c6a755cceb92329227efce1547d5fc Mon Sep 17 00:00:00 2001 | 1 | From 0d996c5600603a67f0265e870511cdd18dbaa8a6 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:48:24 +0000 | 3 | Date: Wed, 18 Mar 2015 01:48:24 +0000 |
4 | Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well | 4 | Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well |
@@ -30,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
30 | 1 file changed, 8 insertions(+), 8 deletions(-) | 30 | 1 file changed, 8 insertions(+), 8 deletions(-) |
31 | 31 | ||
32 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 32 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
33 | index fcb39a78d4..cde9fc2358 100644 | 33 | index 9a87fda9c9..0a6fa9b8f0 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 | @@ -2109,6 +2109,14 @@ _dl_map_object (struct link_map *loader, const char *name, | 36 | @@ -2102,6 +2102,14 @@ _dl_map_object (struct link_map *loader, const char *name, |
37 | } | 37 | } |
38 | } | 38 | } |
39 | 39 | ||
@@ -48,7 +48,7 @@ index fcb39a78d4..cde9fc2358 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 | @@ -2167,14 +2175,6 @@ _dl_map_object (struct link_map *loader, const char *name, | 51 | @@ -2160,14 +2168,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 8256a56245..974312367e 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 @@ | |||
1 | From 3789e9ae4c208b2d97169a95cf3b1767e73b3856 Mon Sep 17 00:00:00 2001 | 1 | From c3492719b2deaf3339eefb1ab30f4337e592ed80 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 | 3 | Date: Wed, 18 Mar 2015 01:50:00 +0000 |
4 | Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK | 4 | Subject: [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 | ||
23 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 23 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
24 | index cde9fc2358..e514bdcc21 100644 | 24 | index 0a6fa9b8f0..3a23dc618c 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 | @@ -1809,7 +1809,19 @@ open_path (const char *name, size_t namelen, int mode, | 27 | @@ -1802,7 +1802,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 2899c0b845..086e0c6f14 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 @@ | |||
1 | From 66e971a785aae80ba838a2604c679db70cbb8b3b Mon Sep 17 00:00:00 2001 | 1 | From e874dacbfdb06520240887e9077c58006ee33f87 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:51:38 +0000 | 3 | Date: Wed, 18 Mar 2015 01:51:38 +0000 |
4 | Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths | 4 | Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths |
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
26 | 8 files changed, 15 insertions(+), 10 deletions(-) | 26 | 8 files changed, 15 insertions(+), 10 deletions(-) |
27 | 27 | ||
28 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c | 28 | diff --git a/elf/dl-cache.c b/elf/dl-cache.c |
29 | index 07c054b11a..0fa36548b0 100644 | 29 | index 804bf23222..d99501c389 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 | @@ -352,6 +352,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, |
@@ -41,7 +41,7 @@ index 07c054b11a..0fa36548b0 100644 | |||
41 | _dl_cache_libcmp (const char *p1, const char *p2) | 41 | _dl_cache_libcmp (const char *p1, const char *p2) |
42 | { | 42 | { |
43 | diff --git a/elf/dl-load.c b/elf/dl-load.c | 43 | diff --git a/elf/dl-load.c b/elf/dl-load.c |
44 | index e514bdcc21..c43747a3a8 100644 | 44 | index 3a23dc618c..563e703096 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 e514bdcc21..c43747a3a8 100644 | |||
56 | SYSTEM_DIRS_LEN | 56 | SYSTEM_DIRS_LEN |
57 | }; | 57 | }; |
58 | diff --git a/elf/dl-usage.c b/elf/dl-usage.c | 58 | diff --git a/elf/dl-usage.c b/elf/dl-usage.c |
59 | index 53535c1583..3ba7d9d200 100644 | 59 | index 98f0b0d027..ab4f76e1fe 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 @@ |
@@ -77,7 +77,7 @@ index 53535c1583..3ba7d9d200 100644 | |||
77 | --library-path PATH use given PATH instead of content of the environment\n\ | 77 | --library-path PATH use given PATH instead of content of the environment\n\ |
78 | variable LD_LIBRARY_PATH\n\ | 78 | variable LD_LIBRARY_PATH\n\ |
79 | --glibc-hwcaps-prepend LIST\n\ | 79 | --glibc-hwcaps-prepend LIST\n\ |
80 | @@ -207,7 +209,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ | 80 | @@ -203,7 +205,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ |
81 | \n\ | 81 | \n\ |
82 | This program interpreter self-identifies as: " RTLD "\n\ | 82 | This program interpreter self-identifies as: " RTLD "\n\ |
83 | ", | 83 | ", |
@@ -98,7 +98,7 @@ index ae21ae0cb3..b168e6da66 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; |
100 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c | 100 | diff --git a/elf/ldconfig.c b/elf/ldconfig.c |
101 | index 166dccb528..8dda23c92c 100644 | 101 | index d26eef1fb4..e5af6e5c01 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 | @@ -150,6 +150,8 @@ static struct argp argp = |
@@ -111,7 +111,7 @@ index 166dccb528..8dda23c92c 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) |
113 | diff --git a/elf/rtld.c b/elf/rtld.c | 113 | diff --git a/elf/rtld.c b/elf/rtld.c |
114 | index b8467f37cf..be7bd08bc3 100644 | 114 | index a91e2a4471..56d816d4d9 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 b8467f37cf..be7bd08bc3 100644 | |||
123 | static void | 123 | static void |
124 | audit_list_init (struct audit_list *list) | 124 | audit_list_init (struct audit_list *list) |
125 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c | 125 | diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c |
126 | index 21165a558a..3dd67b0ea2 100644 | 126 | index ee9e97e1bd..01a99382d0 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 @@ |
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 b0e3dbfa8a..421afdca1c 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 @@ | |||
1 | From a9795b9aadcbc04ad0404badf722acb83ef0ab7b Mon Sep 17 00:00:00 2001 | 1 | From 76eaf7340a7f9063ab1ad2d7c6c0e205f22f544c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 31 Dec 2015 14:35:35 -0800 | 3 | Date: Thu, 31 Dec 2015 14:35:35 -0800 |
4 | Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86 | 4 | Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86 |
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 2dac1f1061..64243b1098 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 @@ | |||
1 | From 68e5df9a7750d7db2323824b1342483e9ecdddd4 Mon Sep 17 00:00:00 2001 | 1 | From ef8bb46455d602cb00caf59b2044a9a23b240cc2 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 | 3 | Date: Fri, 3 Aug 2018 09:55:12 -0700 |
4 | Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales | 4 | Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales |
@@ -41,7 +41,7 @@ index 1b7034348b..939d4fd613 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 |
43 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c | 43 | diff --git a/locale/loadarchive.c b/locale/loadarchive.c |
44 | index 454bbc7eda..f904158182 100644 | 44 | index 5b857d5d24..e642912e2a 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 454bbc7eda..f904158182 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. */ |
56 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 56 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
57 | index 66cad7a83b..b7b856f77f 100644 | 57 | index 8bbf281427..7a930079a5 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) |
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 7a8fe34815..38dca83b1b 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 @@ | |||
1 | From 18fc01c620311d9744a38d9a4a75dbe07b5d9225 Mon Sep 17 00:00:00 2001 | 1 | From 7f05e35c675a6d1af2144b4cfbabab250de43f38 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 6 Mar 2021 14:48:56 -0800 | 3 | Date: Sat, 6 Mar 2021 14:48:56 -0800 |
4 | Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns | 4 | Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns |
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 cf3b35f8d0..61fdcb0816 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 @@ | |||
1 | From c7419991ebca369d727cc2f4489fed91fd5bb83f Mon Sep 17 00:00:00 2001 | 1 | From 70e721856c3ebf6ae0ea84b828396bd2af090acf Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:31:06 +0000 | 3 | Date: Wed, 18 Mar 2015 00:31:06 +0000 |
4 | Subject: [PATCH] 'yes' within the path sets wrong config variables | 4 | Subject: [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 | ||
31 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure | 31 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure |
32 | index 2130f6b8f8..7b7e3bbcf1 100644 | 32 | index ca57edce47..5e91fab023 100644 |
33 | --- a/sysdeps/aarch64/configure | 33 | --- a/sysdeps/aarch64/configure |
34 | +++ b/sysdeps/aarch64/configure | 34 | +++ b/sysdeps/aarch64/configure |
35 | @@ -152,12 +152,12 @@ else | 35 | @@ -165,12 +165,12 @@ else $as_nop |
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__ |
@@ -42,13 +42,13 @@ index 2130f6b8f8..7b7e3bbcf1 100644 | |||
42 | 42 | ||
43 | _ACEOF | 43 | _ACEOF |
44 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 44 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
45 | - $EGREP "yes" >/dev/null 2>&1; then : | 45 | - $EGREP "yes" >/dev/null 2>&1 |
46 | + $EGREP "is_aarch64_be" >/dev/null 2>&1; then : | 46 | + $EGREP "is_aarch64_be" >/dev/null 2>&1 |
47 | then : | ||
47 | libc_cv_aarch64_be=yes | 48 | libc_cv_aarch64_be=yes |
48 | else | 49 | else $as_nop |
49 | libc_cv_aarch64_be=no | ||
50 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac | 50 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac |
51 | index 85c6f76508..8ecd15d273 100644 | 51 | index 27874eceb4..8a708f2ef4 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 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) | 54 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) |
@@ -63,10 +63,10 @@ index 85c6f76508..8ecd15d273 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 |
65 | diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure | 65 | diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure |
66 | index 5b0237e521..969fc9fe95 100644 | 66 | index 35e2918922..94d7fbe8bb 100644 |
67 | --- a/sysdeps/arm/configure | 67 | --- a/sysdeps/arm/configure |
68 | +++ b/sysdeps/arm/configure | 68 | +++ b/sysdeps/arm/configure |
69 | @@ -148,12 +148,12 @@ else | 69 | @@ -161,12 +161,12 @@ else $as_nop |
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 |
@@ -76,11 +76,11 @@ index 5b0237e521..969fc9fe95 100644 | |||
76 | 76 | ||
77 | _ACEOF | 77 | _ACEOF |
78 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 78 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
79 | - $EGREP "yes" >/dev/null 2>&1; then : | 79 | - $EGREP "yes" >/dev/null 2>&1 |
80 | + $EGREP "use_arm_pcs_vfp" >/dev/null 2>&1; then : | 80 | + $EGREP "use_arm_pcs_vfp" >/dev/null 2>&1 |
81 | then : | ||
81 | libc_cv_arm_pcs_vfp=yes | 82 | libc_cv_arm_pcs_vfp=yes |
82 | else | 83 | else $as_nop |
83 | libc_cv_arm_pcs_vfp=no | ||
84 | diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac | 84 | diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac |
85 | index 5172e30bbe..f06dedd7c5 100644 | 85 | index 5172e30bbe..f06dedd7c5 100644 |
86 | --- a/sysdeps/arm/configure.ac | 86 | --- a/sysdeps/arm/configure.ac |
@@ -97,10 +97,10 @@ index 5172e30bbe..f06dedd7c5 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 |
99 | diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure | 99 | diff --git a/sysdeps/mips/configure b/sysdeps/mips/configure |
100 | index 3f4d9e9759..888453c70b 100644 | 100 | index 1e8c6711e6..ae52ccd929 100644 |
101 | --- a/sysdeps/mips/configure | 101 | --- a/sysdeps/mips/configure |
102 | +++ b/sysdeps/mips/configure | 102 | +++ b/sysdeps/mips/configure |
103 | @@ -145,11 +145,11 @@ else | 103 | @@ -158,11 +158,11 @@ else $as_nop |
104 | /* end confdefs.h. */ | 104 | /* end confdefs.h. */ |
105 | dnl | 105 | dnl |
106 | #ifdef __mips_nan2008 | 106 | #ifdef __mips_nan2008 |
@@ -109,11 +109,11 @@ index 3f4d9e9759..888453c70b 100644 | |||
109 | #endif | 109 | #endif |
110 | _ACEOF | 110 | _ACEOF |
111 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 111 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
112 | - $EGREP "yes" >/dev/null 2>&1; then : | 112 | - $EGREP "yes" >/dev/null 2>&1 |
113 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1; then : | 113 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1 |
114 | then : | ||
114 | libc_cv_mips_nan2008=yes | 115 | libc_cv_mips_nan2008=yes |
115 | else | 116 | else $as_nop |
116 | libc_cv_mips_nan2008=no | ||
117 | diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac | 117 | diff --git a/sysdeps/mips/configure.ac b/sysdeps/mips/configure.ac |
118 | index d3cd780d78..250223d206 100644 | 118 | index d3cd780d78..250223d206 100644 |
119 | --- a/sysdeps/mips/configure.ac | 119 | --- a/sysdeps/mips/configure.ac |
@@ -131,10 +131,10 @@ index d3cd780d78..250223d206 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) |
133 | diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure | 133 | diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure |
134 | index b3cd28349e..f47e5a5adc 100644 | 134 | index 2fb230cbaa..1959d0a444 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 | @@ -155,12 +155,12 @@ else $as_nop |
138 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 138 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
139 | /* end confdefs.h. */ | 139 | /* end confdefs.h. */ |
140 | #ifdef __nios2_big_endian__ | 140 | #ifdef __nios2_big_endian__ |
@@ -144,11 +144,11 @@ index b3cd28349e..f47e5a5adc 100644 | |||
144 | 144 | ||
145 | _ACEOF | 145 | _ACEOF |
146 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 146 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
147 | - $EGREP "yes" >/dev/null 2>&1; then : | 147 | - $EGREP "yes" >/dev/null 2>&1 |
148 | + $EGREP "is_nios2_be" >/dev/null 2>&1; then : | 148 | + $EGREP "is_nios2_be" >/dev/null 2>&1 |
149 | then : | ||
149 | libc_cv_nios2_be=yes | 150 | libc_cv_nios2_be=yes |
150 | else | 151 | else $as_nop |
151 | libc_cv_nios2_be=no | ||
152 | diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac | 152 | diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac |
153 | index f738e9a7ed..4085851cbc 100644 | 153 | index f738e9a7ed..4085851cbc 100644 |
154 | --- a/sysdeps/nios2/configure.ac | 154 | --- a/sysdeps/nios2/configure.ac |
@@ -165,10 +165,10 @@ index f738e9a7ed..4085851cbc 100644 | |||
165 | ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) | 165 | ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)]) |
166 | if test $libc_cv_nios2_be = yes; then | 166 | if test $libc_cv_nios2_be = yes; then |
167 | diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure | 167 | diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure |
168 | index f25f2a3a65..1b7483e6c6 100644 | 168 | index a060901de4..0ac7019438 100644 |
169 | --- a/sysdeps/unix/sysv/linux/mips/configure | 169 | --- a/sysdeps/unix/sysv/linux/mips/configure |
170 | +++ b/sysdeps/unix/sysv/linux/mips/configure | 170 | +++ b/sysdeps/unix/sysv/linux/mips/configure |
171 | @@ -414,11 +414,11 @@ else | 171 | @@ -441,11 +441,11 @@ else $as_nop |
172 | /* end confdefs.h. */ | 172 | /* end confdefs.h. */ |
173 | dnl | 173 | dnl |
174 | #ifdef __mips_nan2008 | 174 | #ifdef __mips_nan2008 |
@@ -177,11 +177,11 @@ index f25f2a3a65..1b7483e6c6 100644 | |||
177 | #endif | 177 | #endif |
178 | _ACEOF | 178 | _ACEOF |
179 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 179 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
180 | - $EGREP "yes" >/dev/null 2>&1; then : | 180 | - $EGREP "yes" >/dev/null 2>&1 |
181 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1; then : | 181 | + $EGREP "use_mips_nan2008" >/dev/null 2>&1 |
182 | then : | ||
182 | libc_cv_mips_nan2008=yes | 183 | libc_cv_mips_nan2008=yes |
183 | else | 184 | else $as_nop |
184 | libc_cv_mips_nan2008=no | ||
185 | diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac | 185 | diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac |
186 | index 049a0f4bdf..005526d4e8 100644 | 186 | index 049a0f4bdf..005526d4e8 100644 |
187 | --- a/sysdeps/unix/sysv/linux/mips/configure.ac | 187 | --- a/sysdeps/unix/sysv/linux/mips/configure.ac |
@@ -199,10 +199,10 @@ index 049a0f4bdf..005526d4e8 100644 | |||
199 | 199 | ||
200 | libc_mips_nan= | 200 | libc_mips_nan= |
201 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 201 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
202 | index ae7f254da4..874519000b 100644 | 202 | index cf1b70c745..0dccf6cd76 100644 |
203 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 203 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
204 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 204 | +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
205 | @@ -155,12 +155,12 @@ else | 205 | @@ -168,12 +168,12 @@ else $as_nop |
206 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 206 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
207 | /* end confdefs.h. */ | 207 | /* end confdefs.h. */ |
208 | #if _CALL_ELF == 2 | 208 | #if _CALL_ELF == 2 |
@@ -212,12 +212,12 @@ index ae7f254da4..874519000b 100644 | |||
212 | 212 | ||
213 | _ACEOF | 213 | _ACEOF |
214 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 214 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
215 | - $EGREP "yes" >/dev/null 2>&1; then : | 215 | - $EGREP "yes" >/dev/null 2>&1 |
216 | + $EGREP "use_ppc_elfv2_abi" >/dev/null 2>&1; then : | 216 | + $EGREP "use_ppc_elfv2_abi" >/dev/null 2>&1 |
217 | then : | ||
217 | libc_cv_ppc64_elfv2_abi=yes | 218 | libc_cv_ppc64_elfv2_abi=yes |
218 | else | 219 | else $as_nop |
219 | libc_cv_ppc64_elfv2_abi=no | 220 | @@ -203,12 +203,12 @@ else $as_nop |
220 | @@ -188,12 +188,12 @@ else | ||
221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
222 | /* end confdefs.h. */ | 222 | /* end confdefs.h. */ |
223 | #ifdef _CALL_ELF | 223 | #ifdef _CALL_ELF |
@@ -227,11 +227,11 @@ index ae7f254da4..874519000b 100644 | |||
227 | 227 | ||
228 | _ACEOF | 228 | _ACEOF |
229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 229 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
230 | - $EGREP "yes" >/dev/null 2>&1; then : | 230 | - $EGREP "yes" >/dev/null 2>&1 |
231 | + $EGREP "is_def_call_elf" >/dev/null 2>&1; then : | 231 | + $EGREP "is_def_call_elf" >/dev/null 2>&1 |
232 | then : | ||
232 | libc_cv_ppc64_def_call_elf=yes | 233 | libc_cv_ppc64_def_call_elf=yes |
233 | else | 234 | else $as_nop |
234 | libc_cv_ppc64_def_call_elf=no | ||
235 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 235 | diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac b/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac |
236 | index f9cba6e15d..b21f72f1e4 100644 | 236 | index f9cba6e15d..b21f72f1e4 100644 |
237 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac | 237 | --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac |
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 df6a659e5e..ffbe138ff1 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 @@ | |||
1 | From b5535340fb24bdae121286a79d759ecb3a464afd Mon Sep 17 00:00:00 2001 | 1 | From 9625e90bdf35774c71f1e566e73d435e38c04171 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:42:58 +0000 | 3 | Date: Wed, 18 Mar 2015 00:42:58 +0000 |
4 | Subject: [PATCH] eglibc: Cross building and testing instructions | 4 | Subject: [PATCH] eglibc: Cross building and testing instructions |
diff --git a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch index 57828dd488..88017bd29b 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 @@ | |||
1 | From 1aa07d35422f4628437a515a256fdf230192891f Mon Sep 17 00:00:00 2001 | 1 | From cf2126b2d6e073137a3a7d9bcc261e0a760a82da Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:49:28 +0000 | 3 | Date: Wed, 18 Mar 2015 00:49:28 +0000 |
4 | Subject: [PATCH] eglibc: Help bootstrap cross toolchain | 4 | Subject: [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 | ||
31 | diff --git a/Makefile b/Makefile | 31 | diff --git a/Makefile b/Makefile |
32 | index 224c792185..6da151f5db 100644 | 32 | index c6d4817a9e..b4b0e23560 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 b2e30a60c8..fee020cc4c 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 @@ | |||
1 | From 47db0543da748fa7c355599b90b5016032e9deed Mon Sep 17 00:00:00 2001 | 1 | From 61948c02226acea68d34313cc6286ee1ab44a98c Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:55:53 +0000 | 3 | Date: Wed, 18 Mar 2015 00:55:53 +0000 |
4 | Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 | 4 | Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4 |
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
21 | 2 files changed, 12 insertions(+) | 21 | 2 files changed, 12 insertions(+) |
22 | 22 | ||
23 | diff --git a/sysdeps/unix/sysv/linux/sh/Versions b/sysdeps/unix/sysv/linux/sh/Versions | 23 | diff --git a/sysdeps/unix/sysv/linux/sh/Versions b/sysdeps/unix/sysv/linux/sh/Versions |
24 | index 9c734ff755..974e33b4b1 100644 | 24 | index 3ad702e165..931985b5d6 100644 |
25 | --- a/sysdeps/unix/sysv/linux/sh/Versions | 25 | --- a/sysdeps/unix/sysv/linux/sh/Versions |
26 | +++ b/sysdeps/unix/sysv/linux/sh/Versions | 26 | +++ b/sysdeps/unix/sysv/linux/sh/Versions |
27 | @@ -3,6 +3,7 @@ libc { | 27 | @@ -3,6 +3,7 @@ libc { |
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 46df87430b..60bcab0fec 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 @@ | |||
1 | From fc0f96b182cd32037326545625356c88feb5c27a Mon Sep 17 00:00:00 2001 | 1 | From befa58c48a8ba664e7bbdfcf22e2a15efa2e0d17 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 01:33:49 +0000 | 3 | Date: Wed, 18 Mar 2015 01:33:49 +0000 |
4 | Subject: [PATCH] eglibc: Forward port cross locale generation support | 4 | Subject: [PATCH] eglibc: Forward port cross locale generation support |
@@ -89,7 +89,7 @@ index 0000000000..538f3f5edb | |||
89 | + [LC_ALL] = sizeof ("LC_ALL") - 1 | 89 | + [LC_ALL] = sizeof ("LC_ALL") - 1 |
90 | + }; | 90 | + }; |
91 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 91 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
92 | index b7b856f77f..5e87ff336d 100644 | 92 | index 7a930079a5..05d7848d29 100644 |
93 | --- a/locale/localeinfo.h | 93 | --- a/locale/localeinfo.h |
94 | +++ b/locale/localeinfo.h | 94 | +++ b/locale/localeinfo.h |
95 | @@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) | 95 | @@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) |
@@ -519,7 +519,7 @@ index 5caf5c348f..76856a32c2 100644 | |||
519 | + | 519 | + |
520 | #endif /* locfile.h */ | 520 | #endif /* locfile.h */ |
521 | diff --git a/locale/setlocale.c b/locale/setlocale.c | 521 | diff --git a/locale/setlocale.c b/locale/setlocale.c |
522 | index dd73fa4248..da3e17774e 100644 | 522 | index 6a902faa50..17413f0a9c 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 3bf4fa45a0..3e7d5b74c1 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 @@ | |||
1 | From 8e38bf52f1b71700a491cd1bd5ac5cf1ec7d097b Mon Sep 17 00:00:00 2001 | 1 | From 653b0631f80f17abe01957c06ef8a8d5d189b789 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 3 Aug 2018 09:42:06 -0700 | 3 | Date: Fri, 3 Aug 2018 09:42:06 -0700 |
4 | Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path | 4 | Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path |
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
18 | 1 file changed, 25 insertions(+), 10 deletions(-) | 18 | 1 file changed, 25 insertions(+), 10 deletions(-) |
19 | 19 | ||
20 | diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c | 20 | diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c |
21 | index 87d2d9b1b2..36f5852949 100644 | 21 | index 71fd9f34fa..cd3eb90ad5 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 af7140e4da..ff49a71bb2 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 @@ | |||
1 | From 666905d40b483b28ffa2a5fa7170a40475ff1003 Mon Sep 17 00:00:00 2001 | 1 | From fae5ee7d7b9dca2f25684a99f7046042d870235f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 7 Aug 2020 14:31:16 -0700 | 3 | Date: Fri, 7 Aug 2020 14:31:16 -0700 |
4 | Subject: [PATCH] powerpc: Do not ask compiler for finding arch | 4 | Subject: [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 | ||
17 | diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure | 17 | diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure |
18 | index dfe8e20399..bbff040f0f 100644 | 18 | index 4de94089a3..428ad7b162 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 90a6cc2363..b7b4046efc 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 @@ | |||
1 | From 80dbf6f21c12b1c60bfab9a64798d4f1ea242efb Mon Sep 17 00:00:00 2001 | 1 | From 91a7848698ce6c96c646f3a170714ee71eab6884 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 15 May 2020 17:05:45 -0700 | 3 | Date: Fri, 15 May 2020 17:05:45 -0700 |
4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 | 4 | Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 |
@@ -11,10 +11,10 @@ Upstream-Status: Inappropriate [ OE-Specific ] | |||
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-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 | 8 ++++++-- | 15 | sysdeps/arm/bits/wordsize.h | 1 + |
16 | 2 files changed, 12 insertions(+), 4 deletions(-) | 16 | 2 files changed, 7 insertions(+), 2 deletions(-) |
17 | copy sysdeps/{aarch64 => arm}/bits/wordsize.h (85%) | 17 | create mode 120000 sysdeps/arm/bits/wordsize.h |
18 | 18 | ||
19 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h | 19 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/aarch64/bits/wordsize.h |
20 | index 04d4be9519..63876a7830 100644 | 20 | index 04d4be9519..63876a7830 100644 |
@@ -39,29 +39,11 @@ index 04d4be9519..63876a7830 100644 | |||
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #define __WORDSIZE_TIME64_COMPAT32 0 | 41 | #define __WORDSIZE_TIME64_COMPAT32 0 |
42 | diff --git a/sysdeps/aarch64/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | 42 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h |
43 | similarity index 85% | 43 | new file mode 120000 |
44 | copy from sysdeps/aarch64/bits/wordsize.h | 44 | index 0000000000..4c4a788ec2 |
45 | copy to sysdeps/arm/bits/wordsize.h | 45 | --- /dev/null |
46 | index 04d4be9519..63876a7830 100644 | ||
47 | --- a/sysdeps/aarch64/bits/wordsize.h | ||
48 | +++ b/sysdeps/arm/bits/wordsize.h | 46 | +++ b/sysdeps/arm/bits/wordsize.h |
49 | @@ -17,12 +17,16 @@ | 47 | @@ -0,0 +1 @@ |
50 | License along with the GNU C Library; if not, see | 48 | +../../aarch64/bits/wordsize.h |
51 | <https://www.gnu.org/licenses/>. */ | 49 | \ No newline at end of file |
52 | |||
53 | -#ifdef __LP64__ | ||
54 | +#if defined (__aarch64__) && defined (__LP64__) | ||
55 | # define __WORDSIZE 64 | ||
56 | -#else | ||
57 | +#elif defined (__aarch64__) | ||
58 | # define __WORDSIZE 32 | ||
59 | # define __WORDSIZE32_SIZE_ULONG 1 | ||
60 | # define __WORDSIZE32_PTRDIFF_LONG 1 | ||
61 | +#else | ||
62 | +# define __WORDSIZE 32 | ||
63 | +# define __WORDSIZE32_SIZE_ULONG 0 | ||
64 | +# define __WORDSIZE32_PTRDIFF_LONG 0 | ||
65 | #endif | ||
66 | |||
67 | #define __WORDSIZE_TIME64_COMPAT32 0 | ||
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 2e5c60a002..f2ed821081 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 @@ | |||
1 | From 561f67dda72ba806120e3ffadd8b85dcf02a90a6 Mon Sep 17 00:00:00 2001 | 1 | From 63611cfd3b25f3656db168aee41a5850ac769dfc Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 31 Dec 2015 14:33:02 -0800 | 3 | Date: Thu, 31 Dec 2015 14:33:02 -0800 |
4 | Subject: [PATCH] Replace echo with printf builtin in nscd init script | 4 | Subject: [PATCH] Replace echo with printf builtin in nscd init script |
diff --git a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch b/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch index 33585ee337..12a460664f 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 @@ | |||
1 | From 5b408839318b81cc2713956c87f19eddb009f677 Mon Sep 17 00:00:00 2001 | 1 | From 912ccb5001ffa5355caff09354558e89e9aa937b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 18 Mar 2015 00:27:10 +0000 | 3 | Date: Wed, 18 Mar 2015 00:27:10 +0000 |
4 | Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its | 4 | Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its |
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | 15 | 2 files changed, 2 insertions(+), 2 deletions(-) |
16 | 16 | ||
17 | diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure | 17 | diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure |
18 | index c15d1087e8..d30d6e37ae 100644 | 18 | index 18c9d7945a..ef22cc845d 100644 |
19 | --- a/sysdeps/gnu/configure | 19 | --- a/sysdeps/gnu/configure |
20 | +++ b/sysdeps/gnu/configure | 20 | +++ b/sysdeps/gnu/configure |
21 | @@ -32,6 +32,6 @@ case "$prefix" in | 21 | @@ -32,7 +32,7 @@ case "$prefix" in |
22 | else | 22 | else |
23 | libc_cv_localstatedir=$localstatedir | 23 | libc_cv_localstatedir=$localstatedir |
24 | fi | 24 | fi |
@@ -26,6 +26,7 @@ index c15d1087e8..d30d6e37ae 100644 | |||
26 | + libc_cv_rootsbindir=${libc_cv_rootsbindir:=/sbin} | 26 | + libc_cv_rootsbindir=${libc_cv_rootsbindir:=/sbin} |
27 | ;; | 27 | ;; |
28 | esac | 28 | esac |
29 | |||
29 | diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac | 30 | diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac |
30 | index 634fe4de2a..492112e0fd 100644 | 31 | index 634fe4de2a..492112e0fd 100644 |
31 | --- a/sysdeps/gnu/configure.ac | 32 | --- a/sysdeps/gnu/configure.ac |
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 f6e0cec983..359b1c37e5 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 @@ | |||
1 | From 27d3ec9df3157966819e4369e571769ed9e8604c Mon Sep 17 00:00:00 2001 | 1 | From 1d518ac57b00a3335f80f10f899c1bc24a0ddbf5 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 9 Dec 2021 15:14:42 -0800 | 3 | Date: Thu, 9 Dec 2021 15:14:42 -0800 |
4 | Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh | 4 | Subject: [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 | ||
16 | diff --git a/Makeconfig b/Makeconfig | 16 | diff --git a/Makeconfig b/Makeconfig |
17 | index 2fda4af5f7..87777942f3 100644 | 17 | index 77d7fd14df..e253046861 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 |
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 ee50a8148c..9a1bfdd6af 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 @@ | |||
1 | From d8c8500b619231c23ef6a151821555786c0d2966 Mon Sep 17 00:00:00 2001 | 1 | From 7274541782927394852712ba0c8dfd67bd9b8b5b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 15 Dec 2021 21:47:53 -0800 | 3 | Date: Wed, 15 Dec 2021 21:47:53 -0800 |
4 | Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter | 4 | Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter |
diff --git a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch b/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch index 4838643911..3b567cc9ab 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 @@ | |||
1 | From 30d209d26918e48e34f34658923c42f269d27ee1 Mon Sep 17 00:00:00 2001 | 1 | From 4a1bff4c1e34ad9b596a7ba44ab61f4c9d00097b Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Sun, 29 Aug 2021 20:49:16 +0800 | 3 | Date: Sun, 29 Aug 2021 20:49:16 +0800 |
4 | Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287] | 4 | Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287] |
@@ -72,13 +72,13 @@ 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 | ||
74 | diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c | 74 | diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c |
75 | index a8611772a2..c75b063370 100644 | 75 | index 790739cfce..8d24d04917 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 | @@ -52,7 +52,7 @@ __clone_internal (struct clone_args *cl_args, | 78 | @@ -106,7 +106,7 @@ __clone_internal (struct clone_args *cl_args, |
79 | /* Try clone3 first. */ | 79 | #ifdef HAVE_CLONE3_WRAPPER |
80 | int saved_errno = errno; | 80 | int saved_errno = errno; |
81 | ret = __clone3 (cl_args, sizeof (*cl_args), func, arg); | 81 | int ret = __clone3_internal (cl_args, func, arg); |
82 | - if (ret != -1 || errno != ENOSYS) | 82 | - if (ret != -1 || errno != ENOSYS) |
83 | + if (ret != -1 || (errno != ENOSYS && errno != EPERM)) | 83 | + if (ret != -1 || (errno != ENOSYS && errno != EPERM)) |
84 | return ret; | 84 | return ret; |
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 789d36cacb..55c81f38aa 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 @@ | |||
1 | From b672a35f7d9e25baa83f3fd854a51bc1ad49756a Mon Sep 17 00:00:00 2001 | 1 | From e61792fc978f9b8a9c790be468fbf97828ac8ae9 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Sun, 24 Jul 2022 07:07:29 -0700 | 3 | Date: Sun, 24 Jul 2022 07:07:29 -0700 |
4 | Subject: [PATCH] Avoid hardcoded build time paths in the output binaries | 4 | Subject: [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 | ||
16 | diff --git a/support/Makefile b/support/Makefile | 16 | diff --git a/support/Makefile b/support/Makefile |
17 | index b29b7eb505..ae42e6e7e9 100644 | 17 | index 917a858bd1..17a747c8c7 100644 |
18 | --- a/support/Makefile | 18 | --- a/support/Makefile |
19 | +++ b/support/Makefile | 19 | +++ b/support/Makefile |
20 | @@ -219,9 +219,9 @@ libsupport-inhibit-o += .o | 20 | @@ -227,9 +227,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_2.37.bb b/meta/recipes-core/glibc/glibc_2.38.bb index 851aa612b1..851aa612b1 100644 --- a/meta/recipes-core/glibc/glibc_2.37.bb +++ b/meta/recipes-core/glibc/glibc_2.38.bb | |||