commit:     d99ab81692f0f04aa1421087c970ffd360163962
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 18 16:58:28 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 18 16:58:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d99ab816

sys-libs/glibc: drop -fcommon on ia64 (fixed in code)

Glibc patchset now contains 0100-Fix-miscompilation-on-ia64-s-gcc-10.patch
to workaround invalid relocation on ia64.

Bug: https://bugs.gentoo.org/723268
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/glibc/glibc-2.31-r6.ebuild | 6 ------
 sys-libs/glibc/glibc-9999.ebuild    | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.31-r6.ebuild 
b/sys-libs/glibc/glibc-2.31-r6.ebuild
index 184a4789036..e4afc3b424e 100644
--- a/sys-libs/glibc/glibc-2.31-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.31-r6.ebuild
@@ -297,12 +297,6 @@ setup_target_flags() {
                                einfo "Auto adding -march=${t} to CFLAGS_x86 
#185404 (ABI=${ABI})"
                        fi
                ;;
-               ia64)
-                       # Workaround GPREL22 overflow by slightly pessimizing 
global
-                       # references to go via 64-bit relocations instead of 
22-bit ones.
-                       # This allows building glibc on ia64 without an 
overflow: #723268
-                       append-flags -fcommon
-               ;;
                mips)
                        # The mips abi cannot support the GNU style hashes. 
#233233
                        filter-ldflags -Wl,--hash-style=gnu 
-Wl,--hash-style=both

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index ca5f697b063..df9c8b6a44d 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -298,12 +298,6 @@ setup_target_flags() {
                                einfo "Auto adding -march=${t} to CFLAGS_x86 
#185404 (ABI=${ABI})"
                        fi
                ;;
-               ia64)
-                       # Workaround GPREL22 overflow by slightly pessimizing 
global
-                       # references to go via 64-bit relocations instead of 
22-bit ones.
-                       # This allows building glibc on ia64 without an 
overflow: #723268
-                       append-flags -fcommon
-               ;;
                mips)
                        # The mips abi cannot support the GNU style hashes. 
#233233
                        filter-ldflags -Wl,--hash-style=gnu 
-Wl,--hash-style=both

Reply via email to