1 |
commit: 0a8dffa398fcbd459916ca331da9cb713372616a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 12 20:28:33 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 12 20:28:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8dffa3 |
7 |
|
8 |
net-misc/openssh: work around Clang 15 miscompilation with -fzero-call-used-regs=all |
9 |
|
10 |
Bug: https://github.com/llvm/llvm-project/issues/57692 |
11 |
Bug: https://bugs.gentoo.org/869839 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../openssh/{openssh-9.0_p1-r3.ebuild => openssh-9.0_p1-r4.ebuild} | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/openssh/openssh-9.0_p1-r3.ebuild b/net-misc/openssh/openssh-9.0_p1-r4.ebuild |
18 |
similarity index 98% |
19 |
rename from net-misc/openssh/openssh-9.0_p1-r3.ebuild |
20 |
rename to net-misc/openssh/openssh-9.0_p1-r4.ebuild |
21 |
index fb65bd3d8b54..4f44fcf80e97 100644 |
22 |
--- a/net-misc/openssh/openssh-9.0_p1-r3.ebuild |
23 |
+++ b/net-misc/openssh/openssh-9.0_p1-r4.ebuild |
24 |
@@ -326,6 +326,10 @@ src_configure() { |
25 |
myconf+=( --disable-utmp --disable-wtmp ) |
26 |
fi |
27 |
|
28 |
+ # Workaround for Clang 15 miscompilation with -fzero-call-used-regs=all |
29 |
+ # bug #869839 (https://github.com/llvm/llvm-project/issues/57692) |
30 |
+ tc-is-clang && myconf+=( --without-hardening ) |
31 |
+ |
32 |
econf "${myconf[@]}" |
33 |
} |