linux-next: build warnings after merge of the powerpc-fixes tree

Stephen Rothwell sfr at canb.auug.org.au
Tue Apr 22 11:47:20 AEST 2025


Hi all,

After merging the powerpc-fixes tree, today's linux-next build
(powerpc_ppc64_defconfig) produced these warnings:

arch/powerpc/boot/wrapper: 237: [: 0: unexpected operator
ld: warning: arch/powerpc/boot/zImage.epapr has a LOAD segment with RWX permissions
arch/powerpc/boot/wrapper: 237: [: 0: unexpected operator
ld: warning: arch/powerpc/boot/zImage.pseries has a LOAD segment with RWX permissions
arch/powerpc/boot/wrapper: 237: [: 0: unexpected operator
ld: warning: arch/powerpc/boot/zImage.pmac has a LOAD segment with RWX permissions
arch/powerpc/boot/wrapper: 237: [: 0: unexpected operator
ld: warning: arch/powerpc/boot/dtbImage.ps3 has a LOAD segment with RWX permissions

Introduced by commit

  b2accfe7ca5b ("powerpc/boot: Check for ld-option support")

POSIX shell (in particular dash) does not recognise "&>" - you need to
use ">/dev/null 2>&1".  (My /bin/sh is /bin/dash)

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20250422/81638b23/attachment.sig>


More information about the Linuxppc-dev mailing list