bugzilla-daemon at mindrot.org
2024-Apr-23 04:22 UTC
[Bug 3682] New: incorrectly thinks that -fzero-call-used-regs should work
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.
bugzilla-daemon at mindrot.org
2024-Apr-23 04:22 UTC
[Bug 3682] incorrectly thinks that -fzero-call-used-regs should work
https://bugzilla.mindrot.org/show_bug.cgi?id=3682
Tadhg McDonald-Jensen <tadhgmister at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tadhgmister at gmail.com
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2024-Apr-23 04:44 UTC
[Bug 3682] incorrectly thinks that -fzero-call-used-regs should work
https://bugzilla.mindrot.org/show_bug.cgi?id=3682
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Which distro and compiler version are you using?
--
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.
bugzilla-daemon at mindrot.org
2024-Apr-23 04:54 UTC
[Bug 3682] incorrectly thinks that -fzero-call-used-regs should work
https://bugzilla.mindrot.org/show_bug.cgi?id=3682 --- Comment #2 from Tadhg McDonald-Jensen <tadhgmister at gmail.com> --- arm-linux-gnueabihf-gcc (GCC) 11.3.0 I'm using GNU guix, if you are on another distro you can use the script from here to get the guix command: https://guix.gnu.org/manual/en/html_node/Installation.html> guix build -K --target=arm-linux-gnueabihf openssh > cd /tmp/guix-build-openssh-9.7p1.drv-0 > guix shell -D openssh > source ./environment-variables > cd openssh-9.7p1/ > make channels.oThe `guix build` reproduces the error, the rest of the commands go to the failed build directory (which is saved by the -K argument, the `0` at the end is auto-incremented if building multiple times) and reproduce the error in a development friendly environment. -- 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.
Maybe Matching Threads
- [Bug 3673] New: -fzero-call-used-regs=used detection fails on Linux m68k with GCC 13
- [Bug 3645] New: -fzero-call-used-regs=used detection seems to fail on Linux ppc64el
- [Bug 3629] New: Building with Clang-17 fails due to -fzero-call-used-regs
- Test failure on ARM: backtrace_append
- 9.3p1 Daemon Rejects Client Connections on armv7l-dey-linux-gnueabihf w/ GCC 10/11/12