Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/
Date: Sat, 27 Nov 2021 23:47:40
Message-Id: 1638056847.89a6a8647d74612648f0502baa27660008cc256c.sam@gentoo
1 commit: 89a6a8647d74612648f0502baa27660008cc256c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 27 23:47:10 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 27 23:47:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a6a864
7
8 sys-libs/glibc: don't apply GCC 11 AVX512 workaround to upcoming patch release
9
10 Bug: https://bugs.gentoo.org/823780
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-libs/glibc/glibc-2.34-r2.ebuild | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/sys-libs/glibc/glibc-2.34-r2.ebuild b/sys-libs/glibc/glibc-2.34-r2.ebuild
17 index 00c85cf62a55..04479ab604b7 100644
18 --- a/sys-libs/glibc/glibc-2.34-r2.ebuild
19 +++ b/sys-libs/glibc/glibc-2.34-r2.ebuild
20 @@ -330,9 +330,9 @@ setup_target_flags() {
21 # Workaround for https://bugs.gentoo.org/823780. This really should
22 # be removed when the upstream bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275
23 # is fixed in our tree, either via 11.3 or an 11.2p2 patch set.
24 - if [[ ${ABI} == x86 ]] && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) < 3)); then
25 + if [[ ${ABI} == x86 ]] && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)); then
26 export CFLAGS_x86="${CFLAGS_x86} -mno-avx512f"
27 - einfo "Auto adding -mno-avx512f to CFLAGS_x86 #823780 (ABI=${ABI})"
28 + einfo "Auto adding -mno-avx512f to CFLAGS_x86 (bug #823780) (ABI=${ABI})"
29 fi
30 ;;
31 mips)