commit: 0a8dffa398fcbd459916ca331da9cb713372616a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 12 20:28:33 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Sep 12 20:28:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8dffa3
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 <sam <AT> gentoo.org> .../openssh/{openssh-9.0_p1-r3.ebuild => openssh-9.0_p1-r4.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) 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 fb65bd3d8b54..4f44fcf80e97 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[@]}" }