* [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM
@ 2022-03-09 9:58 bugzilla
2022-03-09 21:44 ` [Buildroot] [Bug 14651] " bugzilla
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2022-03-09 9:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14651
Bug ID: 14651
Summary: OpenSSH 8.9p1 compiler error under ARM
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: mf@go-sys.de
CC: buildroot@uclibc.org
Target Milestone: ---
9-March-2022 from git master
ARM little endian
gcc-11.2
kernel aspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64
compiling error openssh 8.9.p1
-fzero-call-used-regs is not supported on this target
ssherr.c: In Funktion »ssh_err«:
ssherr.c:151:1: nicht implementiert: »-fzero-call-used-regs« wird auf diesem
Ziel nicht unterstützt
151 | }
| ^
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 14651] OpenSSH 8.9p1 compiler error under ARM 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla @ 2022-03-09 21:44 ` bugzilla 2022-03-10 9:19 ` bugzilla ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bugzilla @ 2022-03-09 21:44 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=14651 --- Comment #1 from Peter Seiderer <ps.report@gmx.net> --- (In reply to mf from comment #0) - from build/openssh-8.9p1/ChangeLog: 2692 commit 39f2111b1d5f00206446257377dcce58cc72369f 2693 Author: Darren Tucker <dtucker@dtucker.net> 2694 Date: Wed Sep 29 10:53:55 2021 +1000 2695 2696 Add new compiler hardening flags. 2697 2698 Add -fzero-call-used-regs and -ftrivial-auto-var-init to the list of 2699 compiler hardening flags that configure checks for. These are support ed 2700 by clang and gcc, and make ROP gadgets less useful and mitigate 2701 stack-based infoleaks respectively. ok djm@ - from openssh-8.9p1/configure.ac: 195 OSSH_CHECK_CFLAG_COMPILE([-fzero-call-used-regs=all]) - from build/openssh-8.9p1/config.log: 716 configure:6832: checking if .../host/bin/arm-buildroot-linux-gnueabihf-gcc supports compile flag -fzero-call-used-regs=all 717 configure:6865: .../hos t/bin/arm-buildroot-linux-gnueabihf-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFIL E64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wno- error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsi gn-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -Wmisleadi ng-indentation -fno-strict-aliasing -ftrapv -Werror -fzero-call-used-regs= all -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conft est.c >&5 718 arm-buildroot-linux-gnueabihf-gcc.br_real: error: unrecognized command-lin e option '-fzero-call-used-regs=all' [...] 766 configure:6878: result: no So 'zero-call-used-regs' not supported (gcc-10.3, raspberrypi0w_defconfig) is detected correctly here... Same test with gcc-11.2, from build/openssh-8.9p1/config.log: configure:6832: checking if .../host/bin/arm-buildroot-linux-gnueabihf-gcc supports compile flag -fzero-call-used-regs=all configure:6865: .../host/bin/arm-buildroot-linux-gnueabihf-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -ftrapv -Werror -fzero-call-used-regs=all -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6865: $? = 0 configure:6873: result: yes Which compiler do you use? For which target do you compile? Can you provide a failing .config/defconfig file? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14651] OpenSSH 8.9p1 compiler error under ARM 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla 2022-03-09 21:44 ` [Buildroot] [Bug 14651] " bugzilla @ 2022-03-10 9:19 ` bugzilla 2022-03-10 9:22 ` bugzilla ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: bugzilla @ 2022-03-10 9:19 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=14651 --- Comment #2 from mf@go-sys.de --- Created attachment 9236 --> https://bugs.busybox.net/attachment.cgi?id=9236&action=edit Buildroot config file Sample buildroot config file. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14651] OpenSSH 8.9p1 compiler error under ARM 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla 2022-03-09 21:44 ` [Buildroot] [Bug 14651] " bugzilla 2022-03-10 9:19 ` bugzilla @ 2022-03-10 9:22 ` bugzilla 2022-03-10 20:23 ` bugzilla 2022-03-19 21:50 ` bugzilla 4 siblings, 0 replies; 6+ messages in thread From: bugzilla @ 2022-03-10 9:22 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=14651 --- Comment #3 from mf@go-sys.de --- Created attachment 9241 --> https://bugs.busybox.net/attachment.cgi?id=9241&action=edit openssh-8.9p1 config.log -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14651] OpenSSH 8.9p1 compiler error under ARM 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla ` (2 preceding siblings ...) 2022-03-10 9:22 ` bugzilla @ 2022-03-10 20:23 ` bugzilla 2022-03-19 21:50 ` bugzilla 4 siblings, 0 replies; 6+ messages in thread From: bugzilla @ 2022-03-10 20:23 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=14651 --- Comment #4 from Peter Seiderer <ps.report@gmx.net> --- Suggested buildroot patch [1] should fix the problem, thanks for reporting the problem and providing the config file! [1] https://patchwork.ozlabs.org/project/buildroot/patch/20220310202126.8379-1-ps.report@gmx.net/ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14651] OpenSSH 8.9p1 compiler error under ARM 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla ` (3 preceding siblings ...) 2022-03-10 20:23 ` bugzilla @ 2022-03-19 21:50 ` bugzilla 4 siblings, 0 replies; 6+ messages in thread From: bugzilla @ 2022-03-19 21:50 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=14651 Peter Korsgaard <jacmet@uclibc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-03-19 21:50 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-03-09 9:58 [Buildroot] [Bug 14651] New: OpenSSH 8.9p1 compiler error under ARM bugzilla 2022-03-09 21:44 ` [Buildroot] [Bug 14651] " bugzilla 2022-03-10 9:19 ` bugzilla 2022-03-10 9:22 ` bugzilla 2022-03-10 20:23 ` bugzilla 2022-03-19 21:50 ` bugzilla
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox