sys-libs/glibc: reenable stack protection on mips, bug #640130
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 21 Jan 2018 10:37:31 +0000 (10:37 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 21 Jan 2018 10:37:31 +0000 (10:37 +0000)
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
sys-libs/glibc/glibc-9999.ebuild

index 4eb6b34679f58e6e7119f8966a83d28cf666d011..ca34027cda76df846dc081360d49c6f2d877dbd5 100644 (file)
@@ -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
index 4e1724bb5992322f3891c674112c5f2743b346bc..cb0e4cb11119b53f590caa10451f0cf2fe8bc4c7 100644 (file)
@@ -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