Skip to contentSkip to conversation

linux-next: build failure after merge of the oprofile-removal tree

PATCH Stephen Rothwell 2 participants 2 messages Jan 18, 2021

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

Hi all,

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

make[4]: *** No rule to make target 'arch/powerpc/platforms/cell/spu_notify.o', needed by 'arch/powerpc/platforms/cell/built-in.a'.

Caused by commit

43d297a9e028 ("arch: powerpc: Stop building and using oprofile")

I have applied the following patch for today.

From: Stephen Rothwell <[email protected]>
Date: Mon, 18 Jan 2021 16:19:34 +1100
Subject: [PATCH] arch: powercp: update cell Makefile for the removal of
spu_notify.c

Fixes 43d297a9e028 ("arch: powerpc: Stop building and using oprofile")
---
 arch/powerpc/platforms/cell/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/platforms/cell/Makefile +0 -1
index 10064a33ca96..7ea6692f67e2 100644
@@ -19,7 +19,6 @@ spu-priv1-$(CONFIG_PPC_CELL_COMMON)	+= spu_priv1_mmio.o
 spu-manage-$(CONFIG_PPC_CELL_COMMON)	+= spu_manage.o
 
 obj-$(CONFIG_SPU_BASE)			+= spu_callbacks.o spu_base.o \
-					   spu_notify.o \
 					   spu_syscalls.o \
 					   $(spu-priv1-y) \
 					   $(spu-manage-y) \
Signature · 5 lines
2.29.2

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 29 lines · Stephen Rothwell

Hi all,

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

make[4]: *** No rule to make target 'arch/powerpc/platforms/cell/spu_notify.o', needed by 'arch/powerpc/platforms/cell/built-in.a'.

Caused by commit

43d297a9e028 ("arch: powerpc: Stop building and using oprofile")

I have applied the following patch for today.

From: Stephen Rothwell <[email protected]>
Date: Mon, 18 Jan 2021 16:19:34 +1100
Subject: [PATCH] arch: powercp: update cell Makefile for the removal of
spu_notify.c

Fixes 43d297a9e028 ("arch: powerpc: Stop building and using oprofile")
---
 arch/powerpc/platforms/cell/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/platforms/cell/Makefile +0 -0
index 10064a33ca96..7ea6692f67e2 100644

arch/powerpc/platforms/cell/Makefile spu-priv1-$(CONFIG_PPC_CELL_COMMON) += spu_priv1_mmio.o · line 24

Quoted 7 lines
arch/powerpc/platforms/cell/Makefile +0 -1
@@ -19,7 +19,6 @@ spu-priv1-$(CONFIG_PPC_CELL_COMMON)	+= spu_priv1_mmio.o
 spu-manage-$(CONFIG_PPC_CELL_COMMON)	+= spu_manage.o
 
 obj-$(CONFIG_SPU_BASE)			+= spu_callbacks.o spu_base.o \
-					   spu_notify.o \
 					   spu_syscalls.o \
 					   $(spu-priv1-y) \
 					   $(spu-manage-y) \

Thanks Stephen. I have already fixed this and pushed the change earlier this morning. The latest tree should already have this fixed.

Signature · 1 line
viresh