[Bug 3682] New: incorrectly thinks that -fzero-call-used-regs should work

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 23 14:22:03 AEST 2024


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

            Bug ID: 3682
           Summary: incorrectly thinks that -fzero-call-used-regs should
                    work
           Product: Portable OpenSSH
           Version: 9.7p1
          Hardware: ARM
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: tadhgmister at gmail.com

When I run `./configure --host=arm-linux-gnueabihf` it gives this
indication in the output:

> checking if gcc supports compile flag -fzero-call-used-regs=used and linking succeeds... yes 

However when I then run `make channels.o` it fails saying this. (same
with sshkey.o and a few others)

> channels.c: In function ‘channel_connect_ctx_free’:
> channels.c:4666:1: sorry, unimplemented: ‘-fzero-call-used-regs’ not supported on this target

I suspect this is an issue with the current test script, most of the
files compile fine.  But as is I am unable to compile openssh for arm
systems without manually removing that flag. (or check from the
configure script)

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


More information about the openssh-bugs mailing list