powerpc-linux-gnu-ld: cannot open linker script file arch/powerpc/boot/zImage.coff.lds: No such file or directory
Segher Boessenkool
segher at kernel.crashing.org
Sat Feb 10 01:48:29 AEDT 2018
Hi!
On Fri, Feb 09, 2018 at 12:52:03PM +0100, Mathieu Malaterre wrote:
> Is anyone using O= output directory option ?
Yes, always.
> It seems that git/master is failing:
>
> $ make O=ppc6xx ARCH=powerpc ppc6xx_defconfig
> $ make O=ppc6xx ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- zImage
Works fine for me (exact same arch and defconfig). Two differences:
1) I also set CROSS_COMPILE during the config step;
2) I don't build zImage, just the default (but manual "make zImage"
afterwards works fine).
> WRAP arch/powerpc/boot/zImage.coff
> powerpc-linux-gnu-ld: cannot open linker script file
> arch/powerpc/boot/zImage.coff.lds: No such file or directory
> ../arch/powerpc/boot/Makefile:375: recipe for target
> 'arch/powerpc/boot/zImage.coff' failed
> make[2]: *** [arch/powerpc/boot/zImage.coff] Error 1
Add V=1?
Segher
More information about the Linuxppc-dev
mailing list