From 0a8dffa398fcbd459916ca331da9cb713372616a Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 12 Sep 2022 21:28:33 +0100 Subject: [PATCH] net-misc/openssh: work around Clang 15 miscompilation with -fzero-call-used-regs=all Bug: https://github.com/llvm/llvm-project/issues/57692 Bug: https://bugs.gentoo.org/869839 Signed-off-by: Sam James --- .../{openssh-9.0_p1-r3.ebuild => openssh-9.0_p1-r4.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) rename net-misc/openssh/{openssh-9.0_p1-r3.ebuild => openssh-9.0_p1-r4.ebuild} (98%) diff --git a/net-misc/openssh/openssh-9.0_p1-r3.ebuild b/net-misc/openssh/openssh-9.0_p1-r4.ebuild similarity index 98% rename from net-misc/openssh/openssh-9.0_p1-r3.ebuild rename to net-misc/openssh/openssh-9.0_p1-r4.ebuild index fb65bd3d8b54f..4f44fcf80e976 100644 --- a/net-misc/openssh/openssh-9.0_p1-r3.ebuild +++ b/net-misc/openssh/openssh-9.0_p1-r4.ebuild @@ -326,6 +326,10 @@ src_configure() { myconf+=( --disable-utmp --disable-wtmp ) fi + # Workaround for Clang 15 miscompilation with -fzero-call-used-regs=all + # bug #869839 (https://github.com/llvm/llvm-project/issues/57692) + tc-is-clang && myconf+=( --without-hardening ) + econf "${myconf[@]}" }