Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] In-tree build OK, out-of-tree build fails
Date: Sat, 19 Dec 2009 08:51:57 +0100	[thread overview]
Message-ID: <20091219085157.710264c7@surf> (raw)
In-Reply-To: <hghkou$vu0$1@ger.gmane.org>

Hello,

Le Sat, 19 Dec 2009 04:28:14 +0000 (UTC),
Grant Edwards <grant.b.edwards@gmail.com> a ?crit :

> Error 2 The "not found" file crt1.o is present in the output
> directory in staging/usr/lib/crt1.o, but it looks like the gcc
> command line used to link busybox is missing the required --sysroot
> option.

Could you post your .config file ?

> It looks like the combination of an external toolchain and
> out-of-tree build is what fails.

That's the configuration I'm using every day (external toolchain
generated by Crosstool-NG and out-of-tree build with O=).

Give me the .config file used to generate the toolchain + the .config
file used to produce the error and I'll try to reproduce.

Cheers,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

      parent reply	other threads:[~2009-12-19  7:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19  4:28 [Buildroot] In-tree build OK, out-of-tree build fails Grant Edwards
2009-12-19  7:49 ` Peter Korsgaard
2009-12-19 17:30   ` Grant Edwards
2009-12-19  7:51 ` Thomas Petazzoni [this message]

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=20091219085157.710264c7@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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