[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Oct 20 10:41:25 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3629

--- Comment #3 from David Bohman <debohman at gmail.com> ---
(In reply to Damien Miller from comment #1)
> That looks like a compiler ICE. Please file a bug with the
> clang/llvm project - I'm sure they would like to know that their
> compiler is crashing.
> 
> Could you try editing the Makefile and changing
> -fzero-call-used-regs=all to -fzero-call-used-regs=used and see if
> that helper?
> 
> (maybe, having been burned by this before twice, we should make this
> the default for this option?)

Yes, I tried using the fix for Clang-15, but the problem persisted. I
modified the configure.ac to not use -fzero-call-used-regs at all for
Clang-17, and the project built successfully.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list