linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Mathieu Malaterre <malat@debian.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: powerpc-linux-gnu-ld: cannot open linker script file arch/powerpc/boot/zImage.coff.lds: No such file or directory
Date: Fri, 9 Feb 2018 08:48:29 -0600	[thread overview]
Message-ID: <20180209144829.GP21977@gate.crashing.org> (raw)
In-Reply-To: <CA+7wUswUir9cHEyvdT8vc+tvSxrcsoY8da+CpqG6kpc4oMj9Wg@mail.gmail.com>

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

  reply	other threads:[~2018-02-09 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 11:52 powerpc-linux-gnu-ld: cannot open linker script file arch/powerpc/boot/zImage.coff.lds: No such file or directory Mathieu Malaterre
2018-02-09 14:48 ` Segher Boessenkool [this message]
2018-02-09 15:55   ` Mathieu Malaterre
2018-02-09 16:23     ` Mathieu Malaterre
2018-02-09 20:56     ` Segher Boessenkool

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180209144829.GP21977@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=malat@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).