Kernel build issues with upstream binutils
Gustavo Romero
gromero at linux.vnet.ibm.com
Mon Jul 17 22:57:09 AEST 2017
Hi,
On bissecting kernel on Debian (gcc version 6.3.0 20170516) I've got the same
error on linking kernels <= v4.9 as reported previously in this thread:
ld: arch/powerpc/boot/zImage.pseries: Not enough room for program headers, try linking with -N
ld: final link failed: Bad value
arch/powerpc/boot/Makefile:364: recipe for target 'arch/powerpc/boot/zImage.pseries' failed
make[1]: *** [arch/powerpc/boot/zImage.pseries] Error 1
arch/powerpc/Makefile:278: recipe for target 'zImage' failed
make: *** [zImage] Error 2
Applying the fix proposed by Nicholas resolved the issue.
However that patch is not present - afaics - in > v4.9 (where it builds fine).
Any clue on why that is happening on <= v4.9 but not on kernels above that?
Thank you.
Regards,
Gustavo
More information about the Linuxppc-dev
mailing list