[Bug 3629] New: 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:24:52 AEDT 2023


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

            Bug ID: 3629
           Summary: Building with Clang-17 fails due to
                    -fzero-call-used-regs
           Product: Portable OpenSSH
           Version: 9.5p1
          Hardware: amd64
                OS: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: debohman at gmail.com

I am using the public LLVM / Clang 17 release as my toolchain. I
noticed https://bugzilla.mindrot.org/show_bug.cgi?id=3475, where there
was a problem with the use of -fzero-call-used-regs, which was worked
around for Clang 15 and the Apple Clang.

This problem is with Clang 17, and to resolve it, I had to completely
remove the usage of -fzero-call-used-regs.

The issue occurs when compiling ssh-ecdsa-sk.c. It results in:

cc: error: clang frontend command failed with exit code 139

clang version 17.0.2
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /usr/local/bin

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list