All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Link error when building latest rootfs for i.MX6
Date: Tue, 25 Feb 2014 08:28:28 +0100	[thread overview]
Message-ID: <20140225082828.52251e2b@skate> (raw)
In-Reply-To: <44C2037B3E0E704C9BB751CAFFB640483C55A413@SV950-MBX1.corp.intusurg.com>

Dear Jason Jiang,

On Mon, 24 Feb 2014 18:57:40 +0000, Jason Jiang wrote:

> I had a problem building the latest rootfs for my i.MX6 board. I got the latest one from http://www.buildroot.org/download.html. I tried to build it in the following way:

Could you provide your .config file?

> $ make menuconfig...
> 
> #  Target ARM (Little-Endian)
> 
> #  Target Cortex A-9
> 
> #  Under toolchain:
> 
> #      External
> 
> #      Sourcery Codebench ARM 2013.05
> 
> #      Downloaded and installed

This is not possible: either you use a toolchain downloaded by
Buildroot, or that is already installed on your system.

> But at the end, I got link error: "/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory". I googled around for the whole day and just couldn't figure out the solution. Could you help please?

It clearly looks like the toolchain you're using is *not* Sourcery
Codebench ARM 2013.05, but a different Freescale toolchain, which we
have never tested.

Where can I get this toolchain, in order to test it?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2014-02-25  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24 18:57 [Buildroot] Link error when building latest rootfs for i.MX6 Jason Jiang
2014-02-25  7:28 ` 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=20140225082828.52251e2b@skate \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.