[OE-core] Toolchain Issues
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Jul 16 10:25:09 UTC 2013
On Tue, 2013-07-16 at 09:21 +0100, Jack Mitchell wrote:
> Morning everyone,
>
> I'm trying to create a custom toolchain and sdk for a development board
> and I'm having some issues.
>
> I create my toolchain with the following method:
>
> bitbake image -c populate_sdk
>
> When I try to compile u-boot with the sdk, I recieve the following error:
>
> Configuring for socfpga_cyclone5 board...
> make[1]: *** [/mnt/SSD/socfpga/u-boot-socfpga.git/spl/u-boot-spl]
> Error 1
> make: *** [spl/u-boot-spl.bin] Error 2
> make: *** [u-boot] Error 1
> arm-oecore-linux-gnueabi-size: './u-boot': No such file
> arm-oecore-linux-gnueabi-ld.bfd: cannot find -lgcc
> make[1]: *** [/mnt/SSD/socfpga/u-boot-socfpga.git/spl/u-boot-spl]
> Error 1
> make: *** [spl/u-boot-spl.bin] Error 2
> make: *** Waiting for unfinished jobs....
> arm-oecore-linux-gnueabi-ld.bfd: cannot find -lgcc
> make: *** [u-boot] Error 1
The toolchain environment script requires some --sysroot options to be
passed to the compiler/linker. I'm guessing uboot isn't getting these.
See the uboot recipes for how to pass in those options.
Cheers,
Richard
More information about the Openembedded-core
mailing list