commit: 1503e65c800f54cadb6c2503ce839d1dbcf3ceef Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Jun 12 23:27:13 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jun 12 23:27:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1503e65c
sys-libs/glibc: drop old AVX512 workaround Bug: https://bugs.gentoo.org/823780 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/glibc/glibc-2.39-r9.ebuild | 10 ---------- sys-libs/glibc/glibc-9999.ebuild | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/sys-libs/glibc/glibc-2.39-r9.ebuild b/sys-libs/glibc/glibc-2.39-r9.ebuild index 8430074007f7..de63f7d4c8f8 100644 --- a/sys-libs/glibc/glibc-2.39-r9.ebuild +++ b/sys-libs/glibc/glibc-2.39-r9.ebuild @@ -366,16 +366,6 @@ setup_target_flags() { fi # For compatibility with older binaries at slight performance cost. use stack-realign && export CFLAGS_x86+=" -mstackrealign" - - # Workaround for bug #823780. - # Need to save/restore CC because earlier on, we stuff it full of CFLAGS, and tc-getCPP doesn't like that. - CC_mangled=${CC} - CC=${glibc__GLIBC_CC} - if tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then - export CFLAGS_x86="${CFLAGS_x86} -mno-avx512f" - einfo "Auto adding -mno-avx512f to CFLAGS_x86 for buggy GCC version (bug #823780) (ABI=${ABI})" - fi - CC=${CC_mangled} fi ;; mips) diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 0cbc0a06f45e..c7e9b1d0e94a 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -366,16 +366,6 @@ setup_target_flags() { fi # For compatibility with older binaries at slight performance cost. use stack-realign && export CFLAGS_x86+=" -mstackrealign" - - # Workaround for bug #823780. - # Need to save/restore CC because earlier on, we stuff it full of CFLAGS, and tc-getCPP doesn't like that. - CC_mangled=${CC} - CC=${glibc__GLIBC_CC} - if tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)) ; then - export CFLAGS_x86="${CFLAGS_x86} -mno-avx512f" - einfo "Auto adding -mno-avx512f to CFLAGS_x86 for buggy GCC version (bug #823780) (ABI=${ABI})" - fi - CC=${CC_mangled} fi ;; mips)
