commit:     174f19e7da9273e42144bf59488318850ef095df
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 10:37:31 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 10:37:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174f19e7

sys-libs/glibc: reenable stack protection on mips, bug #640130

mips and mips64 were fixed upstream in https://sourceware.org/PR22624

Bug: https://sourceware.org/PR22624
Closes: https://bugs.gentoo.org/640130
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-libs/glibc/glibc-2.26-r5.ebuild | 5 -----
 sys-libs/glibc/glibc-9999.ebuild    | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.26-r5.ebuild 
b/sys-libs/glibc/glibc-2.26-r5.ebuild
index 4eb6b34679f..ca34027cda7 100644
--- a/sys-libs/glibc/glibc-2.26-r5.ebuild
+++ b/sys-libs/glibc/glibc-2.26-r5.ebuild
@@ -323,11 +323,6 @@ glibc_do_configure() {
        popd > /dev/null
 
        case ${CTARGET} in
-               mips*)
-                       # dlopen() detects stack smash on mips n32 ABI.
-                       # Cause is unknown: https://bugs.gentoo.org/640130
-                       myconf+=( --enable-stack-protector=no )
-                       ;;
                powerpc-*)
                        # Currently gcc on powerpc32 generates invalid code for
                        # __builtin_return_address(0) calls. Normally programs

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 4e1724bb599..cb0e4cb1111 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -813,11 +813,6 @@ glibc_do_configure() {
        local myconf=()
 
        case ${CTARGET} in
-               mips*)
-                       # dlopen() detects stack smash on mips n32 ABI.
-                       # Cause is unknown: https://bugs.gentoo.org/640130
-                       myconf+=( --enable-stack-protector=no )
-                       ;;
                powerpc-*)
                        # Currently gcc on powerpc32 generates invalid code for
                        # __builtin_return_address(0) calls. Normally programs

Reply via email to