linux-next: build failure after merge of the kbuild tree
Subsystems (2)
Hi all,
After merging the kbuild tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
ld: vmlinux.a: member arch/powerpc/kernel/prom_init_check in archive is not an object make[2]: *** [scripts/Makefile.vmlinux_o:61: vmlinux.o] Error 1 make[1]: *** [Makefile:1166: vmlinux.o] Error 2
make: *** [Makefile:222: __sub-make] Error 2
Command exited with non-zero status 2
I don't know what caused this.
I have used the kbuild tree from next-20220907 with the top 4 commits reverted again.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 12 lines · Stephen Rothwell
Hi all,
After merging the kbuild tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:ld: vmlinux.a: member
arch/powerpc/kernel/prom_init_checkin archive is not an object make[2]: *** [scripts/Makefile.vmlinux_o:61: vmlinux.o] Error 1 make[1]: *** [Makefile:1166: vmlinux.o] Error 2
make: *** [Makefile:222: __sub-make] Error 2
Command exited with non-zero status 2
Quoted 8 lines
I don't know what caused this.
I have used the kbuild tree from next-20220907 with the top 4 commits reverted again.
--
Cheers,
Stephen Rothwell
Sorry, it was a mis-conversion.
I will fix it up as follows:
arch/powerpc/kernel/Makefile +1 -1
@@ -203,7 +203,7 @@ obj-$(CONFIG_ALTIVEC) += vector.o obj-$(CONFIG_PPC64) += entry_64.o obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o -obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check +extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check quiet_cmd_prom_init_check = PROMCHK $@ cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)"
$(obj)/prom_init.o; touch $@
Signature · 2 lines
Best Regards Masahiro Yamada