Skip to contentSkip to conversation

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

PATCH Stephen Rothwell 3 participants 3 messages Jan 24, 2024 – Jan 25, 2024

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

Hi all,

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

make[4]: *** No rule to make target 'kernel/elfcorehdr.o', needed by 'kernel/built-in.a'. Stop.

Presumably caused by commit

1777bfb42f56 ("crash: remove dependency of FA_DUMP on CRASH_DUMP")

from the mm-unstable branch of the mm tree. It looks like the expected file rename did not happen.

I have applied the following (git) patch for today.

From: Stephen Rothwell <[email protected]>
Date: Thu, 25 Jan 2024 09:58:54 +1100
Subject: [PATCH] fix up for "crash: remove dependency of FA_DUMP on
CRASH_DUMP"

---
 kernel/{crash_dump.c => elfcorehdr.c} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename kernel/{crash_dump.c => elfcorehdr.c} (100%)
kernel/elfcorehdr.c renamed from kernel/crash_dump.c +0 -0
similarity index 100%
rename from kernel/crash_dump.c
rename to kernel/elfcorehdr.c
Signature · 5 lines
2.43.0

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

Hi all,

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

make[4]: *** No rule to make target 'kernel/elfcorehdr.o', needed by 'kernel/built-in.a'. Stop.

Quoted 8 lines

Presumably caused by commit

1777bfb42f56 ("crash: remove dependency of FA_DUMP on CRASH_DUMP")

from the mm-unstable branch of the mm tree. It looks like the expected file rename did not happen.

I have applied the following (git) patch for today.

I've got the same error in mm-unstable and your patch below fixed it. Thanks!

Quoted 22 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 25 Jan 2024 09:58:54 +1100
Subject: [PATCH] fix up for "crash: remove dependency of FA_DUMP on
CRASH_DUMP"

---
 kernel/{crash_dump.c => elfcorehdr.c} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename kernel/{crash_dump.c => elfcorehdr.c} (100%)
kernel/elfcorehdr.c renamed from kernel/crash_dump.c +0 -1
similarity index 100%
rename from kernel/crash_dump.c
rename to kernel/elfcorehdr.c
--

2.43.0

--
Cheers,
Stephen Rothwell

#2 lore raw
Quoted 11 lines · Suren Baghdasaryan
Quoted 10 lines · Stephen Rothwell

Hi all,

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

make[4]: *** No rule to make target 'kernel/elfcorehdr.o', needed by 'kernel/built-in.a'. Stop.

Presumably caused by commit

Quoted 8 lines
Quoted 6 lines

1777bfb42f56 ("crash: remove dependency of FA_DUMP on CRASH_DUMP")

from the mm-unstable branch of the mm tree. It looks like the expected file rename did not happen.

I have applied the following (git) patch for today.

I've got the same error in mm-unstable and your patch below fixed it. Thanks!

This happened in v2 merging. I doubt there's something wrong with Andrew's patch merging script regarding this kind of patch renaming.

Quoted 24 lines
Quoted 23 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 25 Jan 2024 09:58:54 +1100
Subject: [PATCH] fix up for "crash: remove dependency of FA_DUMP on
CRASH_DUMP"

---
 kernel/{crash_dump.c => elfcorehdr.c} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename kernel/{crash_dump.c => elfcorehdr.c} (100%)
kernel/elfcorehdr.c renamed from kernel/crash_dump.c +0 -1
similarity index 100%
rename from kernel/crash_dump.c
rename to kernel/elfcorehdr.c
--

2.43.0

--
Cheers,
Stephen Rothwell