package/glibc: bump to version 2.30

With Glibc 2.30, GCC 6.2 or later is required to build the GNU C
Library. Disable Glibc for GCC 5.x.

CVE-2019-7309, CVE-2019-9169.

See:
https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html

Tested with toolchain-builder:
https://gitlab.com/kubu93/toolchains-builder/pipelines/76423684

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour
2019-08-16 17:07:52 +02:00
committed by Thomas Petazzoni
parent ae40f383c6
commit a7914499b8
3 changed files with 4 additions and 4 deletions

View File

@@ -36,8 +36,8 @@ config BR2_GCC_VERSION_5_X
# musl on ppc64 and mips64 unsupported
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
# glibc >= 2.26 needs gcc >= 6.2
depends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_powerpc64le)
# glibc >= 2.30 needs gcc >= 6.2 on all architectures.
depends on !BR2_TOOLCHAIN_USES_GLIBC
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
config BR2_GCC_VERSION_7_X