commit:     81b4106ebd12af6e3fc6ec488c6dd8d07a2344d3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 10:45:19 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 10:47:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b4106e

sys-libs/glibc: revert "disable multiarch on ppc32"

Disabling multiarch is not enough as static -mcpu=
selection will still attempt to close best fit
implementation (as opposed to refault C-based
implementation). And these still don't work.

This reverts commit 3e3d3f661fa3df6911db31e7496951aa23497389.

Bug: https://bugs.gentoo.org/737996
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/glibc/glibc-2.31-r6.ebuild | 5 -----
 sys-libs/glibc/glibc-2.32.ebuild    | 5 -----
 sys-libs/glibc/glibc-9999.ebuild    | 5 -----
 3 files changed, 15 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.31-r6.ebuild 
b/sys-libs/glibc/glibc-2.31-r6.ebuild
index 73a26abf452..c010b578953 100644
--- a/sys-libs/glibc/glibc-2.31-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.31-r6.ebuild
@@ -420,11 +420,6 @@ want__thread() {
 use_multiarch() {
        # Allow user to disable runtime arch detection in multilib.
        use multiarch || return 1
-       # multiarch does not work on ppc with cache-block not equal to 128 bytes
-       # and breaks memset:
-       # https://sourceware.org/PR26522
-       # https://bugs.gentoo.org/737996
-       [[ $(tc-arch ${CTARGET}) == ppc ]] && return 1
        # Make sure binutils is new enough to support indirect functions,
        # #336792. This funky sed supports gold and bfd linkers.
        local bver nver

diff --git a/sys-libs/glibc/glibc-2.32.ebuild b/sys-libs/glibc/glibc-2.32.ebuild
index a53946fa562..2a750041ae4 100644
--- a/sys-libs/glibc/glibc-2.32.ebuild
+++ b/sys-libs/glibc/glibc-2.32.ebuild
@@ -420,11 +420,6 @@ want__thread() {
 use_multiarch() {
        # Allow user to disable runtime arch detection in multilib.
        use multiarch || return 1
-       # multiarch does not work on ppc with cache-block not equal to 128 bytes
-       # and breaks memset:
-       # https://sourceware.org/PR26522
-       # https://bugs.gentoo.org/737996
-       [[ $(tc-arch ${CTARGET}) == ppc ]] && return 1
        # Make sure binutils is new enough to support indirect functions,
        # #336792. This funky sed supports gold and bfd linkers.
        local bver nver

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 8430fbb242d..ef9ad2c0051 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -421,11 +421,6 @@ want__thread() {
 use_multiarch() {
        # Allow user to disable runtime arch detection in multilib.
        use multiarch || return 1
-       # multiarch does not work on ppc with cache-block not equal to 128 bytes
-       # and breaks memset:
-       # https://sourceware.org/PR26522
-       # https://bugs.gentoo.org/737996
-       [[ $(tc-arch ${CTARGET}) == ppc ]] && return 1
        # Make sure binutils is new enough to support indirect functions,
        # #336792. This funky sed supports gold and bfd linkers.
        local bver nver

Reply via email to