Re: powerpc/boot: request no dynamic linker for boot wrapper
From: Michael Ellerman <hidden>
Date: 2016-12-05 07:47:05
From: Michael Ellerman <hidden>
Date: 2016-12-05 07:47:05
On Mon, 2016-11-28 at 01:42:26 UTC, Nicholas Piggin wrote:
The boot wrapper performs its own relocations and does not require PT_INTERP segment. Without this option, binutils 2.28 and newer tries to create a program header segment due to PT_INTERP, and the link fails because there is no space for it. A recent binutils commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=1a9ccd70f9a75dc6b48d340059f28ef3550c107b has broken kernel builds: ld: arch/powerpc/boot/zImage.pseries: Not enough room for program headers, try linking with -N ld: final link failed: Bad value Reported-by: Anton Blanchard <redacted> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/ff45000fcb56b5b0f1a14a865d3541 cheers