linux-next: build failure after merge of the kbuild tree
From: Stephen Rothwell
Date: Wed Sep 07 2022 - 08:35:07 EST
Hi all,
After merging the kbuild tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:
/home/sfr/next/next/scripts/mkuboot.sh: line 23: 153700 Bus error ${MKIMAGE} "$@"
Caused by commit
c4a7f46f7105 ("kbuild: build init/built-in.a just once")
Reverting that commit (and the following ones) fixes the problem. It
looks like UIMAGE_NAME gets corrupted in scripts/Makefile.lib as the
arguments to mkuboot.sh change from
A ppc -O linux -T kernel -C gzip -a 0x00700000 -e 0x007015a4 -n Linux-6.0.0-rc4 -d arch/powerpc/boot/cuImage.sam440ep.gz arch/powerpc/boot/cuImage.sam440ep
to
-A ppc -O linux -T kernel -C gzip -a 0x00700000 -e 0x007015a4 -n Linux-6.0.0-rc4 6.0.0-rc4 -d arch/powerpc/boot/cuImage.sam440ep.gz arch/powerpc/boot/cuImage.sam440ep
(note the extra "6.0.0-rc4") when the above commit is present.
So I have reverted commit c4a7f46f7105 and all the following commits in
the kbuild tree for today.
I had to do the above build with -j40 to make it consistently fail.
--
Cheers,
Stephen Rothwell
Attachment:
pgpulwlKSsoW3.pgp
Description: OpenPGP digital signature