From 2e07f7302a39e359eb5daf22249b58602daa5baf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 5 Nov 2025 10:04:55 -0800 Subject: [PATCH] glibc: Upgrade to upcoming ( Feb 26) 2.43 release * 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 --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.42.bb => cross-localedef-native_2.43.bb} | 14 +++--- meta/recipes-core/glibc/glibc-common.inc | 2 +- ...bc-locale_2.42.bb => glibc-locale_2.43.bb} | 0 ...bc-mtrace_2.42.bb => glibc-mtrace_2.43.bb} | 0 ...-scripts_2.42.bb => glibc-scripts_2.43.bb} | 0 ...tsuite_2.42.bb => glibc-testsuite_2.43.bb} | 0 meta/recipes-core/glibc/glibc-version.inc | 6 +-- ...dd-hardlink-resolver-from-util-linux.patch | 2 +- ...-fix-ups-hardlink-to-make-it-compile.patch | 2 +- ...Look-for-host-system-ld.so.cache-as-.patch | 8 ++-- ...Fix-buffer-overrun-with-a-relocated-.patch | 4 +- ...Raise-the-size-of-arrays-containing-.patch | 8 ++-- ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 43 ------------------- ...ake-relocatable-install-for-locales.patch} | 2 +- ...all-back-to-faccessat-on-faccess2-r.patch} | 2 +- ...he-path-sets-wrong-config-variables.patch} | 2 +- ...s-building-and-testing-instructions.patch} | 2 +- ...libc-Help-bootstrap-cross-toolchain.patch} | 2 +- ...glibc-Resolve-__fpscr_values-on-SH4.patch} | 2 +- ...ort-cross-locale-generation-support.patch} | 4 +- ...archive-uses-a-hard-coded-locale-pa.patch} | 2 +- ...o-not-ask-compiler-for-finding-arch.patch} | 2 +- ...-the-header-between-arm-and-aarch64.patch} | 2 +- ...-printf-builtin-in-nscd-init-script.patch} | 2 +- ...gure.ac-Set-libc_cv_rootsbindir-onl.patch} | 2 +- ...ll-interpreter-overridable-in-tzsel.patch} | 6 +-- ...se-bin-sh-default-shell-interpreter.patch} | 2 +- ...-failed-in-unprivileged-process-BZ-.patch} | 2 +- ...uild-time-paths-in-the-output-binar.patch} | 6 +-- ...-tests-that-can-hang-in-oe-selftest.patch} | 10 ++--- ...e-prefix-map-from-CFLAGS-to-ASFLAGS.patch} | 10 ++--- .../0024-version-Bump-version-to-2.43.patch | 24 +++++++++++ .../glibc/{glibc_2.42.bb => glibc_2.43.bb} | 38 ++++++++-------- 34 files changed, 98 insertions(+), 117 deletions(-) rename meta/recipes-core/glibc/{cross-localedef-native_2.42.bb => cross-localedef-native_2.43.bb} (79%) rename meta/recipes-core/glibc/{glibc-locale_2.42.bb => glibc-locale_2.43.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.42.bb => glibc-mtrace_2.43.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.42.bb => glibc-scripts_2.43.bb} (100%) rename meta/recipes-core/glibc/{glibc-testsuite_2.42.bb => glibc-testsuite_2.43.bb} (100%) delete mode 100644 meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch rename meta/recipes-core/glibc/glibc/{0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch => 0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch} (98%) rename meta/recipes-core/glibc/glibc/{0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch => 0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch} (94%) rename meta/recipes-core/glibc/glibc/{0009-yes-within-the-path-sets-wrong-config-variables.patch => 0008-yes-within-the-path-sets-wrong-config-variables.patch} (99%) rename meta/recipes-core/glibc/glibc/{0010-eglibc-Cross-building-and-testing-instructions.patch => 0009-eglibc-Cross-building-and-testing-instructions.patch} (99%) rename meta/recipes-core/glibc/glibc/{0011-eglibc-Help-bootstrap-cross-toolchain.patch => 0010-eglibc-Help-bootstrap-cross-toolchain.patch} (98%) rename meta/recipes-core/glibc/glibc/{0012-eglibc-Resolve-__fpscr_values-on-SH4.patch => 0011-eglibc-Resolve-__fpscr_values-on-SH4.patch} (96%) rename meta/recipes-core/glibc/glibc/{0013-eglibc-Forward-port-cross-locale-generation-support.patch => 0012-eglibc-Forward-port-cross-locale-generation-support.patch} (99%) rename meta/recipes-core/glibc/glibc/{0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch => 0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch} (97%) rename meta/recipes-core/glibc/glibc/{0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch => 0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch} (96%) rename meta/recipes-core/glibc/glibc/{0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch => 0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch} (97%) rename meta/recipes-core/glibc/glibc/{0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch => 0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch} (96%) rename meta/recipes-core/glibc/glibc/{0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch => 0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch} (94%) rename meta/recipes-core/glibc/glibc/{0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch => 0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch} (91%) rename meta/recipes-core/glibc/glibc/{0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch => 0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch} (93%) rename meta/recipes-core/glibc/glibc/{0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch => 0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch} (97%) rename meta/recipes-core/glibc/glibc/{0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch => 0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch} (88%) rename meta/recipes-core/glibc/glibc/{0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch => 0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch} (88%) rename meta/recipes-core/glibc/glibc/{0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch => 0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch} (79%) create mode 100644 meta/recipes-core/glibc/glibc/0024-version-Bump-version-to-2.43.patch rename meta/recipes-core/glibc/{glibc_2.42.bb => glibc_2.43.bb} (79%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index ff10f14a6bc..6c1c4b2f1c4 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" GCCVERSION ?= "15.%" SDKGCCVERSION ?= "${GCCVERSION}" -GLIBCVERSION ?= "2.42%" +GLIBCVERSION ?= "2.43%" RUSTVERSION ?= "1.90.0%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.42.bb b/meta/recipes-core/glibc/cross-localedef-native_2.43.bb 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 95acb3fc561..2fca943ff91 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.42.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.43.bb @@ -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... # diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index 7422ede04d1..657586642bf 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" # COMPATIBLE_HOST:libc-musl:class-target = "null" -PV = "2.42+git" +PV = "2.43+git" TOOLCHAIN = "gcc" diff --git a/meta/recipes-core/glibc/glibc-locale_2.42.bb b/meta/recipes-core/glibc/glibc-locale_2.43.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-locale_2.42.bb rename to meta/recipes-core/glibc/glibc-locale_2.43.bb diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.42.bb b/meta/recipes-core/glibc/glibc-mtrace_2.43.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-mtrace_2.42.bb rename to meta/recipes-core/glibc/glibc-mtrace_2.43.bb diff --git a/meta/recipes-core/glibc/glibc-scripts_2.42.bb b/meta/recipes-core/glibc/glibc-scripts_2.43.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-scripts_2.42.bb rename to meta/recipes-core/glibc/glibc-scripts_2.43.bb diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.42.bb b/meta/recipes-core/glibc/glibc-testsuite_2.43.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-testsuite_2.42.bb rename to meta/recipes-core/glibc/glibc-testsuite_2.43.bb diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index a3ce970c29c..2d931476d01 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc @@ -1,6 +1,6 @@ -SRCBRANCH ?= "release/2.42/master" -PV = "2.42+git" -SRCREV_glibc ?= "e34453cd6a8c592c325756ff3c7ac0afd3975cb4" +SRCBRANCH ?= "master" +PV = "2.43+git" +SRCREV_glibc ?= "3078358ac6deab75109606f72ad85049703184ad" SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" 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 b63e05b2a3e..a3574f9bc6b 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 @@ -From 47dfcfdc8399801ee18317ec155295eef33882ef Mon Sep 17 00:00:00 2001 +From 6eb3f4cf3d3f160c28f7076f42b2e271092aa885 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Sat, 7 Dec 2019 09:59:22 -0800 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 cbb0ad3ef9b..35ff64b695c 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 @@ -From 5ca14c7ac7f389d8a1bf34bb49cdbb2029779dab Mon Sep 17 00:00:00 2001 +From 3957f7e226a3c168d92fb596bf5a66e9b4243f20 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Sat, 7 Dec 2019 10:01:37 -0800 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 04ae8fda979..44da784d60e 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 @@ -From 8c06fcbaf863f83b72445a8b2b70c62a5ae55fe7 Mon Sep 17 00:00:00 2001 +From 5d07555558321fac6403f7ee95f724cacc5cf4c2 Mon Sep 17 00:00:00 2001 From: Khem Raj 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 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 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 25c824c3bcd..2ebcb225201 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 @@ -From c89731d75a2c15be0c1402556407ddecccd3e561 Mon Sep 17 00:00:00 2001 +From 132a740ef66d4b80ddf3706c945b426affa0aaf1 Mon Sep 17 00:00:00 2001 From: Khem Raj 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 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, 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 23163d307f4..5f7c9ca0d59 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 @@ -From 3bc3bbda6092b1b6d497d24e319a10b4c8c48caf Mon Sep 17 00:00:00 2001 +From d659b0cd0e1cb3d3217021832f4c0a00bb480a26 Mon Sep 17 00:00:00 2001 From: Khem Raj 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 index dc9e73832f3..00000000000 --- a/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 2152334c3be94993763c5abfb2911ace0b191cd1 Mon Sep 17 00:00:00 2001 -From: Khem Raj -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 -Signed-off-by: Richard Purdie -Signed-off-by: Khem Raj ---- - 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" diff --git a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch 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 ca1160bf781..ac5d2d6d5fb 100644 --- a/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Make-relocatable-install-for-locales.patch +++ b/meta/recipes-core/glibc/glibc/0006-nativesdk-glibc-Make-relocatable-install-for-locales.patch @@ -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 Date: Fri, 3 Aug 2018 09:55:12 -0700 Subject: [PATCH] nativesdk-glibc: Make relocatable install for locales 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/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch 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 e43c81203ab..4893c4d5d08 100644 --- a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch +++ b/meta/recipes-core/glibc/glibc/0007-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch @@ -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 Date: Sat, 6 Mar 2021 14:48:56 -0800 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/0008-yes-within-the-path-sets-wrong-config-variables.patch 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 dfc734a707f..24bdf5434e2 100644 --- a/meta/recipes-core/glibc/glibc/0009-yes-within-the-path-sets-wrong-config-variables.patch +++ b/meta/recipes-core/glibc/glibc/0008-yes-within-the-path-sets-wrong-config-variables.patch @@ -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 Date: Wed, 18 Mar 2015 00:31:06 +0000 Subject: [PATCH] 'yes' within the path sets wrong config variables diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch 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 25330faef5c..af0a3316ac4 100644 --- a/meta/recipes-core/glibc/glibc/0010-eglibc-Cross-building-and-testing-instructions.patch +++ b/meta/recipes-core/glibc/glibc/0009-eglibc-Cross-building-and-testing-instructions.patch @@ -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 Date: Wed, 18 Mar 2015 00:42:58 +0000 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/0010-eglibc-Help-bootstrap-cross-toolchain.patch 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 d5ad72d8dd7..09cb90b30e2 100644 --- a/meta/recipes-core/glibc/glibc/0011-eglibc-Help-bootstrap-cross-toolchain.patch +++ b/meta/recipes-core/glibc/glibc/0010-eglibc-Help-bootstrap-cross-toolchain.patch @@ -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 Date: Wed, 18 Mar 2015 00:49:28 +0000 Subject: [PATCH] eglibc: Help bootstrap cross toolchain diff --git a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch 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 92c1821dbf3..c3119670e95 100644 --- a/meta/recipes-core/glibc/glibc/0012-eglibc-Resolve-__fpscr_values-on-SH4.patch +++ b/meta/recipes-core/glibc/glibc/0011-eglibc-Resolve-__fpscr_values-on-SH4.patch @@ -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 Date: Wed, 18 Mar 2015 00:55:53 +0000 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/0012-eglibc-Forward-port-cross-locale-generation-support.patch 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 0bad6d7ba87..42c4cfd29ca 100644 --- a/meta/recipes-core/glibc/glibc/0013-eglibc-Forward-port-cross-locale-generation-support.patch +++ b/meta/recipes-core/glibc/glibc/0012-eglibc-Forward-port-cross-locale-generation-support.patch @@ -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 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, 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/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch 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 62f7ca74c54..e49d5de675d 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/0013-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch @@ -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 Date: Fri, 3 Aug 2018 09:42:06 -0700 Subject: [PATCH] localedef --add-to-archive uses a hard-coded locale path diff --git a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch b/meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch 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 a8a0c177743..7e9b199c6f3 100644 --- a/meta/recipes-core/glibc/glibc/0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch +++ b/meta/recipes-core/glibc/glibc/0014-powerpc-Do-not-ask-compiler-for-finding-arch.patch @@ -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 Date: Fri, 7 Aug 2020 14:31:16 -0700 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/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch 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 52ba027c137..de42e9f48e6 100644 --- a/meta/recipes-core/glibc/glibc/0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch +++ b/meta/recipes-core/glibc/glibc/0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch @@ -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 Date: Fri, 15 May 2020 17:05:45 -0700 Subject: [PATCH] wordsize.h: Unify the header between arm and aarch64 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/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch 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 f0dead30052..0eb55265c56 100644 --- a/meta/recipes-core/glibc/glibc/0017-Replace-echo-with-printf-builtin-in-nscd-init-script.patch +++ b/meta/recipes-core/glibc/glibc/0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch @@ -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 Date: Thu, 31 Dec 2015 14:33:02 -0800 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/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch 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 b0e4d587b83..0ec9f5ffe4d 100644 --- a/meta/recipes-core/glibc/glibc/0018-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch +++ b/meta/recipes-core/glibc/glibc/0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch @@ -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 Date: Wed, 18 Mar 2015 00:27:10 +0000 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/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch 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 b95c2eb6d82..c1980192a0f 100644 --- a/meta/recipes-core/glibc/glibc/0019-timezone-Make-shell-interpreter-overridable-in-tzsel.patch +++ b/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch @@ -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 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 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 diff --git a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch 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 ea4c0afb090..fa26495b7e9 100644 --- a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch +++ b/meta/recipes-core/glibc/glibc/0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch @@ -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 Date: Wed, 15 Dec 2021 21:47:53 -0800 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/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch 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 09d5bf745e8..30f6769206c 100644 --- a/meta/recipes-core/glibc/glibc/0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch +++ b/meta/recipes-core/glibc/glibc/0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch @@ -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 Date: Sun, 29 Aug 2021 20:49:16 +0800 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/0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch 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 9fa5d471adf..493404e601f 100644 --- a/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch +++ b/meta/recipes-core/glibc/glibc/0021-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch @@ -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 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 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 = \ 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/0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch 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 1dc2d694efb..b764d7b1ba4 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/0022-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch @@ -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 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 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 \ diff --git a/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch 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 81e580fc722..983748e13d4 100644 --- a/meta/recipes-core/glibc/glibc/0024-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch +++ b/meta/recipes-core/glibc/glibc/0023-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch @@ -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 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 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 index 00000000000..57c97ebf42e --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0024-version-Bump-version-to-2.43.patch @@ -0,0 +1,24 @@ +From 559e9bcf87280bc92d8871d65038cf2f8eebf891 Mon Sep 17 00:00:00 2001 +From: Khem Raj +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 +--- + 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" diff --git a/meta/recipes-core/glibc/glibc_2.42.bb b/meta/recipes-core/glibc/glibc_2.43.bb similarity index 79% rename from meta/recipes-core/glibc/glibc_2.42.bb rename to meta/recipes-core/glibc/glibc_2.43.bb index f9c1cdc2f14..48aa61d7afc 100644 --- a/meta/recipes-core/glibc/glibc_2.42.bb +++ b/meta/recipes-core/glibc/glibc_2.43.bb @@ -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}" -- 2.47.3