Re: [OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
Hello Raj, Is this one https://lists.openembedded.org/g/openembedded-core/message/194128 ok? Regards, Andy On 19.01.2024 15:47, Khem Raj wrote: On Thu, Jan 18, 2024 at 11:22 PM Andrej Valek wrote: Hello Raj, I will try to take a look on this today. Is the patch the same as here https://git.yoctoproject.org/poky-contrib/commit/?h=yoe/mut=c0594edef0d2108860421d0cfd460993264e18c3 ? Means, if I can take it from there. yes. Keep an eye on yoe/mut, as I am updating it there Thanks, Andy On 17.01.2024 08:20, Khem Raj wrote: On Tue, Jan 16, 2024 at 11:10 PM Andrej Valek wrote: Hello Raj, Don't forget to change the glibc-version.inc too and try to make a optimization/cleaning like I proposed here: https://lists.openembedded.org/g/openembedded-core/message/193572 ;). yeah CVEs list will need cleaning anyway as it will be verson bump. But if you turn your suggestion into a patch I can include it in patchset. Regards, Andy On 16.01.2024 20:53, Khem Raj wrote: Upgrade localdef to get glibc 2.39 build fixes Details of release [1] [1] https://sourceware.org/glibc/wiki/Release/2.39 Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.38.bb => cross-localedef-native_2.39.bb} | 0 meta/recipes-core/glibc/glibc-common.inc | 2 +- ...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 ...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 ...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 ...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 meta/recipes-core/glibc/glibc-version.inc | 8 ++-- ...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 ...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 | 22 - ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- ...Make-relocatable-install-for-locales.patch | 10 ++-- ...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- ...the-path-sets-wrong-config-variables.patch | 2 +- ...ss-building-and-testing-instructions.patch | 2 +- ...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- ...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- ...port-cross-locale-generation-support.patch | 46 +-- ...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- ...Do-not-ask-compiler-for-finding-arch.patch | 2 +- ...y-the-header-between-arm-and-aarch64.patch | 4 +- ...h-printf-builtin-in-nscd-init-script.patch | 2 +- ...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- ...ell-interpreter-overridable-in-tzsel.patch | 6 +-- ...Use-bin-sh-default-shell-interpreter.patch | 2 +- ...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- ...build-time-paths-in-the-output-binar.patch | 6 +-- ...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- ...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ .../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + 34 files changed, 106 insertions(+), 85 deletions(-) rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => cross-localedef-native_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => glibc-locale_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => glibc-scripts_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => glibc-testsuite_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => glibc-y2038-tests_2.39.bb} (100%) create mode 100644 meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 3720a4c5b86..977fb316107 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.41%" GDBVERSION ?= "14.%" -GLIBCVERSION ?= "2.38%" +GLIBCVERSION ?= "2.39%" LINUXLIBCVERSION ?= "6.6%" QEMUVERSION ?= "8.1%" GOVERSION ?= "1.20%" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb rename to meta/recipes-core/glibc/cross-localedef-native_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index be33c29857c..5b62884a017 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc @@ -22,4 +22,4 @@
Re: [OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
On Thu, Jan 18, 2024 at 11:22 PM Andrej Valek wrote: > > Hello Raj, > > I will try to take a look on this today. Is the patch the same as here > https://git.yoctoproject.org/poky-contrib/commit/?h=yoe/mut=c0594edef0d2108860421d0cfd460993264e18c3 > ? Means, if I can take it from there. yes. Keep an eye on yoe/mut, as I am updating it there > > Thanks, > Andy > > On 17.01.2024 08:20, Khem Raj wrote: > > On Tue, Jan 16, 2024 at 11:10 PM Andrej Valek wrote: > >> Hello Raj, > >> > >> Don't forget to change the glibc-version.inc too and try to make a > >> optimization/cleaning like I proposed here: > >> https://lists.openembedded.org/g/openembedded-core/message/193572 ;). > > yeah CVEs list will need cleaning anyway as it will be verson bump. But if > > you turn your suggestion into a patch I can include it in patchset. > > > >> Regards, > >> Andy > >> > >> On 16.01.2024 20:53, Khem Raj wrote: > >>> Upgrade localdef to get glibc 2.39 build fixes > >>> Details of release [1] > >>> > >>> [1] https://sourceware.org/glibc/wiki/Release/2.39 > >>> > >>> Signed-off-by: Khem Raj > >>> --- > >>>meta/conf/distro/include/tcmode-default.inc | 2 +- > >>>...2.38.bb => cross-localedef-native_2.39.bb} | 0 > >>>meta/recipes-core/glibc/glibc-common.inc | 2 +- > >>>...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 > >>>...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 > >>>...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 > >>>...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 > >>>meta/recipes-core/glibc/glibc-version.inc | 8 ++-- > >>>...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 > >>>...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 | 22 - > >>>...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- > >>>...Make-relocatable-install-for-locales.patch | 10 ++-- > >>>...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- > >>>...the-path-sets-wrong-config-variables.patch | 2 +- > >>>...ss-building-and-testing-instructions.patch | 2 +- > >>>...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- > >>>...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- > >>>...port-cross-locale-generation-support.patch | 46 +-- > >>>...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- > >>>...Do-not-ask-compiler-for-finding-arch.patch | 2 +- > >>>...y-the-header-between-arm-and-aarch64.patch | 4 +- > >>>...h-printf-builtin-in-nscd-init-script.patch | 2 +- > >>>...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- > >>>...ell-interpreter-overridable-in-tzsel.patch | 6 +-- > >>>...Use-bin-sh-default-shell-interpreter.patch | 2 +- > >>>...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- > >>>...build-time-paths-in-the-output-binar.patch | 6 +-- > >>>...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- > >>>...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ > >>>.../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + > >>>34 files changed, 106 insertions(+), 85 deletions(-) > >>>rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => > >>> cross-localedef-native_2.39.bb} (100%) > >>>rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => > >>> glibc-locale_2.39.bb} (100%) > >>>rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => > >>> glibc-mtrace_2.39.bb} (100%) > >>>rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => > >>> glibc-scripts_2.39.bb} (100%) > >>>rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => > >>> glibc-testsuite_2.39.bb} (100%) > >>>rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => > >>> glibc-y2038-tests_2.39.bb} (100%) > >>>create mode 100644 > >>> meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch > >>>rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) > >>> > >>> diff --git a/meta/conf/distro/include/tcmode-default.inc > >>> b/meta/conf/distro/include/tcmode-default.inc > >>> index 3720a4c5b86..977fb316107 100644 > >>> --- a/meta/conf/distro/include/tcmode-default.inc > >>> +++ b/meta/conf/distro/include/tcmode-default.inc > >>> @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" > >>>SDKGCCVERSION ?= "${GCCVERSION}" > >>>BINUVERSION ?= "2.41%" > >>>GDBVERSION ?= "14.%" > >>> -GLIBCVERSION ?= "2.38%" > >>> +GLIBCVERSION ?= "2.39%" > >>>LINUXLIBCVERSION ?= "6.6%" > >>>QEMUVERSION ?= "8.1%" > >>>GOVERSION ?= "1.20%" > >>> diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb > >>> b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb > >>> similarity index 100% > >>> rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb >
Re: [OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
Hello Raj, I will try to take a look on this today. Is the patch the same as here https://git.yoctoproject.org/poky-contrib/commit/?h=yoe/mut=c0594edef0d2108860421d0cfd460993264e18c3 ? Means, if I can take it from there. Thanks, Andy On 17.01.2024 08:20, Khem Raj wrote: On Tue, Jan 16, 2024 at 11:10 PM Andrej Valek wrote: Hello Raj, Don't forget to change the glibc-version.inc too and try to make a optimization/cleaning like I proposed here: https://lists.openembedded.org/g/openembedded-core/message/193572 ;). yeah CVEs list will need cleaning anyway as it will be verson bump. But if you turn your suggestion into a patch I can include it in patchset. Regards, Andy On 16.01.2024 20:53, Khem Raj wrote: Upgrade localdef to get glibc 2.39 build fixes Details of release [1] [1] https://sourceware.org/glibc/wiki/Release/2.39 Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.38.bb => cross-localedef-native_2.39.bb} | 0 meta/recipes-core/glibc/glibc-common.inc | 2 +- ...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 ...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 ...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 ...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 meta/recipes-core/glibc/glibc-version.inc | 8 ++-- ...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 ...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 | 22 - ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- ...Make-relocatable-install-for-locales.patch | 10 ++-- ...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- ...the-path-sets-wrong-config-variables.patch | 2 +- ...ss-building-and-testing-instructions.patch | 2 +- ...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- ...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- ...port-cross-locale-generation-support.patch | 46 +-- ...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- ...Do-not-ask-compiler-for-finding-arch.patch | 2 +- ...y-the-header-between-arm-and-aarch64.patch | 4 +- ...h-printf-builtin-in-nscd-init-script.patch | 2 +- ...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- ...ell-interpreter-overridable-in-tzsel.patch | 6 +-- ...Use-bin-sh-default-shell-interpreter.patch | 2 +- ...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- ...build-time-paths-in-the-output-binar.patch | 6 +-- ...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- ...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ .../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + 34 files changed, 106 insertions(+), 85 deletions(-) rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => cross-localedef-native_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => glibc-locale_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => glibc-scripts_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => glibc-testsuite_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => glibc-y2038-tests_2.39.bb} (100%) create mode 100644 meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 3720a4c5b86..977fb316107 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.41%" GDBVERSION ?= "14.%" -GLIBCVERSION ?= "2.38%" +GLIBCVERSION ?= "2.39%" LINUXLIBCVERSION ?= "6.6%" QEMUVERSION ?= "8.1%" GOVERSION ?= "1.20%" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb rename to meta/recipes-core/glibc/cross-localedef-native_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index be33c29857c..5b62884a017 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc @@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" # COMPATIBLE_HOST:libc-musl:class-target = "null" -PV = "2.38" +PV = "2.39+git" diff --git a/meta/recipes-core/glibc/glibc-locale_2.38.bb b/meta/recipes-core/glibc/glibc-locale_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-locale_2.38.bb rename to
Re: [OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
On Tue, Jan 16, 2024 at 11:10 PM Andrej Valek wrote: > > Hello Raj, > > Don't forget to change the glibc-version.inc too and try to make a > optimization/cleaning like I proposed here: > https://lists.openembedded.org/g/openembedded-core/message/193572 ;). yeah CVEs list will need cleaning anyway as it will be verson bump. But if you turn your suggestion into a patch I can include it in patchset. > > Regards, > Andy > > On 16.01.2024 20:53, Khem Raj wrote: > > Upgrade localdef to get glibc 2.39 build fixes > > Details of release [1] > > > > [1] https://sourceware.org/glibc/wiki/Release/2.39 > > > > Signed-off-by: Khem Raj > > --- > > meta/conf/distro/include/tcmode-default.inc | 2 +- > > ...2.38.bb => cross-localedef-native_2.39.bb} | 0 > > meta/recipes-core/glibc/glibc-common.inc | 2 +- > > ...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 > > ...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 > > ...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 > > ...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 > > meta/recipes-core/glibc/glibc-version.inc | 8 ++-- > > ...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 > > ...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 | 22 - > > ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- > > ...Make-relocatable-install-for-locales.patch | 10 ++-- > > ...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- > > ...the-path-sets-wrong-config-variables.patch | 2 +- > > ...ss-building-and-testing-instructions.patch | 2 +- > > ...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- > > ...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- > > ...port-cross-locale-generation-support.patch | 46 +-- > > ...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- > > ...Do-not-ask-compiler-for-finding-arch.patch | 2 +- > > ...y-the-header-between-arm-and-aarch64.patch | 4 +- > > ...h-printf-builtin-in-nscd-init-script.patch | 2 +- > > ...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- > > ...ell-interpreter-overridable-in-tzsel.patch | 6 +-- > > ...Use-bin-sh-default-shell-interpreter.patch | 2 +- > > ...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- > > ...build-time-paths-in-the-output-binar.patch | 6 +-- > > ...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- > > ...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ > > .../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + > > 34 files changed, 106 insertions(+), 85 deletions(-) > > rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => > > cross-localedef-native_2.39.bb} (100%) > > rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => > > glibc-locale_2.39.bb} (100%) > > rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => > > glibc-mtrace_2.39.bb} (100%) > > rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => > > glibc-scripts_2.39.bb} (100%) > > rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => > > glibc-testsuite_2.39.bb} (100%) > > rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => > > glibc-y2038-tests_2.39.bb} (100%) > > create mode 100644 > > meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch > > rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) > > > > diff --git a/meta/conf/distro/include/tcmode-default.inc > > b/meta/conf/distro/include/tcmode-default.inc > > index 3720a4c5b86..977fb316107 100644 > > --- a/meta/conf/distro/include/tcmode-default.inc > > +++ b/meta/conf/distro/include/tcmode-default.inc > > @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" > > SDKGCCVERSION ?= "${GCCVERSION}" > > BINUVERSION ?= "2.41%" > > GDBVERSION ?= "14.%" > > -GLIBCVERSION ?= "2.38%" > > +GLIBCVERSION ?= "2.39%" > > LINUXLIBCVERSION ?= "6.6%" > > QEMUVERSION ?= "8.1%" > > GOVERSION ?= "1.20%" > > diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb > > b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb > > similarity index 100% > > rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb > > rename to meta/recipes-core/glibc/cross-localedef-native_2.39.bb > > diff --git a/meta/recipes-core/glibc/glibc-common.inc > > b/meta/recipes-core/glibc/glibc-common.inc > > index be33c29857c..5b62884a017 100644 > > --- a/meta/recipes-core/glibc/glibc-common.inc > > +++ b/meta/recipes-core/glibc/glibc-common.inc > > @@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" > > # > > COMPATIBLE_HOST:libc-musl:class-target = "null" > > > > -PV = "2.38" > > +PV = "2.39+git" > > diff --git a/meta/recipes-core/glibc/glibc-locale_2.38.bb > > b/meta/recipes-core/glibc/glibc-locale_2.39.bb > > similarity index 100% > > rename from
Re: [OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
Hello Raj, Don't forget to change the glibc-version.inc too and try to make a optimization/cleaning like I proposed here: https://lists.openembedded.org/g/openembedded-core/message/193572 ;). Regards, Andy On 16.01.2024 20:53, Khem Raj wrote: Upgrade localdef to get glibc 2.39 build fixes Details of release [1] [1] https://sourceware.org/glibc/wiki/Release/2.39 Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.38.bb => cross-localedef-native_2.39.bb} | 0 meta/recipes-core/glibc/glibc-common.inc | 2 +- ...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 ...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 ...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 ...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 meta/recipes-core/glibc/glibc-version.inc | 8 ++-- ...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 ...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 | 22 - ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- ...Make-relocatable-install-for-locales.patch | 10 ++-- ...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- ...the-path-sets-wrong-config-variables.patch | 2 +- ...ss-building-and-testing-instructions.patch | 2 +- ...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- ...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- ...port-cross-locale-generation-support.patch | 46 +-- ...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- ...Do-not-ask-compiler-for-finding-arch.patch | 2 +- ...y-the-header-between-arm-and-aarch64.patch | 4 +- ...h-printf-builtin-in-nscd-init-script.patch | 2 +- ...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- ...ell-interpreter-overridable-in-tzsel.patch | 6 +-- ...Use-bin-sh-default-shell-interpreter.patch | 2 +- ...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- ...build-time-paths-in-the-output-binar.patch | 6 +-- ...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- ...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ .../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + 34 files changed, 106 insertions(+), 85 deletions(-) rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => cross-localedef-native_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => glibc-locale_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => glibc-scripts_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => glibc-testsuite_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => glibc-y2038-tests_2.39.bb} (100%) create mode 100644 meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 3720a4c5b86..977fb316107 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.41%" GDBVERSION ?= "14.%" -GLIBCVERSION ?= "2.38%" +GLIBCVERSION ?= "2.39%" LINUXLIBCVERSION ?= "6.6%" QEMUVERSION ?= "8.1%" GOVERSION ?= "1.20%" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb rename to meta/recipes-core/glibc/cross-localedef-native_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index be33c29857c..5b62884a017 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc @@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" # COMPATIBLE_HOST:libc-musl:class-target = "null" -PV = "2.38" +PV = "2.39+git" diff --git a/meta/recipes-core/glibc/glibc-locale_2.38.bb b/meta/recipes-core/glibc/glibc-locale_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-locale_2.38.bb rename to meta/recipes-core/glibc/glibc-locale_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.38.bb b/meta/recipes-core/glibc/glibc-mtrace_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-mtrace_2.38.bb rename to meta/recipes-core/glibc/glibc-mtrace_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-scripts_2.38.bb b/meta/recipes-core/glibc/glibc-scripts_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-scripts_2.38.bb rename to meta/recipes-core/glibc/glibc-scripts_2.39.bb
[OE-core] [RFT][PATCH] glibc: Upgrade to 2.39
Upgrade localdef to get glibc 2.39 build fixes Details of release [1] [1] https://sourceware.org/glibc/wiki/Release/2.39 Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...2.38.bb => cross-localedef-native_2.39.bb} | 0 meta/recipes-core/glibc/glibc-common.inc | 2 +- ...bc-locale_2.38.bb => glibc-locale_2.39.bb} | 0 ...bc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} | 0 ...-scripts_2.38.bb => glibc-scripts_2.39.bb} | 0 ...tsuite_2.38.bb => glibc-testsuite_2.39.bb} | 0 meta/recipes-core/glibc/glibc-version.inc | 8 ++-- ...ests_2.38.bb => glibc-y2038-tests_2.39.bb} | 0 ...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 | 22 - ...k-glibc-Allow-64-bit-atomics-for-x86.patch | 4 +- ...Make-relocatable-install-for-locales.patch | 10 ++-- ...Fall-back-to-faccessat-on-faccess2-r.patch | 4 +- ...the-path-sets-wrong-config-variables.patch | 2 +- ...ss-building-and-testing-instructions.patch | 2 +- ...glibc-Help-bootstrap-cross-toolchain.patch | 4 +- ...eglibc-Resolve-__fpscr_values-on-SH4.patch | 4 +- ...port-cross-locale-generation-support.patch | 46 +-- ...-archive-uses-a-hard-coded-locale-pa.patch | 4 +- ...Do-not-ask-compiler-for-finding-arch.patch | 2 +- ...y-the-header-between-arm-and-aarch64.patch | 4 +- ...h-printf-builtin-in-nscd-init-script.patch | 2 +- ...igure.ac-Set-libc_cv_rootsbindir-onl.patch | 2 +- ...ell-interpreter-overridable-in-tzsel.patch | 6 +-- ...Use-bin-sh-default-shell-interpreter.patch | 2 +- ...d-failed-in-unprivileged-process-BZ-.patch | 6 +-- ...build-time-paths-in-the-output-binar.patch | 6 +-- ...e-Pass-mcpu-along-with-march-to-dete.patch | 5 +- ...Bump-__GLIBC_MINOR__-to-39-on-master.patch | 25 ++ .../glibc/{glibc_2.38.bb => glibc_2.39.bb}| 1 + 34 files changed, 106 insertions(+), 85 deletions(-) rename meta/recipes-core/glibc/{cross-localedef-native_2.38.bb => cross-localedef-native_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-locale_2.38.bb => glibc-locale_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-mtrace_2.38.bb => glibc-mtrace_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-scripts_2.38.bb => glibc-scripts_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-testsuite_2.38.bb => glibc-testsuite_2.39.bb} (100%) rename meta/recipes-core/glibc/{glibc-y2038-tests_2.38.bb => glibc-y2038-tests_2.39.bb} (100%) create mode 100644 meta/recipes-core/glibc/glibc/0024-features.h-Bump-__GLIBC_MINOR__-to-39-on-master.patch rename meta/recipes-core/glibc/{glibc_2.38.bb => glibc_2.39.bb} (98%) diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 3720a4c5b86..977fb316107 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -20,7 +20,7 @@ GCCVERSION ?= "13.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.41%" GDBVERSION ?= "14.%" -GLIBCVERSION ?= "2.38%" +GLIBCVERSION ?= "2.39%" LINUXLIBCVERSION ?= "6.6%" QEMUVERSION ?= "8.1%" GOVERSION ?= "1.20%" diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.38.bb b/meta/recipes-core/glibc/cross-localedef-native_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/cross-localedef-native_2.38.bb rename to meta/recipes-core/glibc/cross-localedef-native_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-common.inc b/meta/recipes-core/glibc/glibc-common.inc index be33c29857c..5b62884a017 100644 --- a/meta/recipes-core/glibc/glibc-common.inc +++ b/meta/recipes-core/glibc/glibc-common.inc @@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm" # COMPATIBLE_HOST:libc-musl:class-target = "null" -PV = "2.38" +PV = "2.39+git" diff --git a/meta/recipes-core/glibc/glibc-locale_2.38.bb b/meta/recipes-core/glibc/glibc-locale_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-locale_2.38.bb rename to meta/recipes-core/glibc/glibc-locale_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.38.bb b/meta/recipes-core/glibc/glibc-mtrace_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-mtrace_2.38.bb rename to meta/recipes-core/glibc/glibc-mtrace_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-scripts_2.38.bb b/meta/recipes-core/glibc/glibc-scripts_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-scripts_2.38.bb rename to meta/recipes-core/glibc/glibc-scripts_2.39.bb diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.38.bb b/meta/recipes-core/glibc/glibc-testsuite_2.39.bb similarity index 100% rename from meta/recipes-core/glibc/glibc-testsuite_2.38.bb rename to meta/recipes-core/glibc/glibc-testsuite_2.39.bb diff --git