package/localedef: bump to glibc-2.31-54
PATCH 1/2 package/localedef: bump to glibc-2.31-54
resync the version with glibc package.
---
.../0001-HACK-only-build-and-install-localedef.patch | 0
...02-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0
.../localedef.hash | 2 +-
package/localedef/localedef.mk | 2 +-
4 files changed, 2 insertions(+), 2 deletions(-)
rename package/localedef/{2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e => 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d}/0001-HACK-only-build-and-install-localedef.patch (100%)
rename package/localedef/{2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e => 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%)
rename package/localedef/{2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e => 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d}/localedef.hash (70%)package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0001-HACK-only-build-and-install-localedef.patch renamed from package/localedef/2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e/0001-HACK-only-build-and-install-localedef.patch +0 -0
package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch renamed from package/localedef/2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +0 -0
package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/localedef.hash renamed from package/localedef/2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e/localedef.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 a105837271b66e92f1ed4a5f10f3bb9e993842d592f67d352c6637126bd3d58c glibc-2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e.tar.gz +sha256 e1f2c9b424a4e0c00e7ad123a4204f7bc8afd3c504aeb8c79b1086509fd67176 glibc-2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/localedef/localedef.mk +1 -1
@@ -7,7 +7,7 @@ # Use the same VERSION and SITE as target glibc # As in glibc.mk, generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.31-49-g6f3459f9859a7b506c64fa1823769ab631072c6e +LOCALEDEF_VERSION = 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) HOST_LOCALEDEF_DL_SUBDIR = glibc
Signature · 1 line
2.25.4
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
Security related changes:
CVE-2016-10228: An infinite loop has been fixed in the iconv program when invoked with the -c option and when processing invalid multi-byte input sequences. Reported by Jan Engelhardt.
CVE-2020-10029: Trigonometric functions on x86 targets suffered from stack corruption when they were passed a pseudo-zero argument. Reported by Guido Vranken / ForAllSecure Mayhem.
CVE-2020-1752: A use-after-free vulnerability in the glob function when expanding ~user has been fixed.
CVE-2020-6096: A signed comparison vulnerability in the ARMv7 memcpy and memmove functions has been fixed. Discovered by Jason Royes and Samual Dytrych of the Cisco Security Assessment and Penetration Team (See TALOS-2020-1019).
See:
https://sourceware.org/pipermail/libc-announce/2020/000029.html
Tested by https://gitlab.com/kubu93/buildroot/-/jobs/769818674
(Only boot tested with busybox)
---
.../glibc.hash | 7 -------
.../glibc.hash | 2 +-
package/glibc/glibc.mk | 9 ++-------
.../0001-HACK-only-build-and-install-localedef.patch | 0
...x-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0
.../localedef.hash | 2 +-
6 files changed, 4 insertions(+), 16 deletions(-)
delete mode 100644 package/glibc/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/glibc.hash
rename package/glibc/{2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5 => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/glibc.hash (72%)
rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/0001-HACK-only-build-and-install-localedef.patch (100%)
rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%)
rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/localedef.hash (70%)package/glibc/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/glibc.hash deleted +0 -7
@@ -1,7 +0,0 @@ -# Locally calculated (fetched from Github) -sha256 e1f2c9b424a4e0c00e7ad123a4204f7bc8afd3c504aeb8c79b1086509fd67176 glibc-2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d.tar.gz - -# Hashes for license files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES
package/glibc/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/glibc.hash renamed from package/glibc/2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5/glibc.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 07f3804abbc6a23315f09568686c0e5bb81d714251cf537d25a36f826cae540b glibc-2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5.tar.gz +sha256 8695cbca28015df9cda59b2755822d009f615dd47490c8f8f653354ebd087bd2 glibc-2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
package/glibc/glibc.mk +2 -7
@@ -11,16 +11,12 @@ else # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -ifeq ($(BR2_arc),y) -# ARC support in upstream was merged in 2.32 release -# This can be removed once BR upgrades to 2.32 or later -GLIBC_VERSION = 2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5 -else ifeq ($(BR2_RISCV_32),y) +ifeq ($(BR2_RISCV_32),y) # RISC-V 32-bit (RV32) requires glibc 2.33 or newer # Until 2.33 is released, just use master GLIBC_VERSION = 2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99 else -GLIBC_VERSION = 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d +GLIBC_VERSION = 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07 endif # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable,
@@ -137,7 +133,6 @@ define GLIBC_CONFIGURE_CMDS --disable-profile \ --disable-werror \ --without-gd \ - --enable-obsolete-rpc \ --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \ --with-headers=$(STAGING_DIR)/usr/include) $(GLIBC_ADD_MISSING_STUB_H)
package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/0001-HACK-only-build-and-install-localedef.patch renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0001-HACK-only-build-and-install-localedef.patch +0 -0
package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +0 -0
package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/localedef.hash renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/localedef.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 e1f2c9b424a4e0c00e7ad123a4204f7bc8afd3c504aeb8c79b1086509fd67176 glibc-2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d.tar.gz +sha256 8695cbca28015df9cda59b2755822d009f615dd47490c8f8f653354ebd087bd2 glibc-2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
Signature · 1 line
2.25.4
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Hi,
Le 02/10/2020 ? 17:59, Romain Naour a ?crit?:
Quoted 4 lines
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
I believe we need to be careful with this change:
* Remove configure option --enable-obsolete-rpc. Sun RPC is removed from glibc. This includes the rpcgen program, librpcsvc, and the Sun RPC header files. Backward compatibility for old programs is kept only for architectures and ABIs that have been added in or before glibc 2.31. New programs need to use TI-RPC
<http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary> and rpcsvc-proto <https://github.com/thkukuk/rpcsvc-proto>.
First because we don't have rpcsvc-proto package
Second, because our toolchain-external infra select by default BR2_TOOLCHAIN_EXTERNAL_INET_RPC for external glibc toolchains. If not disabled, the check_glibc_rpc_feature check will stop the build:
Finally, our internal toolchain backend select BR2_TOOLCHAIN_HAS_NATIVE_RPC unconditionally:
https://git.buildroot.net/buildroot/tree/toolchain/toolchain-buildroot/Config.in#n61
This patch needs to be updated with those changes.
Best regards,
Romain
Quoted 121 lines
Security related changes:
CVE-2016-10228: An infinite loop has been fixed in the iconv program when invoked with the -c option and when processing invalid multi-byte input sequences. Reported by Jan Engelhardt.
CVE-2020-10029: Trigonometric functions on x86 targets suffered from stack corruption when they were passed a pseudo-zero argument. Reported by Guido Vranken / ForAllSecure Mayhem.
CVE-2020-1752: A use-after-free vulnerability in the glob function when expanding ~user has been fixed.
CVE-2020-6096: A signed comparison vulnerability in the ARMv7 memcpy and memmove functions has been fixed. Discovered by Jason Royes and Samual Dytrych of the Cisco Security Assessment and Penetration Team (See TALOS-2020-1019).
See:
https://sourceware.org/pipermail/libc-announce/2020/000029.htmlTested by https://gitlab.com/kubu93/buildroot/-/jobs/769818674
(Only boot tested with busybox)Signed-off-by Romain Naour <[email protected]>--- .../glibc.hash | 7 ------- .../glibc.hash | 2 +- package/glibc/glibc.mk | 9 ++------- .../0001-HACK-only-build-and-install-localedef.patch | 0 ...x-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch | 0 .../localedef.hash | 2 +- 6 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 package/glibc/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/glibc.hash rename package/glibc/{2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5 => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/glibc.hash (72%) rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/0001-HACK-only-build-and-install-localedef.patch (100%) rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch (100%) rename package/localedef/{2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d => 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07}/localedef.hash (70%)package/glibc/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/glibc.hash deleted +0
-7@@ -1,7 +0,0 @@ -# Locally calculated (fetched from Github) -sha256 e1f2c9b424a4e0c00e7ad123a4204f7bc8afd3c504aeb8c79b1086509fd67176 glibc-2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d.tar.gz - -# Hashes for license files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSESpackage/glibc/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/glibc.hash renamed from package/glibc/2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5/glibc.hash +1
-1@@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 07f3804abbc6a23315f09568686c0e5bb81d714251cf537d25a36f826cae540b glibc-2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5.tar.gz +sha256 8695cbca28015df9cda59b2755822d009f615dd47490c8f8f653354ebd087bd2 glibc-2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGpackage/glibc/glibc.mk +2
-7@@ -11,16 +11,12 @@ else # Generate version string using: # git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- # When updating the version, please also update localedef -ifeq ($(BR2_arc),y) -# ARC support in upstream was merged in 2.32 release -# This can be removed once BR upgrades to 2.32 or later -GLIBC_VERSION = 2.32-2-g386543bc4495f658dcce6cd4d11e4ba6574a46f5 -else ifeq ($(BR2_RISCV_32),y) +ifeq ($(BR2_RISCV_32),y) # RISC-V 32-bit (RV32) requires glibc 2.33 or newer # Until 2.33 is released, just use master GLIBC_VERSION = 2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99 else -GLIBC_VERSION = 2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d +GLIBC_VERSION = 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07 endif # Upstream doesn't officially provide an https download link. # There is one (https://sourceware.org/git/glibc.git) but it's not reliable,@@ -137,7 +133,6 @@ define GLIBC_CONFIGURE_CMDS --disable-profile \ --disable-werror \ --without-gd \ - --enable-obsolete-rpc \ --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \ --with-headers=$(STAGING_DIR)/usr/include) $(GLIBC_ADD_MISSING_STUB_H)package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/0001-HACK-only-build-and-install-localedef.patch renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0001-HACK-only-build-and-install-localedef.patch +0
-0package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +0
-0package/localedef/2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07/localedef.hash renamed from package/localedef/2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d/localedef.hash +1
-1@@ -1,5 +1,5 @@ # Locally calculated (fetched from Github) -sha256 e1f2c9b424a4e0c00e7ad123a4204f7bc8afd3c504aeb8c79b1086509fd67176 glibc-2.31-54-g6fdf971c9dbf7dac9bea552113fe4694015bbc4d.tar.gz +sha256 8695cbca28015df9cda59b2755822d009f615dd47490c8f8f653354ebd087bd2 glibc-2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07.tar.gz # Hashes for license files sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
In reply to Romain NaourQuoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
Security related changes:
CVE-2016-10228: An infinite loop has been fixed in the iconv program when invoked with the -c option and when processing invalid multi-byte input sequences. Reported by Jan Engelhardt.
CVE-2020-10029: Trigonometric functions on x86 targets suffered from stack corruption when they were passed a pseudo-zero argument. Reported by Guido Vranken / ForAllSecure Mayhem.
Quoted 7 lines
CVE-2020-1752: A use-after-free vulnerability in the glob function when expanding ~user has been fixed.
CVE-2020-6096: A signed comparison vulnerability in the ARMv7 memcpy and memmove functions has been fixed. Discovered by Jason Royes and Samual Dytrych of the Cisco Security Assessment and Penetration Team (See TALOS-2020-1019).
These security fixes were already in 2.31.1, E.G. what we are currently using, right?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Hello Peter,
Le 04/10/2020 ? 11:45, Peter Korsgaard a ?crit?:
Quoted 20 lines
Quoted 19 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
Security related changes:
CVE-2016-10228: An infinite loop has been fixed in the iconv program when invoked with the -c option and when processing invalid multi-byte input sequences. Reported by Jan Engelhardt.
CVE-2020-10029: Trigonometric functions on x86 targets suffered from stack corruption when they were passed a pseudo-zero argument. Reported by Guido Vranken / ForAllSecure Mayhem.
CVE-2020-1752: A use-after-free vulnerability in the glob function when expanding ~user has been fixed.
Quoted 8 lines
Quoted 4 lines
CVE-2020-6096: A signed comparison vulnerability in the ARMv7 memcpy and memmove functions has been fixed. Discovered by Jason Royes and Samual Dytrych of the Cisco Security Assessment and Penetration Team (See TALOS-2020-1019).
These security fixes were already in 2.31.1, E.G. what we are currently using, right?
Indeed, they has been added to glibc 2.32 and backported to stable branches. It's just a copy from the release announcement... we can drop it if you prefer.
Best regards,
Romain
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
Hi,
Quoted 5 lines
Quoted 2 lines
These security fixes were already in 2.31.1, E.G. what we are currently using, right?
Indeed, they has been added to glibc 2.32 and backported to stable branches. It's just a copy from the release announcement... we can drop it if you prefer.
I indeed think it makes sense to drop it, as it doesn't describe the delta from our current version and this one.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
In reply to Romain NaourHello Romain,
Quoted 4 lines · On Fri, 2 Oct 2020 17:59:31 +0200 Romain Naour <[email protected]> wrote:
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
If I read this, and upstream glibc commit 5500cdba4018ddbda7909bc7f4f9718610b43cf0, it's not just the --enable-obsolete-rpc flag that has been removed, but really all the RPC code.
Therefore, with glibc 2.32, this is no longer true:
config BR2_TOOLCHAIN_BUILDROOT_GLIBC
bool "glibc"
[...]
# our glibc.mk enables RPC support
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
So to me, it seems like this needs a bit more work. Could you for example try to build libnfs, with glibc 2.32, and libtirpc disabled ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Hello Thomas,
Sorry for my late reply...
Le 08/10/2020 ? 21:59, Thomas Petazzoni a ?crit?:
Quoted 15 lines
Hello Romain,
Quoted 4 lines · On Fri, 2 Oct 2020 17:59:31 +0200 Romain Naour <[email protected]> wrote:
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
If I read this, and upstream glibc commit
5500cdba4018ddbda7909bc7f4f9718610b43cf0, it's not just the --enable-obsolete-rpc flag that has been removed, but really all the RPC code.
Quoted 7 lines
Therefore, with glibc 2.32, this is no longer true:
config
BR2_TOOLCHAIN_BUILDROOT_GLIBC
bool "glibc"
[...]
# our glibc.mk enables RPC support
selectBR2_TOOLCHAIN_HAS_NATIVE_RPC
Indeed, we need to remove it.
Quoted 3 lines
So to me, it seems like this needs a bit more work. Could you for example try to build libnfs, with glibc 2.32, and libtirpc disabled ?
libnfs already select libtirpc when BR2_TOOLCHAIN_HAS_NATIVE_RPC is not set (musl or uclibc).
So we can't use libnfs without BR2_TOOLCHAIN_HAS_NATIVE_RPC and libtirpc package. Each packages that require RPC seems to do the same.
So, I don't think there is something to do at Buildroot level but we need to do some runtime testing (I hope libnfs is working with uclibc or musl :p ).
Best regards,
Romain
Quoted 5 lines
Thanks,
Thomas
PATCH 2/2 package/glibc: bump to version 2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Hello Thomas,
Le 14/11/2020 ? 16:19, Romain Naour a ?crit?:
Quoted 22 lines
Hello Thomas,
Sorry for my late reply...
Le 08/10/2020 ? 21:59, Thomas Petazzoni a ?crit?:
Quoted 17 lines
Hello Romain,
Quoted 4 lines · On Fri, 2 Oct 2020 17:59:31 +0200 Romain Naour <[email protected]> wrote:
- Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been added. Remove the ARC specific version.
- Remove --enable-obsolete-rpc configure option.
If I read this, and upstream glibc commit
5500cdba4018ddbda7909bc7f4f9718610b43cf0, it's not just the --enable-obsolete-rpc flag that has been removed, but really all the RPC code.Therefore, with glibc 2.32, this is no longer true:
Quoted 7 lines
Quoted 5 lines
config
BR2_TOOLCHAIN_BUILDROOT_GLIBC
bool "glibc"
[...]
# our glibc.mk enables RPC support
selectBR2_TOOLCHAIN_HAS_NATIVE_RPCIndeed, we need to remove it.
I believe the change in the toolchain-external-custom is annoying
config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
bool "Toolchain has RPC support?"
default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
We have to disable BR2_TOOLCHAIN_EXTERNAL_INET_RPC by default for glibc external toolchains.
But currently most glibc toolchains in the wild still use a glibc < 2.32.
Best regards,
Romain
Quoted 21 lines
Quoted 4 lines
So to me, it seems like this needs a bit more work. Could you for example try to build libnfs, with glibc 2.32, and libtirpc disabled ?
libnfs already select libtirpc when
BR2_TOOLCHAIN_HAS_NATIVE_RPCis not set (musl or uclibc).
So we can't use libnfs withoutBR2_TOOLCHAIN_HAS_NATIVE_RPCand libtirpc package. Each packages that require RPC seems to do the same.
So, I don't think there is something to do at Buildroot level but we need to do some runtime testing (I hope libnfs is working with uclibc or musl :p ).Best regards,
RomainQuoted 5 lines
Thanks,
Thomas
PATCH 2/2 package/glibc: bump to version2.32-4-g69beb5cbf85cae1c61fe7432500ac10880dc7b07
Am Sun, 15 Nov 2020 15:49:28 +0100 schrieb Romain Naour:
Quoted 2 lines
But currently most glibc toolchains in the wild still use a glibc < 2.32.
Hi Romain,
with the exception of arc:
https://git.buildroot.net/buildroot/tree/package/glibc/glibc.mk#n17
causing build errors:
http://autobuild.buildroot.net/?reason=lmbench-3.0-a9
Regards, Bernd
PATCH 1/2 package/localedef: bump to glibc-2.31-54
In reply to Romain NaourQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
resync the version with glibc package.
Signed-off-by Romain Naour <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/localedef: bump to glibc-2.31-54
In reply to Romain NaourQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
resync the version with glibc package.
Signed-off-by Romain Naour <[email protected]>
Committed to 2020.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard