* [Buildroot] Link error when building latest rootfs for i.MX6
@ 2014-02-24 18:57 Jason Jiang
2014-02-25 7:28 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jason Jiang @ 2014-02-24 18:57 UTC (permalink / raw)
To: buildroot
Hi,
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:
$ make menuconfig...
# Target ARM (Little-Endian)
# Target Cortex A-9
# Under toolchain:
# External
# Sourcery Codebench ARM 2013.05
# Downloaded and installed
# Under System Configuration, chose ttymxc0 as the Port to run a getty (login prompt) on,
# Under Target Packages->Filesystem and Flash utilities: enable dosfstools and e2fsprogs
# Under Filesystem Images, selected Output cpio - gzipped; tar the root filesystem
$ make busybox-menuconfig...
# Do nothing, just exit (this step probably isn't necessary).
$ make V=1 2>&1 | tee make.out
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?
Thank you,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140224/4fa2455b/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Link error when building latest rootfs for i.MX6
2014-02-24 18:57 [Buildroot] Link error when building latest rootfs for i.MX6 Jason Jiang
@ 2014-02-25 7:28 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-02-25 7:28 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox