summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-13 00:27:13 +0100
committerSam James <sam@gentoo.org>2024-06-13 00:27:30 +0100
commit1503e65c800f54cadb6c2503ce839d1dbcf3ceef (patch)
tree8399a4ba21def9a96fe840cee6087e784156d1e2 /sys-libs
parentdev-libs/tree-sitter-css: drop myself as a maintainer (diff)
downloadgentoo-1503e65c800f54cadb6c2503ce839d1dbcf3ceef.tar.gz
gentoo-1503e65c800f54cadb6c2503ce839d1dbcf3ceef.tar.bz2
gentoo-1503e65c800f54cadb6c2503ce839d1dbcf3ceef.zip
sys-libs/glibc: drop old AVX512 workaround
Bug: https://bugs.gentoo.org/823780 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.39-r9.ebuild10
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild10
2 files changed, 0 insertions, 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)