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

Mathieu Malaterre malat at debian.org
Fri Feb 9 22:52:03 AEDT 2018


Hi there,

Is anyone using O= output directory option ?

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
(...)
Entry Point:  00b001e8
  DTC     arch/powerpc/boot/asp834x-redboot.dtb
  WRAP    arch/powerpc/boot/dtbImage.asp834x-redboot
INFO: Uncompressed kernel (size 0xa51720) overlaps the address of the
wrapper(0x400000)
INFO: Fixing the link_address of wrapper to (0xb00000)
  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
rm arch/powerpc/boot/pq2fads.dtb arch/powerpc/boot/mpc836x_mds.dtb
arch/powerpc/boot/mpc832x_mds.dtb arch/powerpc/boot/mpc832x_rdb.dtb
arch/powerpc/boot/mpc834x_mds.dtb
arch/powerpc/boot/asp834x-redboot.dtb arch/powerpc/boot/mpc8272ads.dtb
arch/powerpc/boot/mpc8349emitx.dtb
arch/powerpc/boot/mpc8349emitxgp.dtb arch/powerpc/boot/ep8248e.dtb
arch/powerpc/Makefile:291: recipe for target 'zImage' failed
make[1]: *** [zImage] Error 2


More information about the Linuxppc-dev mailing list