* [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le
@ 2026-07-18 8:58 Bernd Kuhls
2026-07-20 20:23 ` Julien Olivain via buildroot
2026-07-31 12:05 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-07-18 8:58 UTC (permalink / raw)
To: buildroot
Fixes:
https://autobuild.buildroot.net/results/40a/40a26d9831667233944e6aabf2388f02a8cf30ac/
https://gitlab.com/buildroot.org/buildroot/-/work_items/79
packet.c: In function 'ssh_packet_log_type':
packet.c:1219:1: sorry, unimplemented: argument 'used' is not supported
for '-fzero-call-used-regs' on this target
Upstream bug report: https://bugzilla.mindrot.org/show_bug.cgi?id=3673
Upstream commit
https://github.com/openssh/openssh-portable/commit/29cf521486bf97ab9de5b9b356f812107e0671bc
which was first released with version 10.1 and was added to buildroot
with commit b52b3fd59dc6c86ef51b6cad5b76017f90c83beb introduced cache
variables to disable zero-call-used-regs when needed.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/3f6778e8438e1e6c172fdc60f1185aab8afb7443
package/openssh/openssh.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 2f3088defe..5575ba4f97 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -36,6 +36,10 @@ define OPENSSH_PERMISSIONS
/var/empty d 755 root root - - - - -
endef
+ifeq ($(BR2_powerpc64le),y)
+OPENSSH_CONF_ENV += ossh_cv_cflag__fzero_call_used_regs_used=no
+endif
+
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_110934),y)
OPENSSH_CONF_OPTS += --without-hardening
endif
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le
2026-07-18 8:58 [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le Bernd Kuhls
@ 2026-07-20 20:23 ` Julien Olivain via buildroot
2026-07-31 12:05 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-07-20 20:23 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On 18/07/2026 10:58, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/40a/40a26d9831667233944e6aabf2388f02a8cf30ac/
> https://gitlab.com/buildroot.org/buildroot/-/work_items/79
>
> packet.c: In function 'ssh_packet_log_type':
> packet.c:1219:1: sorry, unimplemented: argument 'used' is not supported
> for '-fzero-call-used-regs' on this target
>
> Upstream bug report: https://bugzilla.mindrot.org/show_bug.cgi?id=3673
>
> Upstream commit
> https://github.com/openssh/openssh-portable/commit/29cf521486bf97ab9de5b9b356f812107e0671bc
> which was first released with version 10.1 and was added to buildroot
> with commit b52b3fd59dc6c86ef51b6cad5b76017f90c83beb introduced cache
> variables to disable zero-call-used-regs when needed.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le
2026-07-18 8:58 [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le Bernd Kuhls
2026-07-20 20:23 ` Julien Olivain via buildroot
@ 2026-07-31 12:05 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-07-31 12:05 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Thomas Perale, buildroot
In reply of:
> Fixes:
> https://autobuild.buildroot.net/results/40a/40a26d9831667233944e6aabf2388f02a8cf30ac/
> https://gitlab.com/buildroot.org/buildroot/-/work_items/79
>
> packet.c: In function 'ssh_packet_log_type':
> packet.c:1219:1: sorry, unimplemented: argument 'used' is not supported
> for '-fzero-call-used-regs' on this target
>
> Upstream bug report: https://bugzilla.mindrot.org/show_bug.cgi?id=3673
>
> Upstream commit
> https://github.com/openssh/openssh-portable/commit/29cf521486bf97ab9de5b9b356f812107e0671bc
> which was first released with version 10.1 and was added to buildroot
> with commit b52b3fd59dc6c86ef51b6cad5b76017f90c83beb introduced cache
> variables to disable zero-call-used-regs when needed.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x & 2026.05.x. Thanks
> ---
> Gitlab pipelines passed:
> https://gitlab.com/bkuhls/buildroot/-/commits/3f6778e8438e1e6c172fdc60f1185aab8afb7443
>
> package/openssh/openssh.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 2f3088defe..5575ba4f97 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -36,6 +36,10 @@ define OPENSSH_PERMISSIONS
> /var/empty d 755 root root - - - - -
> endef
>
> +ifeq ($(BR2_powerpc64le),y)
> +OPENSSH_CONF_ENV += ossh_cv_cflag__fzero_call_used_regs_used=no
> +endif
> +
> ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_110934),y)
> OPENSSH_CONF_OPTS += --without-hardening
> endif
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-31 12:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18 8:58 [Buildroot] [PATCH 1/1] package/openssh: fix build for powerpc64le Bernd Kuhls
2026-07-20 20:23 ` Julien Olivain via buildroot
2026-07-31 12:05 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox