Skip to contentSkip to conversation

linux-next: build failure after merge of the powerpc tree

DISCUSSION Stephen Rothwell 3 participants 5 messages Sep 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this:

make[3]: *** No rule to make target 'arch/powerpc/boot/treeImage.ebony', needed by 'arch/powerpc/boot/zImage'. Stop. make[2]: *** [/home/sfr/next/next/arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/sfr/next/next/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

It is not obvious to me what change caused this, so I have just left the build broken for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Le 09/09/2024 à 12:09, Stephen Rothwell a écrit :

Quoted 5 lines

Hi all,

After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this:

Quoted 8 lines

make[3]: *** No rule to make target 'arch/powerpc/boot/treeImage.ebony', needed by 'arch/powerpc/boot/zImage'. Stop. make[2]: *** [/home/sfr/next/next/arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/sfr/next/next/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

It is not obvious to me what change caused this, so I have just left the build broken for today.

Bisected to commit e6abfb536d16 ("kbuild: split device tree build rules into scripts/Makefile.dtbs")

Christophe

#2 lore raw

Hi Christophe,

Quoted 12 lines · On Mon, 9 Sep 2024 16:22:26 +0200 Christophe Leroy…

Le 09/09/2024 à 12:09, Stephen Rothwell a écrit :

Quoted 10 lines

Hi all,

After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this:

make[3]: *** No rule to make target 'arch/powerpc/boot/treeImage.ebony', needed by 'arch/powerpc/boot/zImage'. Stop. make[2]: *** [/home/sfr/next/next/arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/sfr/next/next/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

Quoted 5 lines
Quoted 3 lines

It is not obvious to me what change caused this, so I have just left the build broken for today.

Bisected to commit e6abfb536d16 ("kbuild: split device tree build rules into scripts/Makefile.dtbs")

Thanks for that.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 20 lines · Stephen Rothwell

Hi Christophe,

Quoted 16 lines · On Mon, 9 Sep 2024 16:22:26 +0200 Christophe Leroy…
Quoted 13 lines · Stephen Rothwell

Hi all,

After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this:

make[3]: *** No rule to make target 'arch/powerpc/boot/treeImage.ebony', needed by 'arch/powerpc/boot/zImage'. Stop. make[2]: *** [/home/sfr/next/next/arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/sfr/next/next/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

It is not obvious to me what change caused this, so I have just left the build broken for today.

Quoted 7 lines
Quoted 1 line

Bisected to commit e6abfb536d16 ("kbuild: split device tree build rules into scripts/Makefile.dtbs")

Thanks for that.

--
Cheers,
Stephen Rothwell

I squashed the following fix. Hopefully, it will be ok tomorrow.

scripts/Makefile.build +1 -1
index 6385e7aa5dbb..8403eba15457 100644
@@ -444,7 +444,7 @@ ifneq ($(userprogs),)
 include $(srctree)/scripts/Makefile.userprogs
 endif
 
-ifneq ($(need-dtbslist)$(dtb-y)$(dtb-)$(filter %.dtb.o %.dtbo.o,$(targets)),)
+ifneq ($(need-dtbslist)$(dtb-y)$(dtb-)$(filter %.dtb %.dtb.o

%.dtbo.o,$(targets)),)
include $(srctree)/scripts/Makefile.dtbs
endif

Signature · 2 lines
Best Regards
Masahiro Yamada
#4 lore raw

Le 09/09/2024 à 18:23, Masahiro Yamada a écrit :

Quoted 39 lines · Stephen Rothwell
Quoted 20 lines

Hi Christophe,

Quoted 16 lines · On Mon, 9 Sep 2024 16:22:26 +0200 Christophe Leroy…
Quoted 13 lines · Stephen Rothwell

Hi all,

After merging the powerpc tree, today's linux-next build (powerpc ppc44x_defconfig) failed like this:

make[3]: *** No rule to make target 'arch/powerpc/boot/treeImage.ebony', needed by 'arch/powerpc/boot/zImage'. Stop. make[2]: *** [/home/sfr/next/next/arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/sfr/next/next/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2

It is not obvious to me what change caused this, so I have just left the build broken for today.

Quoted 7 lines
Quoted 1 line

Bisected to commit e6abfb536d16 ("kbuild: split device tree build rules into scripts/Makefile.dtbs")

Thanks for that.

--
Cheers,
Stephen Rothwell

I squashed the following fix. Hopefully, it will be ok tomorrow.

scripts/Makefile.build +0 -0
index 6385e7aa5dbb..8403eba15457 100644

scripts/Makefile.build ifneq ($(userprogs),) · line 450

Quoted 8 lines
scripts/Makefile.build +1 -1
@@ -444,7 +444,7 @@ ifneq ($(userprogs),)
  include $(srctree)/scripts/Makefile.userprogs
  endif
 
-ifneq ($(need-dtbslist)$(dtb-y)$(dtb-)$(filter %.dtb.o %.dtbo.o,$(targets)),)
+ifneq ($(need-dtbslist)$(dtb-y)$(dtb-)$(filter %.dtb %.dtb.o
 %.dtbo.o,$(targets)),)
  include $(srctree)/scripts/Makefile.dtbs
  endif

The build of ppc44x_defconfig is ok with this change on top of next-20240909