summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh
diff options
context:
space:
mode:
authorWilliam Lyu <William.Lyu@windriver.com>2024-03-06 11:56:58 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-08 08:06:16 +0000
commitb5624ee5643d881afa004571a096a189ab5389b5 (patch)
tree13c66c7907cb9a90caf692da7a4f51de5aadff69 /meta/recipes-connectivity/openssh
parent125771c16f908a3ce186aab869dc967dfb26a801 (diff)
downloadpoky-b5624ee5643d881afa004571a096a189ab5389b5.tar.gz
openssh: Add a workaround for ICE on powerpc64le5.0_M3
Fixes [YOCTO #15415] The new openssh version has an ICE on powerpc64le similar to the one on mips/mips64[1]. By adding flag "--without-hardening" to "./configure", compiler option "-fzero-call-used-regs" will be removed when compiling. This prevents certain functions from triggering the following ICE: unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target References [1] https://git.openembedded.org/openembedded-core/commit/?id=5b290566519a87c563945a033cb49863317ad63d (From OE-Core rev: bc793fa9d1fe24c102d91e97b7002b6e637cbfa5) Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh')
-rw-r--r--meta/recipes-connectivity/openssh/openssh_9.6p1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index 1fd36a266f..edd8e8c2d1 100644
--- a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb
@@ -85,6 +85,9 @@ EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog"
85EXTRA_OECONF:append:mips = " --without-hardening" 85EXTRA_OECONF:append:mips = " --without-hardening"
86EXTRA_OECONF:append:mips64 = " --without-hardening" 86EXTRA_OECONF:append:mips64 = " --without-hardening"
87 87
88# Work around ICE on powerpc64le starting in 9.6p1
89EXTRA_OECONF:append:powerpc64le = " --without-hardening"
90
88# Since we do not depend on libbsd, we do not want configure to use it 91# Since we do not depend on libbsd, we do not want configure to use it
89# just because it finds libutil.h. But, specifying --disable-libutil 92# just because it finds libutil.h. But, specifying --disable-libutil
90# causes compile errors, so... 93# causes compile errors, so...