From: Anthony G. Basile Date: Thu, 28 Jun 2018 20:00:21 +0000 (-0400) Subject: net-misc/openssh: stackprotector is broken on musl x86 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b28378fc2358c24785f41fdf92c00d617998ea3d;p=gentoo.git net-misc/openssh: stackprotector is broken on musl x86 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/net-misc/openssh/openssh-7.7_p1-r102.ebuild b/net-misc/openssh/openssh-7.7_p1-r102.ebuild index c4747a2597ee..83b9dd347119 100644 --- a/net-misc/openssh/openssh-7.7_p1-r102.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r102.ebuild @@ -293,6 +293,9 @@ src_configure() { $(use_with ssl ssl-engine) ) + # stackprotect is broken on musl x86 + use elibc_musl && use x86 && myconf+=( --without-stackprotect ) + # The seccomp sandbox is broken on x32, so use the older method for now. #553748 use amd64 && [[ ${ABI} == "x32" ]] && myconf+=( --with-sandbox=rlimit ) diff --git a/net-misc/openssh/openssh-7.7_p1-r6.ebuild b/net-misc/openssh/openssh-7.7_p1-r6.ebuild index e84b7d126a32..2d068fd5c8e6 100644 --- a/net-misc/openssh/openssh-7.7_p1-r6.ebuild +++ b/net-misc/openssh/openssh-7.7_p1-r6.ebuild @@ -293,6 +293,9 @@ src_configure() { $(use_with ssl ssl-engine) ) + # stackprotect is broken on musl x86 + use elibc_musl && use x86 && myconf+=( --without-stackprotect ) + # The seccomp sandbox is broken on x32, so use the older method for now. #553748 use amd64 && [[ ${ABI} == "x32" ]] && myconf+=( --with-sandbox=rlimit )