diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-28 18:29:09 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-06 17:01:23 +0100 |
| commit | 531cce6878d9367f6b707535970cbd276bdb25c7 (patch) | |
| tree | 14e5270003a6bd21b051c05eb26efd29c928a8d4 | |
| parent | 903710ab5c4ea3c13dd1abf5accdefd27d3a5bdc (diff) | |
| download | poky-531cce6878d9367f6b707535970cbd276bdb25c7.tar.gz | |
glibc: Upgrade to 2.42 release
* GCC 12.1 or later is now required to build the GNU C Library.
* GNU Binutils 2.39 or later is now required to build the GNU C Library.
* Support for lightweight stack guard pages via madvise and the
MADV_GUARD_INSTALL flag has been added to pthread_create.
* This is major release, changelog [1]
[1] https://sourceware.org/pipermail/libc-announce/2025/000048.html
(From OE-Core rev: 7c55e2da96f40ee0e40f6fd534573ce64013145c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 files changed, 81 insertions, 129 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index fefd3324b6..d8c378f560 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
| @@ -11,7 +11,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" | |||
| 11 | 11 | ||
| 12 | GCCVERSION ?= "15.%" | 12 | GCCVERSION ?= "15.%" |
| 13 | SDKGCCVERSION ?= "${GCCVERSION}" | 13 | SDKGCCVERSION ?= "${GCCVERSION}" |
| 14 | GLIBCVERSION ?= "2.41%" | 14 | GLIBCVERSION ?= "2.42%" |
| 15 | RUSTVERSION ?= "1.88.0%" | 15 | RUSTVERSION ?= "1.88.0%" |
| 16 | 16 | ||
| 17 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" | 17 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.41.bb b/meta/recipes-core/glibc/cross-localedef-native_2.42.bb index 95acb3fc56..95acb3fc56 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.41.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.42.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index fb62a4af94..7422ede04d 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc | |||
| @@ -22,6 +22,6 @@ 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.41+git" | 25 | PV = "2.42+git" |
| 26 | 26 | ||
| 27 | TOOLCHAIN = "gcc" | 27 | TOOLCHAIN = "gcc" |
diff --git a/meta/recipes-core/glibc/glibc-locale_2.41.bb b/meta/recipes-core/glibc/glibc-locale_2.42.bb index f7702e0358..f7702e0358 100644 --- a/meta/recipes-core/glibc/glibc-locale_2.41.bb +++ b/meta/recipes-core/glibc/glibc-locale_2.42.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.41.bb b/meta/recipes-core/glibc/glibc-mtrace_2.42.bb index 0b69bad46a..0b69bad46a 100644 --- a/meta/recipes-core/glibc/glibc-mtrace_2.41.bb +++ b/meta/recipes-core/glibc/glibc-mtrace_2.42.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.41.bb b/meta/recipes-core/glibc/glibc-scripts_2.42.bb index 5a89bd8022..5a89bd8022 100644 --- a/meta/recipes-core/glibc/glibc-scripts_2.41.bb +++ b/meta/recipes-core/glibc/glibc-scripts_2.42.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.41.bb b/meta/recipes-core/glibc/glibc-testsuite_2.42.bb index 3a2764e40b..3a2764e40b 100644 --- a/meta/recipes-core/glibc/glibc-testsuite_2.41.bb +++ b/meta/recipes-core/glibc/glibc-testsuite_2.42.bb | |||
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index a2cfd0f308..3a89e153bd 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.41/master" | 1 | SRCBRANCH ?= "release/2.42/master" |
| 2 | PV = "2.41+git" | 2 | PV = "2.42+git" |
| 3 | SRCREV_glibc ?= "6e489c17f827317bcf8544efefa65f13b5a079dc" | 3 | SRCREV_glibc ?= "d2097651cc57834dbfcaa102ddfacae0d86cfb66" |
| 4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" | 4 | SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" |
| 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 dbe3ce8c32..b63e05b2a3 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 cecd20fa2ff3ee2bd887b1d427088f32678cc04f Mon Sep 17 00:00:00 2001 | 1 | From 47dfcfdc8399801ee18317ec155295eef33882ef 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/0001-stdlib-Add-single-threaded-fast-path-to-rand.patch b/meta/recipes-core/glibc/glibc/0001-stdlib-Add-single-threaded-fast-path-to-rand.patch deleted file mode 100644 index 736fc51f38..0000000000 --- a/meta/recipes-core/glibc/glibc/0001-stdlib-Add-single-threaded-fast-path-to-rand.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From 4f54b0dfc16dbe0df86afccb90e447df5f7f571e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wilco Dijkstra <wilco.dijkstra@arm.com> | ||
| 3 | Date: Mon, 18 Mar 2024 15:18:20 +0000 | ||
| 4 | Subject: [PATCH] stdlib: Add single-threaded fast path to rand() | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Improve performance of rand() and __random() by adding a single-threaded | ||
| 10 | fast path. Bench-random-lock shows about 5x speedup on Neoverse V1. | ||
| 11 | |||
| 12 | Upstream-Status: Backport [be0cfd848d9ad7378800d6302bc11467cf2b514f] | ||
| 13 | |||
| 14 | Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> | ||
| 15 | Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com> | ||
| 16 | --- | ||
| 17 | stdlib/random.c | 7 +++++++ | ||
| 18 | 1 file changed, 7 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/stdlib/random.c b/stdlib/random.c | ||
| 21 | index 17cc61ba8f55..5d482a857065 100644 | ||
| 22 | --- a/stdlib/random.c | ||
| 23 | +++ b/stdlib/random.c | ||
| 24 | @@ -51,6 +51,7 @@ | ||
| 25 | SUCH DAMAGE.*/ | ||
| 26 | |||
| 27 | #include <libc-lock.h> | ||
| 28 | +#include <sys/single_threaded.h> | ||
| 29 | #include <limits.h> | ||
| 30 | #include <stddef.h> | ||
| 31 | #include <stdlib.h> | ||
| 32 | @@ -288,6 +289,12 @@ __random (void) | ||
| 33 | { | ||
| 34 | int32_t retval; | ||
| 35 | |||
| 36 | + if (SINGLE_THREAD_P) | ||
| 37 | + { | ||
| 38 | + (void) __random_r (&unsafe_state, &retval); | ||
| 39 | + return retval; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | __libc_lock_lock (lock); | ||
| 43 | |||
| 44 | (void) __random_r (&unsafe_state, &retval); | ||
| 45 | -- | ||
| 46 | 2.34.1 | ||
| 47 | |||
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 59d71a0d8b..cbb0ad3ef9 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 e31f032ae87ba38645c66dd7d2dfaa8606602e70 Mon Sep 17 00:00:00 2001 | 1 | From 5ca14c7ac7f389d8a1bf34bb49cdbb2029779dab 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 0f7db0d500..04ae8fda97 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 f794ec18764a59ad45e242092e2ae6f5e3b19761 Mon Sep 17 00:00:00 2001 | 1 | From 8c06fcbaf863f83b72445a8b2b70c62a5ae55fe7 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, 3 Feb 2024 13:54:16 -0800 | 3 | Date: Sat, 3 Feb 2024 13:54:16 -0800 |
| 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 f905578a65..d4dd0fbc2a 100644 | 33 | index 00b9da9ec7..bb31af89da 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 | @@ -2038,6 +2038,14 @@ _dl_map_object (struct link_map *loader, const char *name, | 36 | @@ -2038,6 +2038,14 @@ _dl_map_new_object (struct link_map *loader, const char *name, |
| 37 | &loader->l_runpath_dirs, &realname, &fb, loader, | 37 | &loader->l_runpath_dirs, &realname, &fb, loader, |
| 38 | LA_SER_RUNPATH, &found_other_class); | 38 | LA_SER_RUNPATH, &found_other_class); |
| 39 | 39 | ||
| @@ -48,7 +48,7 @@ index f905578a65..d4dd0fbc2a 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 | @@ -2096,14 +2104,6 @@ _dl_map_object (struct link_map *loader, const char *name, | 51 | @@ -2096,14 +2104,6 @@ _dl_map_new_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 d9731a6fb7..25c824c3bc 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 e8af7c91033875cfaf419c840d3283d71eb72d50 Mon Sep 17 00:00:00 2001 | 1 | From c89731d75a2c15be0c1402556407ddecccd3e561 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 d4dd0fbc2a..0cd5221d6a 100644 | 24 | index bb31af89da..d331e0f01a 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 | @@ -1749,7 +1749,19 @@ open_path (const char *name, size_t namelen, int mode, | 27 | @@ -1750,7 +1750,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 0ee03c95d8..23163d307f 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 d7c4488ff48992631e14a53c27252790eaefe928 Mon Sep 17 00:00:00 2001 | 1 | From 3bc3bbda6092b1b6d497d24e319a10b4c8c48caf 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,10 +26,10 @@ 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 300aa1b6dd..6df873e08b 100644 | 29 | index f9ca40de3f..407db2aa54 100644 |
| 30 | --- a/elf/dl-cache.c | 30 | --- a/elf/dl-cache.c |
| 31 | +++ b/elf/dl-cache.c | 31 | +++ b/elf/dl-cache.c |
| 32 | @@ -336,6 +336,10 @@ search_cache (const char *string_table, uint32_t string_table_size, | 32 | @@ -335,6 +335,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 300aa1b6dd..6df873e08b 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 0cd5221d6a..9b9593f8d8 100644 | 44 | index d331e0f01a..ee024f7136 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 | @@ -107,8 +107,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; | 47 | @@ -107,8 +107,8 @@ enum { ncapstr = 1, max_capstrlen = 0 }; |
| @@ -56,11 +56,11 @@ index 0cd5221d6a..9b9593f8d8 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 c6d13ac2ee..1dac82102d 100644 | 59 | index 31b27e5ea6..3cdb99caa7 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 | @@ -24,6 +24,8 @@ |
| 63 | #include <dl-procinfo.h> | 63 | |
| 64 | #include <dl-hwcaps.h> | 64 | #include <dl-hwcaps.h> |
| 65 | 65 | ||
| 66 | +extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))); | 66 | +extern const char LD_SO_CACHE[4096] __attribute__ ((section (".ldsocache"))); |
| @@ -68,7 +68,7 @@ index c6d13ac2ee..1dac82102d 100644 | |||
| 68 | void | 68 | void |
| 69 | _dl_usage (const char *argv0, const char *wrong_option) | 69 | _dl_usage (const char *argv0, const char *wrong_option) |
| 70 | { | 70 | { |
| 71 | @@ -185,7 +187,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ | 71 | @@ -184,7 +186,7 @@ setting environment variables (which would be inherited by subprocesses).\n\ |
| 72 | --list list all dependencies and how they are resolved\n\ | 72 | --list list all dependencies and how they are resolved\n\ |
| 73 | --verify verify that given object really is a dynamically linked\n\ | 73 | --verify verify that given object really is a dynamically linked\n\ |
| 74 | object we can handle\n\ | 74 | object we can handle\n\ |
| @@ -77,7 +77,7 @@ index c6d13ac2ee..1dac82102d 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 | @@ -204,7 +206,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,10 +98,10 @@ index cc49e13c86..394c1ce0c5 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 1432187e9b..0654e02389 100644 | 101 | index 39b154c72c..c1014b773b 100644 |
| 102 | --- a/elf/ldconfig.c | 102 | --- a/elf/ldconfig.c |
| 103 | +++ b/elf/ldconfig.c | 103 | +++ b/elf/ldconfig.c |
| 104 | @@ -151,6 +151,8 @@ static struct argp argp = | 104 | @@ -150,6 +150,8 @@ static struct argp argp = |
| 105 | options, parse_opt, NULL, doc, NULL, more_help, NULL | 105 | options, parse_opt, NULL, doc, NULL, more_help, NULL |
| 106 | }; | 106 | }; |
| 107 | 107 | ||
| @@ -111,10 +111,10 @@ index 1432187e9b..0654e02389 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 f32058bba6..434ea6d0c5 100644 | 114 | index 493f9696ea..2ae4a5d28b 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 | @@ -189,6 +189,7 @@ dso_name_valid_for_suid (const char *p) |
| 118 | } | 118 | } |
| 119 | return *p != '\0'; | 119 | return *p != '\0'; |
| 120 | } | 120 | } |
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 597923e792..dc9e73832f 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 9b408439eb042c4fc5cb33c8929dea419bf25b41 Mon Sep 17 00:00:00 2001 | 1 | From 2152334c3be94993763c5abfb2911ace0b191cd1 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 2886d461c8..ca1160bf78 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 1a57ab6f7d602401396a18b0270498ff9228cf64 Mon Sep 17 00:00:00 2001 | 1 | From bfd7e42968f20a8c46716c4319def621e8c75d1e 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 |
| @@ -54,10 +54,10 @@ index 058a467cde..af62f3c304 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 ab1b5e5659..92aef8d58e 100644 | 57 | index f503792d04..c71be7f4d9 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 | @@ -346,7 +346,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. */ |
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 025ad153d6..e43c81203a 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 789083eea1feb1249ec5817710552dc31653b36e Mon Sep 17 00:00:00 2001 | 1 | From bd5a7b22d32d47a7d3b9ae0deb6e2d196025e57c 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 dbb6d674d5..dfc734a707 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 4a1ff3c313645aa425a0a87459c907dad1b9ca4b Mon Sep 17 00:00:00 2001 | 1 | From 8a67937e136ba22f062802c1df276604b3f58579 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 |
| @@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 31 | mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure | 31 | mode change 100644 => 100755 sysdeps/unix/sysv/linux/powerpc/powerpc64/configure |
| 32 | 32 | ||
| 33 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure | 33 | diff --git a/sysdeps/aarch64/configure b/sysdeps/aarch64/configure |
| 34 | index 4bd5496a4a..6c051369fb 100755 | 34 | index f364e65fe7..258a344620 100755 |
| 35 | --- a/sysdeps/aarch64/configure | 35 | --- a/sysdeps/aarch64/configure |
| 36 | +++ b/sysdeps/aarch64/configure | 36 | +++ b/sysdeps/aarch64/configure |
| 37 | @@ -157,12 +157,12 @@ else case e in #( | 37 | @@ -157,12 +157,12 @@ else case e in #( |
| @@ -50,7 +50,7 @@ index 4bd5496a4a..6c051369fb 100755 | |||
| 50 | libc_cv_aarch64_be=yes | 50 | libc_cv_aarch64_be=yes |
| 51 | else case e in #( | 51 | else case e in #( |
| 52 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac | 52 | diff --git a/sysdeps/aarch64/configure.ac b/sysdeps/aarch64/configure.ac |
| 53 | index 56d12d661d..80fca20873 100644 | 53 | index a9a1b747f1..879db7c57c 100644 |
| 54 | --- a/sysdeps/aarch64/configure.ac | 54 | --- a/sysdeps/aarch64/configure.ac |
| 55 | +++ b/sysdeps/aarch64/configure.ac | 55 | +++ b/sysdeps/aarch64/configure.ac |
| 56 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) | 56 | @@ -13,8 +13,8 @@ AC_DEFINE(SUPPORT_STATIC_PIE) |
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch index b1bed71f2b..25330faef5 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 7d158af5750b351b3b08e78bb6c5fe80e7cb36ba Mon Sep 17 00:00:00 2001 | 1 | From b8806cd4e2595bbad4d7c1e39554a382572e1e94 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 13190125eb..d5ad72d8dd 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 435b57e8327555b273a52df672b2611050a8c579 Mon Sep 17 00:00:00 2001 | 1 | From 86e15dc8bc5c4756bc6fa9326226ada7721b8c3c 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 97b4328af8..5c20ed3cff 100644 | 32 | index cb927fb9f9..e62fb30d11 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 780aff1e7d..92c1821dbf 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 46937c30c52cf186609bee1ec927464d395afb30 Mon Sep 17 00:00:00 2001 | 1 | From 41d83a92776e77bf82461d0219ad9720702b20c4 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 |
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 8f9bbb6cf3..0bad6d7ba8 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 68dcae2527a64a4448334fdfe27c7b6014589aae Mon Sep 17 00:00:00 2001 | 1 | From ac8410f1f87a9b93107a0d6a46707fbe4532d154 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 |
| @@ -87,10 +87,10 @@ index 0000000000..538f3f5edb | |||
| 87 | + [LC_ALL] = sizeof ("LC_ALL") - 1 | 87 | + [LC_ALL] = sizeof ("LC_ALL") - 1 |
| 88 | + }; | 88 | + }; |
| 89 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h | 89 | diff --git a/locale/localeinfo.h b/locale/localeinfo.h |
| 90 | index 92aef8d58e..ae23b2f7fe 100644 | 90 | index c71be7f4d9..7e3cf2b920 100644 |
| 91 | --- a/locale/localeinfo.h | 91 | --- a/locale/localeinfo.h |
| 92 | +++ b/locale/localeinfo.h | 92 | +++ b/locale/localeinfo.h |
| 93 | @@ -246,7 +246,7 @@ __libc_tsd_define (extern, locale_t, LOCALE) | 93 | @@ -245,7 +245,7 @@ extern __thread locale_t __libc_tsd_LOCALE |
| 94 | unused. We can manage this playing some tricks with weak references. | 94 | unused. We can manage this playing some tricks with weak references. |
| 95 | But with thread-local locale settings, it becomes quite ungainly unless | 95 | But with thread-local locale settings, it becomes quite ungainly unless |
| 96 | we can use __thread variables. So only in that case do we attempt this. */ | 96 | we can use __thread variables. So only in that case do we attempt this. */ |
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 9448f360ef..62f7ca74c5 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 194e83794369783287956fb12c7f8469e6b7d110 Mon Sep 17 00:00:00 2001 | 1 | From 1985a7225e52d8d56e2e48a5ecab83bba8178f21 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 2c19f4fd29..b8495848c3 100644 | 21 | index ad025a819b..0ca7465bcc 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 0e00c04659..a8a0c17774 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 7d7f6fcd4f4b6664bff75addc92bc7b8a86dc22d Mon Sep 17 00:00:00 2001 | 1 | From 947d62bf6a6d341aaba3143df4a644126d2c34f1 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 |
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 f40a8eff07..52ba027c13 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 2bd0ea2c8f9595414741ed523c6ca07630a4fc96 Mon Sep 17 00:00:00 2001 | 1 | From 14a3c302c1394781b19ff7fdb5c6f3c06aca5d51 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,36 +11,32 @@ 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 | 11 +++++++++-- | 14 | sysdeps/aarch64/bits/wordsize.h | 14 ++++++++++++-- |
| 15 | sysdeps/arm/bits/wordsize.h | 22 +--------------------- | 15 | sysdeps/arm/bits/wordsize.h | 22 +--------------------- |
| 16 | 2 files changed, 10 insertions(+), 23 deletions(-) | 16 | 2 files changed, 13 insertions(+), 23 deletions(-) |
| 17 | mode change 100644 => 120000 sysdeps/arm/bits/wordsize.h | 17 | mode change 100644 => 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 f56260c2de..391d79d5a8 100644 | 20 | index 33d0e20566..57bbda568e 100644 |
| 21 | --- a/sysdeps/aarch64/bits/wordsize.h | 21 | --- a/sysdeps/aarch64/bits/wordsize.h |
| 22 | +++ b/sysdeps/aarch64/bits/wordsize.h | 22 | +++ b/sysdeps/aarch64/bits/wordsize.h |
| 23 | @@ -17,12 +17,19 @@ | 23 | @@ -17,5 +17,15 @@ |
| 24 | License along with the GNU C Library; if not, see | 24 | License along with the GNU C Library; if not, see |
| 25 | <https://www.gnu.org/licenses/>. */ | 25 | <https://www.gnu.org/licenses/>. */ |
| 26 | 26 | ||
| 27 | -#ifdef __LP64__ | 27 | -#define __WORDSIZE 64 |
| 28 | -#define __WORDSIZE_TIME64_COMPAT32 0 | ||
| 28 | +#if defined (__aarch64__) && defined (__LP64__) | 29 | +#if defined (__aarch64__) && defined (__LP64__) |
| 29 | # define __WORDSIZE 64 | 30 | +# define __WORDSIZE 64 |
| 30 | -#else | ||
| 31 | +#elif defined (__aarch64__) | ||
| 32 | # define __WORDSIZE 32 | ||
| 33 | # define __WORDSIZE32_SIZE_ULONG 1 | ||
| 34 | # define __WORDSIZE32_PTRDIFF_LONG 1 | ||
| 35 | +#else | 31 | +#else |
| 36 | +# define __WORDSIZE 32 | 32 | +# define __WORDSIZE 32 |
| 37 | +# define __WORDSIZE_TIME64_COMPAT32 1 | 33 | +# define __WORDSIZE_TIME64_COMPAT32 1 |
| 38 | +# define __WORDSIZE32_SIZE_ULONG 0 | 34 | +# define __WORDSIZE32_SIZE_ULONG 0 |
| 39 | +# define __WORDSIZE32_PTRDIFF_LONG 0 | 35 | +# define __WORDSIZE32_PTRDIFF_LONG 0 |
| 40 | #endif | 36 | +#endif |
| 41 | 37 | + | |
| 42 | +#ifdef __aarch64__ | 38 | +#ifdef __aarch64__ |
| 43 | #define __WORDSIZE_TIME64_COMPAT32 0 | 39 | +# define __WORDSIZE_TIME64_COMPAT32 0 |
| 44 | +#endif | 40 | +#endif |
| 45 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h | 41 | diff --git a/sysdeps/arm/bits/wordsize.h b/sysdeps/arm/bits/wordsize.h |
| 46 | deleted file mode 100644 | 42 | deleted file mode 100644 |
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 2af39799be..f0dead3005 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 7ef9358bbb184026914fb4d9ff479361b82bf6c9 Mon Sep 17 00:00:00 2001 | 1 | From 806d6d37765d3a1454720c194758304768171f95 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 ca30edd91c..b0e4d587b8 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 c43c1758baddaff1fb82afc118f7dba23af12540 Mon Sep 17 00:00:00 2001 | 1 | From 6fca57088d013e22f9204570f72ac398b59b6689 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 |
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 2e4c6ced9e..b95c2eb6d8 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 a2179a1a5e0f6ded889d2c88cabb23c92b5a4b1e Mon Sep 17 00:00:00 2001 | 1 | From 7bab0da0d299f7c1cf4111b0da2510fe0bc83a01 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 d0108d2caa..75887b1334 100644 | 17 | index 7102d922b2..38a0b4a569 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 e68e37b125..ea4c0afb09 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 c86de3e8b739f20fd7211b66dc3c69b61d28d611 Mon Sep 17 00:00:00 2001 | 1 | From 38dc3d019fbfa6c4b15f242b46c95ad35f427594 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 f1391a095c..09d5bf745e 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 06dd2eec0d57e1e2702069ee4c970c68fc4d3bcb Mon Sep 17 00:00:00 2001 | 1 | From 7c5d4f1c2161c0ff4fc0057ff0f1382bd784e06a 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] |
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 a90814c63a..9fa5d471ad 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 cd66a5301c4d84e3dbc4e30fdb9e32b341e66b3d Mon Sep 17 00:00:00 2001 | 1 | From 662d544fbed823b9bf917058762ddb54bcee5f07 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,7 +14,7 @@ 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 59a9974539..c3f7302bcb 100644 | 17 | index d41278eeab..657769418e 100644 |
| 18 | --- a/support/Makefile | 18 | --- a/support/Makefile |
| 19 | +++ b/support/Makefile | 19 | +++ b/support/Makefile |
| 20 | @@ -238,9 +238,9 @@ libsupport-inhibit-o += .o | 20 | @@ -238,9 +238,9 @@ libsupport-inhibit-o += .o |
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch index 50d80ed577..1dc2d694ef 100644 --- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch +++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 5395ccff4478d42fab7f2bd6ba7f7188bec09ddf Mon Sep 17 00:00:00 2001 | 1 | From 2630f675276f3be0d045f5ca7fd21b1e422a03f6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Yash Shinde <Yash.Shinde@windriver.com> | 2 | From: Yash Shinde <Yash.Shinde@windriver.com> |
| 3 | Date: Fri, 5 Apr 2024 08:24:36 -0700 | 3 | Date: Fri, 5 Apr 2024 08:24:36 -0700 |
| 4 | Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest | 4 | Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest |
| @@ -20,18 +20,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 20 | 1 file changed, 4 insertions(+), 2 deletions(-) | 20 | 1 file changed, 4 insertions(+), 2 deletions(-) |
| 21 | 21 | ||
| 22 | diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile | 22 | diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile |
| 23 | index 8a755293b3..22dafcaad1 100644 | 23 | index c47cbdf428..1c4f3509ac 100644 |
| 24 | --- a/sysdeps/unix/sysv/linux/Makefile | 24 | --- a/sysdeps/unix/sysv/linux/Makefile |
| 25 | +++ b/sysdeps/unix/sysv/linux/Makefile | 25 | +++ b/sysdeps/unix/sysv/linux/Makefile |
| 26 | @@ -228,7 +228,6 @@ tests += \ | 26 | @@ -220,7 +220,6 @@ tests += \ |
| 27 | tst-rlimit-infinity \ | ||
| 28 | tst-sched-affinity-inheritance \ | 27 | tst-sched-affinity-inheritance \ |
| 29 | tst-sched_setattr \ | 28 | tst-sched_setattr \ |
| 29 | tst-sched_setattr-thread \ | ||
| 30 | - tst-scm_rights \ | 30 | - tst-scm_rights \ |
| 31 | tst-sigtimedwait \ | 31 | tst-sigtimedwait \ |
| 32 | tst-sync_file_range \ | 32 | tst-sync_file_range \ |
| 33 | tst-syscall-restart \ | 33 | tst-syscall-restart \ |
| 34 | @@ -240,6 +239,8 @@ tests += \ | 34 | @@ -232,6 +231,8 @@ tests += \ |
| 35 | tst-timerfd \ | 35 | tst-timerfd \ |
| 36 | tst-ttyname-direct \ | 36 | tst-ttyname-direct \ |
| 37 | tst-ttyname-namespace \ | 37 | tst-ttyname-namespace \ |
| @@ -40,7 +40,7 @@ index 8a755293b3..22dafcaad1 100644 | |||
| 40 | # tests | 40 | # tests |
| 41 | 41 | ||
| 42 | # process_madvise requires CAP_SYS_ADMIN. | 42 | # process_madvise requires CAP_SYS_ADMIN. |
| 43 | @@ -282,9 +283,10 @@ tests-time64 += \ | 43 | @@ -274,9 +275,10 @@ tests-time64 += \ |
| 44 | tst-ntp_gettimex-time64 \ | 44 | tst-ntp_gettimex-time64 \ |
| 45 | tst-ppoll-time64 \ | 45 | tst-ppoll-time64 \ |
| 46 | tst-prctl-time64 \ | 46 | tst-prctl-time64 \ |
diff --git a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch index b42b186418..81e580fc72 100644 --- a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch +++ b/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | |||
| @@ -1,24 +1,28 @@ | |||
| 1 | From 603e50d6b8ccadb32d59b0497f76629665c1794b Mon Sep 17 00:00:00 2001 | 1 | From 111cb0b1f7410eea49ed8869c74352a11cdcbf0f 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, 16 Apr 2025 19:51:01 -0700 | 3 | Date: Wed, 16 Apr 2025 19:51:01 -0700 |
| 4 | Subject: [PATCH] Propagate -ffile-prefix-map from CFLAGS to ASFLAGS. | 4 | Subject: [PATCH] Propagate -ffile-prefix-map from CFLAGS to ASFLAGS. |
| 5 | 5 | ||
| 6 | Upstream-Status: Submitted [https://sourceware.org/pipermail/libc-alpha/2025-April/165969.html] | 6 | -ffile-prefix-map also implies -fdebug-prefix-map |
| 7 | and some systems may use --ffile-prefix-map for building | ||
| 8 | reprodubile systems | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://patchwork.sourceware.org/project/glibc/patch/20250429064632.2048954-1-raj.khem@gmail.com/] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- | 12 | --- |
| 9 | Makeconfig | 2 +- | 13 | Makeconfig | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | 15 | ||
| 12 | diff --git a/Makeconfig b/Makeconfig | 16 | diff --git a/Makeconfig b/Makeconfig |
| 13 | index e35c5cfe4e..7a19c731c6 100644 | 17 | index 38a0b4a569..21a6ee94c1 100644 |
| 14 | --- a/Makeconfig | 18 | --- a/Makeconfig |
| 15 | +++ b/Makeconfig | 19 | +++ b/Makeconfig |
| 16 | @@ -1172,7 +1172,7 @@ endif | 20 | @@ -1191,7 +1191,7 @@ endif |
| 17 | 21 | ||
| 18 | # The assembler can generate debug information too. | 22 | # The assembler can generate debug information too. |
| 19 | ifndef ASFLAGS | 23 | ifndef ASFLAGS |
| 20 | -ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS)) | 24 | -ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS)) |
| 21 | +ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=%,$(CFLAGS)) | 25 | +ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=%,$(CFLAGS)) |
| 22 | endif | 26 | endif |
| 23 | override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) | 27 | override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) $(as-sframe) |
| 24 | 28 | ||
diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.42.bb index 042abb7e45..f9c1cdc2f1 100644 --- a/meta/recipes-core/glibc/glibc_2.41.bb +++ b/meta/recipes-core/glibc/glibc_2.42.bb | |||
| @@ -53,8 +53,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
| 53 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ | 53 | file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ |
| 54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ | 54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ |
| 55 | file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ | 55 | file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ |
| 56 | file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \ | 56 | file://0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ |
| 57 | file://0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ | ||
| 58 | " | 57 | " |
| 59 | B = "${WORKDIR}/build-${TARGET_SYS}" | 58 | B = "${WORKDIR}/build-${TARGET_SYS}" |
| 60 | 59 | ||
