From 844b4d8b4b937fe6943d2c0c80ce7d871cdb1eb5 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Tue, 15 Dec 2020 15:18:03 +0100 Subject: s390x: Require GCC 7.1 or later to build glibc. GCC 6.5 fails to correctly build ldconfig with recent ld.so.cache commits, e.g.: 785969a047ad2f23f758901c6816422573544453 elf: Implement a string table for ldconfig, with tail merging If glibc is build with gcc 6.5.0: __builtin_add_overflow is used in /elf/stringtable.c:stringtable_finalize() which leads to ldconfig failing with "String table is too large". This is also recognizable in following tests: FAIL: elf/tst-glibc-hwcaps-cache FAIL: elf/tst-glibc-hwcaps-prepend-cache FAIL: elf/tst-ldconfig-X FAIL: elf/tst-ldconfig-bad-aux-cache FAIL: elf/tst-ldconfig-ld_so_conf-update FAIL: elf/tst-stringtable See gcc "Bug 98269 - gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow" (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269) --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0820984547..86e05fb023 100644 --- a/NEWS +++ b/NEWS @@ -67,6 +67,8 @@ Changes to build and runtime requirements: (and pseudo-terminals are supported), a devpts file system is mounted on /dev/pts. Current systems already meet these requirements. +* s390x requires GCC 7.1 or newer. See gcc Bug 98269. + Security related changes: CVE-2020-27618: An infinite loop has been fixed in the iconv program when -- cgit 1.4.1