Thread (5 messages) flat view 5 messages, 2 authors, 2018-02-09

Re: powerpc-linux-gnu-ld: cannot open linker script file arch/powerpc/boot/zImage.coff.lds: No such file or directory

From: Segher Boessenkool <hidden>
Date: 2018-02-09 14:48:40

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help