From: Sergei Trofimovich Date: Sun, 21 Jan 2018 10:37:31 +0000 (+0000) Subject: sys-libs/glibc: reenable stack protection on mips, bug #640130 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=174f19e7da9273e42144bf59488318850ef095df;p=gentoo.git 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 --- diff --git a/sys-libs/glibc/glibc-2.26-r5.ebuild b/sys-libs/glibc/glibc-2.26-r5.ebuild index 4eb6b34679f5..ca34027cda76 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 4e1724bb5992..cb0e4cb11119 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