linux-next: build failure after merge of the akpm-current tree
Subsystems (2)
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
powerpc-linux-ld: unrecognized option '--no-dynamic-linker'
Caused by patch
"powerpc: add purgatory for kexec_file_load implementation"
I have disabled KEXEC_FILE for now:
From: Stephen Rothwell <[email protected]>
Date: Thu, 24 Nov 2016 15:52:55 +1100
Subject: [PATCH] disable KEXEC_FILE on powerpc for now
--- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/Kconfig +1 -0
@@ -475,6 +475,7 @@ config KEXEC_FILE depends on PPC64 depends on CRYPTO=y depends on CRYPTO_SHA256=y + depends on BROKEN help This is a new version of the kexec system call. This call is file based and takes in file descriptors as system call arguments
Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell
Hello Stephen,
Am Donnerstag, 24. November 2016, 16:01:51 BRST schrieb Stephen Rothwell:
Quoted 11 lines
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:powerpc-linux-ld: unrecognized option '--no-dynamic-linker'
Caused by patch
"powerpc: add purgatory for
kexec_file_loadimplementation"
Sorry about that. --no-dynamic-linker was added in binutils 2.26. The patch below fixes the problem.
Signature · 2 lines
Thiago Jung Bauermann IBM Linux Technology Center
arch/powerpc/purgatory/Makefile +4 -2
@@ -6,8 +6,10 @@ purgatory-y := purgatory.o string.o v2wrap.o purgatory-ppc64.o crtsavres.o \ targets += $(purgatory-y) PURGATORY_OBJS = $(addprefix $(obj)/,$(purgatory-y)) -LDFLAGS_purgatory.ro := -pie --no-dynamic-linker -e purgatory_start \ - --no-undefined -nostartfiles -nostdlib -nodefaultlibs +LDFLAGS_purgatory.ro := -pie -e purgatory_start --no-undefined -nostartfiles \ + -nostdlib -nodefaultlibs +LDFLAGS_purgatory.ro += $(call ld-option, --no-dynamic-linker) + targets += purgatory.ro KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_FTRACE), $(KBUILD_CFLAGS))
Hi Thiago,
Quoted 9 lines · On Thu, 24 Nov 2016 13:02:39 -0200 Thiago Jung Bauermann…
Am Donnerstag, 24. November 2016, 16:01:51 BRST schrieb Stephen Rothwell:
Quoted 7 lines
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:powerpc-linux-ld: unrecognized option '--no-dynamic-linker'
Quoted 7 lines
Quoted 4 lines
Caused by patch
"powerpc: add purgatory for
kexec_file_loadimplementation"Sorry about that. --no-dynamic-linker was added in binutils 2.26. The patch below fixes the problem.
OK, I will apply that patch instead of disabling CONFIG_KEXEC_FILE today.
Signature · 2 lines
Cheers, Stephen Rothwell