]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
glibc: Upgrade to upcoming ( Feb 26) 2.43 release yoe/mut
authorKhem Raj <raj.khem@gmail.com>
Wed, 5 Nov 2025 18:04:55 +0000 (10:04 -0800)
committerKhem Raj <raj.khem@gmail.com>
Fri, 7 Nov 2025 15:10:52 +0000 (07:10 -0800)
* 64-bit atomics for 32bit x86 patch is no longer required since upstream
  has dropped this logic in 2.43 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 files changed:
meta/conf/distro/include/tcmode-default.inc
meta/recipes-core/glibc/cross-localedef-native_2.43.bb [moved from meta/recipes-core/glibc/cross-localedef-native_2.42.bb with 79% similarity]
meta/recipes-core/glibc/glibc-common.inc
meta/recipes-core/glibc/glibc-locale_2.43.bb [moved from meta/recipes-core/glibc/glibc-locale_2.42.bb with 100% similarity]
meta/recipes-core/glibc/glibc-mtrace_2.43.bb [moved from meta/recipes-core/glibc/glibc-mtrace_2.42.bb with 100% similarity]
meta/recipes-core/glibc/glibc-scripts_2.43.bb [moved from meta/recipes-core/glibc/glibc-scripts_2.42.bb with 100% similarity]
meta/recipes-core/glibc/glibc-testsuite_2.43.bb [moved from meta/recipes-core/glibc/glibc-testsuite_2.42.bb with 100% similarity]
meta/recipes-core/glibc/glibc-version.inc
meta/recipes-core/glibc/glibc/0001-localedef-Add-hardlink-resolver-from-util-linux.patch
meta/recipes-core/glibc/glibc/0002-localedef-fix-ups-hardlink-to-make-it-compile.patch
meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch [deleted file]
meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch [moved from meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch with 98% similarity]
meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch [moved from meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch with 94% similarity]
meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch [moved from meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch with 99% similarity]
meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch [moved from meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch with 99% similarity]
meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch [moved from meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch with 98% similarity]
meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch [moved from meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch with 96% similarity]
meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch [moved from meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch with 99% similarity]
meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch [moved from meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch with 97% similarity]
meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch [moved from meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch with 96% similarity]
meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch [moved from meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch with 97% similarity]
meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch [moved from meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch with 96% similarity]
meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch [moved from meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch with 94% similarity]
meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch [moved from meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch with 91% similarity]
meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch [moved from meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch with 93% similarity]
meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch [moved from meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch with 97% similarity]
meta/recipes-core/glibc/glibc/0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch [moved from meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch with 88% similarity]
meta/recipes-core/glibc/glibc/0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch [moved from meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch with 88% similarity]
meta/recipes-core/glibc/glibc/0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch [moved from meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch with 79% similarity]
meta/recipes-core/glibc/glibc/0024-version-Bump-version-to-2.43.patch [new file with mode: 0644]
meta/recipes-core/glibc/glibc_2.43.bb [moved from meta/recipes-core/glibc/glibc_2.42.bb with 79% similarity]

index ff10f14a6bcbcfbe577458be4662b42d398d27f3..6c1c4b2f1c400ca4e41c9de525e7396bba292645 100644 (file)
@@ -11,7 +11,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "15.%"
 SDKGCCVERSION ?= "${GCCVERSION}"
-GLIBCVERSION ?= "2.42%"
+GLIBCVERSION ?= "2.43%"
 RUSTVERSION ?= "1.90.0%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
similarity index 79%
rename from meta/recipes-core/glibc/cross-localedef-native_2.42.bb
rename to meta/recipes-core/glibc/cross-localedef-native_2.43.bb
index 95acb3fc5614bc09c7ca9b9b5b31700087ec3f07..2fca943ff91b83b4a1705e9ec01e45a375920ff6 100644 (file)
@@ -25,13 +25,13 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \
            file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \
            \
-           file://0010-eglibc-Cross-building-and-testing-instructions.patch \
-           file://0011-eglibc-Help-bootstrap-cross-toolchain.patch \
-           file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \
-           file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \
-           file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
-           file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
-           file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
+           file://0009-eglibc-Cross-building-and-testing-instructions.patch \
+           file://0010-eglibc-Help-bootstrap-cross-toolchain.patch \
+           file://0011-eglibc-Resolve-__fpscr_values-on-SH4.patch \
+           file://0012-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
+           file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
+           file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
            "
 # Makes for a rather long rev (22 characters), but...
 #
index 7422ede04d13081453c8add882ef8ce76a135a2d..657586642bf16a79ff09bcfbafcb57e12e625d17 100644 (file)
@@ -22,6 +22,6 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
 #
 COMPATIBLE_HOST:libc-musl:class-target = "null"
 
-PV = "2.42+git"
+PV = "2.43+git"
 
 TOOLCHAIN = "gcc"
index a3ce970c29c623cce6899a3ec6b27c12891e338b..eb7b415970d8c63d1d1f55a5166337826492c4f3 100644 (file)
@@ -1,6 +1,6 @@
-SRCBRANCH ?= "release/2.42/master"
-PV = "2.42+git"
-SRCREV_glibc ?= "e34453cd6a8c592c325756ff3c7ac0afd3975cb4"
+SRCBRANCH ?= "master"
+PV = "2.43+git"
+SRCREV_glibc ?= "259adb087dd99a199b125e7b955f1d35044664b4"
 SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
index b63e05b2a3ef5b505fb82629ffdce99ad5f6578c..a3574f9bc6ba6f54df9fdf1e7e3cda79ecfb92d8 100644 (file)
@@ -1,4 +1,4 @@
-From 47dfcfdc8399801ee18317ec155295eef33882ef Mon Sep 17 00:00:00 2001
+From 6eb3f4cf3d3f160c28f7076f42b2e271092aa885 Mon Sep 17 00:00:00 2001
 From: Jason Wessel <jason.wessel@windriver.com>
 Date: Sat, 7 Dec 2019 09:59:22 -0800
 Subject: [PATCH] localedef: Add hardlink resolver from util-linux
index cbb0ad3ef9b2c3c22e042825ba1634948467f438..35ff64b695c95129e521cc91e97e0686cb715b2a 100644 (file)
@@ -1,4 +1,4 @@
-From 5ca14c7ac7f389d8a1bf34bb49cdbb2029779dab Mon Sep 17 00:00:00 2001
+From 3957f7e226a3c168d92fb596bf5a66e9b4243f20 Mon Sep 17 00:00:00 2001
 From: Jason Wessel <jason.wessel@windriver.com>
 Date: Sat, 7 Dec 2019 10:01:37 -0800
 Subject: [PATCH] localedef: fix-ups hardlink to make it compile
index 04ae8fda979fa4aee5cb71321ab12e6b3bd26a98..44da784d60e08fec4a468a58ec5714e4a103df9a 100644 (file)
@@ -1,4 +1,4 @@
-From 8c06fcbaf863f83b72445a8b2b70c62a5ae55fe7 Mon Sep 17 00:00:00 2001
+From 5d07555558321fac6403f7ee95f724cacc5cf4c2 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 3 Feb 2024 13:54:16 -0800
 Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
@@ -30,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 8 insertions(+), 8 deletions(-)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index 00b9da9ec7..bb31af89da 100644
+index 0c57b86e3c..09a3db7bc3 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
-@@ -2038,6 +2038,14 @@ _dl_map_new_object (struct link_map *loader, const char *name,
+@@ -2043,6 +2043,14 @@ _dl_map_new_object (struct link_map *loader, const char *name,
                        &loader->l_runpath_dirs, &realname, &fb, loader,
                        LA_SER_RUNPATH, &found_other_class);
  
@@ -48,7 +48,7 @@ index 00b9da9ec7..bb31af89da 100644
  #ifdef USE_LDCONFIG
        if (fd == -1
          && (__glibc_likely ((mode & __RTLD_SECURE) == 0)
-@@ -2096,14 +2104,6 @@ _dl_map_new_object (struct link_map *loader, const char *name,
+@@ -2101,14 +2109,6 @@ _dl_map_new_object (struct link_map *loader, const char *name,
        }
  #endif
  
index 25c824c3bcd4980e3ecc3e0481baceeb0f5c48b8..2ebcb225201e2c295c9c40330850cf6d71ceb3d9 100644 (file)
@@ -1,4 +1,4 @@
-From c89731d75a2c15be0c1402556407ddecccd3e561 Mon Sep 17 00:00:00 2001
+From 132a740ef66d4b80ddf3706c945b426affa0aaf1 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:50:00 +0000
 Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 12 insertions(+)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index bb31af89da..d331e0f01a 100644
+index 09a3db7bc3..ced8ee7cbd 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -1750,7 +1750,19 @@ open_path (const char *name, size_t namelen, int mode,
index 23163d307f47fa32b571b5c23ee1232682c734ad..5f7c9ca0d594b9ecef3fe6210cef48204c94c7f6 100644 (file)
@@ -1,4 +1,4 @@
-From 3bc3bbda6092b1b6d497d24e319a10b4c8c48caf Mon Sep 17 00:00:00 2001
+From d659b0cd0e1cb3d3217021832f4c0a00bb480a26 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:51:38 +0000
 Subject: [PATCH] nativesdk-glibc: Raise the size of arrays containing dl paths
@@ -41,7 +41,7 @@ index f9ca40de3f..407db2aa54 100644
  _dl_cache_libcmp (const char *p1, const char *p2)
  {
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index d331e0f01a..ee024f7136 100644
+index ced8ee7cbd..eb1df81da5 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -107,8 +107,8 @@ enum { ncapstr = 1, max_capstrlen = 0 };
@@ -98,7 +98,7 @@ index cc49e13c86..394c1ce0c5 100644
 +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
    = RUNTIME_LINKER;
 diff --git a/elf/ldconfig.c b/elf/ldconfig.c
-index 39b154c72c..c1014b773b 100644
+index a83f256df2..397d9cfb4c 100644
 --- a/elf/ldconfig.c
 +++ b/elf/ldconfig.c
 @@ -150,6 +150,8 @@ static struct argp argp =
@@ -111,7 +111,7 @@ index 39b154c72c..c1014b773b 100644
  static error_t
  parse_opt (int key, char *arg, struct argp_state *state)
 diff --git a/elf/rtld.c b/elf/rtld.c
-index 493f9696ea..2ae4a5d28b 100644
+index 5ea5383eb6..62045dbc0c 100644
 --- a/elf/rtld.c
 +++ b/elf/rtld.c
 @@ -189,6 +189,7 @@ dso_name_valid_for_suid (const char *p)
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
deleted file mode 100644 (file)
index dc9e738..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From 2152334c3be94993763c5abfb2911ace0b191cd1 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 31 Dec 2015 14:35:35 -0800
-Subject: [PATCH] nativesdk-glibc: Allow 64 bit atomics for x86
-
-The fix consist of allowing 64bit atomic ops for x86.
-This should be safe for i586 and newer CPUs.
-It also makes the synchronization more efficient.
-
-Upstream-Status: Inappropriate [OE-Specific]
-
-Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- sysdeps/x86/atomic-machine.h | 7 +------
- 1 file changed, 1 insertion(+), 6 deletions(-)
-
-diff --git a/sysdeps/x86/atomic-machine.h b/sysdeps/x86/atomic-machine.h
-index 5452716d22..8c7408feb4 100644
---- a/sysdeps/x86/atomic-machine.h
-+++ b/sysdeps/x86/atomic-machine.h
-@@ -26,19 +26,14 @@
- #define LOCK_PREFIX "lock;"
- #define USE_ATOMIC_COMPILER_BUILTINS  1
-+# define __HAVE_64B_ATOMICS           1
- #ifdef __x86_64__
--# define __HAVE_64B_ATOMICS           1
- # define SP_REG                               "rsp"
- # define SEG_REG                      "fs"
- # define BR_CONSTRAINT                        "q"
- # define IBR_CONSTRAINT                       "iq"
- #else
--/* Since the Pentium, i386 CPUs have supported 64-bit atomics, but the
--   i386 psABI supplement provides only 4-byte alignment for uint64_t
--   inside structs, so it is currently not possible to use 64-bit
--   atomics on this platform.  */
--# define __HAVE_64B_ATOMICS           0
- # define SP_REG                               "esp"
- # define SEG_REG                      "gs"
- # define BR_CONSTRAINT                        "r"
similarity index 98%
rename from meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch
rename to meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch
index ca1160bf781fe6f2e15fb9a372276d2f1b228f3f..ac5d2d6d5fb91e67293198de92d9a65624f0f986 100644 (file)
@@ -1,4 +1,4 @@
-From bfd7e42968f20a8c46716c4319def621e8c75d1e Mon Sep 17 00:00:00 2001
+From 152cfc2790be83943ec0de5f45c31b862e514816 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 3 Aug 2018 09:55:12 -0700
 Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales
similarity index 94%
rename from meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
rename to meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch
index e43c81203ab9af3a48a3ec8f1b3871e2c56fb3df..4893c4d5d08ae7f4f3a77ecb75c5099fcd0f2ced 100644 (file)
@@ -1,4 +1,4 @@
-From bd5a7b22d32d47a7d3b9ae0deb6e2d196025e57c Mon Sep 17 00:00:00 2001
+From d5bf481cf424a217b406c0fdc132b882aa7575fc Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 6 Mar 2021 14:48:56 -0800
 Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns
similarity index 99%
rename from meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch
rename to meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch
index dfc734a707fc837b5aed2a0126ba0d4a65117ecc..24bdf5434e208c5e6b2cf8f84f7513b16ef0e0c8 100644 (file)
@@ -1,4 +1,4 @@
-From 8a67937e136ba22f062802c1df276604b3f58579 Mon Sep 17 00:00:00 2001
+From ee51227d13ee9e5b6aa7da74048dc66264bb66c9 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:31:06 +0000
 Subject: [PATCH] 'yes' within the path sets wrong config variables
similarity index 99%
rename from meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch
rename to meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch
index 25330faef5cd5f8c1fa0991ac6da8ed0bb504908..af0a3316ac48c3b122c18c0109f0bb1b4796ccca 100644 (file)
@@ -1,4 +1,4 @@
-From b8806cd4e2595bbad4d7c1e39554a382572e1e94 Mon Sep 17 00:00:00 2001
+From b965d901799fe8c8b30b3933a8125a80ab446f72 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:42:58 +0000
 Subject: [PATCH] eglibc: Cross building and testing instructions
similarity index 98%
rename from meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch
rename to meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch
index d5ad72d8dd71cda2443b7b4783673854ac49ff8f..09cb90b30e2a02c9a25eadde3e001afa410fe2a7 100644 (file)
@@ -1,4 +1,4 @@
-From 86e15dc8bc5c4756bc6fa9326226ada7721b8c3c Mon Sep 17 00:00:00 2001
+From 28f07367ed0ee13e03a39166a7d23cd272fd5b40 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:49:28 +0000
 Subject: [PATCH] eglibc: Help bootstrap cross toolchain
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch
rename to meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch
index 92c1821dbf37b1b819fcdb97d84baf38210906d9..c3119670e95cd983af4828d3ded9d42c6ad07e57 100644 (file)
@@ -1,4 +1,4 @@
-From 41d83a92776e77bf82461d0219ad9720702b20c4 Mon Sep 17 00:00:00 2001
+From 57f4bfb93d08b1c8f88acba1109ffd0b527aef10 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:55:53 +0000
 Subject: [PATCH] eglibc: Resolve __fpscr_values on SH4
similarity index 99%
rename from meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch
rename to meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch
index 0bad6d7ba8710c9cf0379067fcc0bf7b2226d236..42c4cfd29ca07cb1089a31c7bad3ad4c7b2fcbb9 100644 (file)
@@ -1,4 +1,4 @@
-From ac8410f1f87a9b93107a0d6a46707fbe4532d154 Mon Sep 17 00:00:00 2001
+From cf89f658045edb03c1860f406e904ff63c7956a8 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:33:49 +0000
 Subject: [PATCH] eglibc: Forward port cross locale generation support
@@ -146,7 +146,7 @@ index e635a01ede..10e34a6da9 100644
    return NULL;
  }
 diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
-index 7de3ba064d..3256427d21 100644
+index e9a9e6dc34..18247630ff 100644
 --- a/locale/programs/ld-collate.c
 +++ b/locale/programs/ld-collate.c
 @@ -352,7 +352,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
rename to meta/recipes-core/glibc/glibc/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch
index 62f7ca74c54bf1b58ad49244cd2900db5cefe53f..e49d5de675d14a674dfd38d5d457672a4e68efe8 100644 (file)
@@ -1,4 +1,4 @@
-From 1985a7225e52d8d56e2e48a5ecab83bba8178f21 Mon Sep 17 00:00:00 2001
+From 14b652f0d7d903a8f917ae33a3f371cb5d79f54c Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 3 Aug 2018 09:42:06 -0700
 Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch
rename to meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch
index a8a0c1777430eb64478114598f300e702f72389f..7e9b199c6f3beddb684046ff50745f801238b601 100644 (file)
@@ -1,4 +1,4 @@
-From 947d62bf6a6d341aaba3143df4a644126d2c34f1 Mon Sep 17 00:00:00 2001
+From 5e07ffe25447a1cdafde1b087b8a6814f35e4e8a Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 7 Aug 2020 14:31:16 -0700
 Subject: [PATCH] powerpc: Do not ask compiler for finding arch
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
rename to meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch
index 52ba027c1379d723a8da29833dc3c93ec23a827c..de42e9f48e680e7097c5a8adf3959a2193d32a63 100644 (file)
@@ -1,4 +1,4 @@
-From 14a3c302c1394781b19ff7fdb5c6f3c06aca5d51 Mon Sep 17 00:00:00 2001
+From 2e97e575ce5c9d2f6fb7b87dccc56dff118d6d81 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 15 May 2020 17:05:45 -0700
 Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64
similarity index 96%
rename from meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
rename to meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch
index f0dead30052939586efd8941d28c13084e7fb05d..0eb55265c56c08277cb23ce675f8d519d699777a 100644 (file)
@@ -1,4 +1,4 @@
-From 806d6d37765d3a1454720c194758304768171f95 Mon Sep 17 00:00:00 2001
+From 0671e2150e506a0665f072077bc2d047c436f194 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 14:33:02 -0800
 Subject: [PATCH] Replace echo with printf builtin in nscd init script
similarity index 94%
rename from meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
rename to meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch
index b0e4d587b83cd8c90ef132aebe18cb9a29258882..0ec9f5ffe4dedac2a93c869838cd7917499c1853 100644 (file)
@@ -1,4 +1,4 @@
-From 6fca57088d013e22f9204570f72ac398b59b6689 Mon Sep 17 00:00:00 2001
+From 2e916fa198b533daf4b70bc929e970ca802fd8b1 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:27:10 +0000
 Subject: [PATCH] sysdeps/gnu/configure.ac: Set libc_cv_rootsbindir only if its
similarity index 91%
rename from meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
rename to meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
index b95c2eb6d82cd0a5fe7791ad84e0adfafa5c945a..c1980192a0f9aa6bd611f1e3cce08dd80dda4189 100644 (file)
@@ -1,4 +1,4 @@
-From 7bab0da0d299f7c1cf4111b0da2510fe0bc83a01 Mon Sep 17 00:00:00 2001
+From f140e8d5c7b6efe26dea39d22ba9910388387451 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 9 Dec 2021 15:14:42 -0800
 Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 10 insertions(+)
 
 diff --git a/Makeconfig b/Makeconfig
-index 7102d922b2..38a0b4a569 100644
+index eb44bbd113..622ebd3da0 100644
 --- a/Makeconfig
 +++ b/Makeconfig
 @@ -309,6 +309,15 @@ ifndef sysincludedir
@@ -34,7 +34,7 @@ index 7102d922b2..38a0b4a569 100644
  # Commands to install files.
  ifndef INSTALL_DATA
 diff --git a/timezone/Makefile b/timezone/Makefile
-index ebe5cf73a1..b5fa38f4d7 100644
+index 6c7a7d4f4d..e218ca7f6e 100644
 --- a/timezone/Makefile
 +++ b/timezone/Makefile
 @@ -143,6 +143,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
similarity index 93%
rename from meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
rename to meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch
index ea4c0afb0903f7f2ce8adfbf6f064461aa9ea80f..fa26495b7e9c870c71915ec76fd112b9f96a0ae9 100644 (file)
@@ -1,4 +1,4 @@
-From 38dc3d019fbfa6c4b15f242b46c95ad35f427594 Mon Sep 17 00:00:00 2001
+From ad4ff1431d19e0c56fad2314d9f6f6511a236f51 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 15 Dec 2021 21:47:53 -0800
 Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
rename to meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch
index 09d5bf745e8ab17d91d5a68f82a9b9c57efaecc0..30f6769206c9c5d00010acd5f779197ba399c389 100644 (file)
@@ -1,4 +1,4 @@
-From 7c5d4f1c2161c0ff4fc0057ff0f1382bd784e06a Mon Sep 17 00:00:00 2001
+From 8ef447e79edb7434dc1921b37db3d780f2059421 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Sun, 29 Aug 2021 20:49:16 +0800
 Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287]
similarity index 88%
rename from meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
rename to meta/recipes-core/glibc/glibc/0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch
index 9fa5d471adf7c6443c0224e35dac3d61911129e3..493404e601f6948deec35d1afacbac7df324353a 100644 (file)
@@ -1,4 +1,4 @@
-From 662d544fbed823b9bf917058762ddb54bcee5f07 Mon Sep 17 00:00:00 2001
+From 0443a458c2a63b1bab2e4bcc95dc1a9d9a1b0ca6 Mon Sep 17 00:00:00 2001
 From: Richard Purdie <richard.purdie@linuxfoundation.org>
 Date: Sun, 24 Jul 2022 07:07:29 -0700
 Subject: [PATCH] Avoid hardcoded build time paths in the output binaries
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/support/Makefile b/support/Makefile
-index d41278eeab..657769418e 100644
+index 2043e4e590..fb5a413a7e 100644
 --- a/support/Makefile
 +++ b/support/Makefile
-@@ -238,9 +238,9 @@ libsupport-inhibit-o += .o
+@@ -240,9 +240,9 @@ libsupport-inhibit-o += .o
  endif
  
  CFLAGS-support_paths.c = \
similarity index 88%
rename from meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
rename to meta/recipes-core/glibc/glibc/0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch
index 1dc2d694efbc20bb0336ec4ecb005083dc2a116a..b764d7b1ba48459827868706a55be3e96d0ac9af 100644 (file)
@@ -1,4 +1,4 @@
-From 2630f675276f3be0d045f5ca7fd21b1e422a03f6 Mon Sep 17 00:00:00 2001
+From d4d3b46ba23812c631532bfc6a3284f15d67c41f Mon Sep 17 00:00:00 2001
 From: Yash Shinde <Yash.Shinde@windriver.com>
 Date: Fri, 5 Apr 2024 08:24:36 -0700
 Subject: [PATCH] tests: Skip 2 qemu tests that can hang in oe-selftest
@@ -20,10 +20,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
-index c47cbdf428..1c4f3509ac 100644
+index 193798e2ae..dbc6debdea 100644
 --- a/sysdeps/unix/sysv/linux/Makefile
 +++ b/sysdeps/unix/sysv/linux/Makefile
-@@ -220,7 +220,6 @@ tests += \
+@@ -222,7 +222,6 @@ tests += \
    tst-sched-affinity-inheritance \
    tst-sched_setattr \
    tst-sched_setattr-thread \
@@ -31,7 +31,7 @@ index c47cbdf428..1c4f3509ac 100644
    tst-sigtimedwait \
    tst-sync_file_range \
    tst-syscall-restart \
-@@ -232,6 +231,8 @@ tests += \
+@@ -234,6 +233,8 @@ tests += \
    tst-timerfd \
    tst-ttyname-direct \
    tst-ttyname-namespace \
@@ -40,7 +40,7 @@ index c47cbdf428..1c4f3509ac 100644
    # tests
  
  # process_madvise requires CAP_SYS_ADMIN.
-@@ -274,9 +275,10 @@ tests-time64 += \
+@@ -276,9 +277,10 @@ tests-time64 += \
    tst-ntp_gettimex-time64 \
    tst-ppoll-time64 \
    tst-prctl-time64 \
similarity index 79%
rename from meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
rename to meta/recipes-core/glibc/glibc/0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch
index 81e580fc7220ded3cf1624a027a117f68a82c22b..983748e13d4777d652e9ed14592a21062e558c99 100644 (file)
@@ -1,4 +1,4 @@
-From 111cb0b1f7410eea49ed8869c74352a11cdcbf0f Mon Sep 17 00:00:00 2001
+From 74adbca8f7b215b6a22e4704dc63b86967f005b7 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 16 Apr 2025 19:51:01 -0700
 Subject: [PATCH] Propagate -ffile-prefix-map from CFLAGS to ASFLAGS.
@@ -14,15 +14,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makeconfig b/Makeconfig
-index 38a0b4a569..21a6ee94c1 100644
+index 622ebd3da0..375daddba3 100644
 --- a/Makeconfig
 +++ b/Makeconfig
-@@ -1191,7 +1191,7 @@ endif
+@@ -1194,7 +1194,7 @@ endif
  
  # The assembler can generate debug information too.
  ifndef ASFLAGS
--ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
-+ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=%,$(CFLAGS))
+-ASFLAGS := $(filter -g% -fdebug-prefix-map=% -m%,$(CFLAGS))
++ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=% -m%,$(CFLAGS))
  endif
  override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) $(as-sframe)
  
diff --git a/meta/recipes-core/glibc/glibc/0024-version-Bump-version-to-2.43.patch b/meta/recipes-core/glibc/glibc/0024-version-Bump-version-to-2.43.patch
new file mode 100644 (file)
index 0000000..57c97eb
--- /dev/null
@@ -0,0 +1,24 @@
+From 559e9bcf87280bc92d8871d65038cf2f8eebf891 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 5 Nov 2025 10:07:42 -0800
+Subject: [PATCH] version: Bump version to 2.43
+
+Make it behave like a release, so OE packages do not trip
+over development versioning scheme
+
+Upstream-Status: Inappropriate [ OE Testing only ]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ version.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/version.h b/version.h
+index c5dcdde2db..5408e8b0a1 100644
+--- a/version.h
++++ b/version.h
+@@ -1,4 +1,4 @@
+ /* This file just defines the current version number of libc.  */
+ #define RELEASE "development"
+-#define VERSION "2.42.9000"
++#define VERSION "2.43"
similarity index 79%
rename from meta/recipes-core/glibc/glibc_2.42.bb
rename to meta/recipes-core/glibc/glibc_2.43.bb
index f9c1cdc2f14561747813e0f77b4a6546090649c3..48aa61d7afcd1648d681ba679a9a7463d61b9efb 100644 (file)
@@ -27,9 +27,8 @@ NATIVESDKFIXES:class-nativesdk = "\
            file://0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch \
            file://0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch \
            file://0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch \
-           file://0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch \
-           file://0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch \
-           file://0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch \
+           file://0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch \
+           file://0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch \
 "
 
 SRC_URI =  "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
@@ -38,22 +37,23 @@ SRC_URI =  "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://makedbs.sh \
            \
            ${NATIVESDKFIXES} \
-           file://0009-yes-within-the-path-sets-wrong-config-variables.patch \
-           file://0010-eglibc-Cross-building-and-testing-instructions.patch \
-           file://0011-eglibc-Help-bootstrap-cross-toolchain.patch \
-           file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \
-           file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \
-           file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
-           file://0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch \
-           file://0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
-           file://0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
-           file://0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \
-           file://0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
-           file://0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \
-           file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
-           file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \
-           file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
-           file://0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \
+           file://0008-yes-within-the-path-sets-wrong-config-variables.patch \
+           file://0009-eglibc-Cross-building-and-testing-instructions.patch \
+           file://0010-eglibc-Help-bootstrap-cross-toolchain.patch \
+           file://0011-eglibc-Resolve-__fpscr_values-on-SH4.patch \
+           file://0012-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
+           file://0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch \
+           file://0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
+           file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
+           file://0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \
+           file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
+           file://0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \
+           file://0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
+           file://0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \
+           file://0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
+           file://0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \
+           file://0024-version-Bump-version-to-2.43.patch \
 "
 B = "${WORKDIR}/build-${TARGET_SYS}"