commit:     85e4daddaa23c9e06541da69d51bec9bd58f7608
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 10:06:45 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 10:19:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e4dadd

sys-libs/glibc: reenable stack protection on powerpc-*

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 11c976c8473..ef9ad2c0051 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -839,14 +839,6 @@ glibc_do_configure() {
                        # https://sourceware.org/PR24202
                        myconf+=( --enable-stack-protector=no )
                        ;;
-               powerpc-*)
-                       # Currently gcc on powerpc32 generates invalid code for
-                       # __builtin_return_address(0) calls. Normally programs
-                       # don't do that but malloc hooks in glibc do:
-                       # https://gcc.gnu.org/PR81996
-                       # https://bugs.gentoo.org/629054
-                       myconf+=( --enable-stack-protector=no )
-                       ;;
                *)
                        # Use '=strong' instead of '=all' to protect only 
functions
                        # worth protecting from stack smashes.

Reply via email to