Mailing List Archive

[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |djm@mindrot.org

--- Comment #1 from Damien Miller <djm@mindrot.org> ---
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?)

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |morbo@google.com

--- Comment #2 from Damien Miller <djm@mindrot.org> ---
+Bill Wendling who looked at the last instance of this AFAIK

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

--- Comment #3 from David Bohman <debohman@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

--- Comment #4 from David Bohman <debohman@gmail.com> ---
Filed bug against clang
https://github.com/llvm/llvm-project/issues/69794.

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker@dtucker.net

--- Comment #5 from Darren Tucker <dtucker@dtucker.net> ---
(In reply to David Bohman from comment #3)
> 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.

does -fzero-call-used-regs=used work? (as opposed to
-fzero-call-used-regs=all)

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3629] Building with Clang-17 fails due to -fzero-call-used-regs [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3629

--- Comment #6 from David Bohman <debohman@gmail.com> ---
(In reply to Darren Tucker from comment #5)
> (In reply to David Bohman from comment #3)
> > 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.
>
> does -fzero-call-used-regs=used work? (as opposed to
> -fzero-call-used-regs=all)

No, I tried that before completely removing -fzero-call-used-regs.

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs