Discussion:
[fido][meta-linaro-toolchain] arm-none-eabi-4.8-2014.04
Xi Zhou Zhou
2016-02-19 21:38:09 UTC
Permalink
Hi all,

I download the pre-built toolchain for one of our armv6 board.
https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

After plug it into Yocto as an external toolchain, it failed to install it
correctly.

../meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/
external-linaro-toolchain.bb, do_install
| DEBUG: Executing shell function do_install
| cp: cannot stat
`/opt/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/arm-none-eabi/libc/lib/*':
No such file or directory


Any suggestion?

Thanks,
Joel
Jim Wilson
2016-02-21 18:26:42 UTC
Permalink
Post by Xi Zhou Zhou
I download the pre-built toolchain for one of our armv6 board.
https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz
This is the embedded toolchain, for systems not running linux.
Post by Xi Zhou Zhou
After plug it into Yocto as an external toolchain, it failed to install it
correctly.
Yocto is linux, so there is a contradiction here. It isn't clear why
you are trying to do this, as this is not expected to work.
Post by Xi Zhou Zhou
../meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb,
do_install
| DEBUG: Executing shell function do_install
| cp: cannot stat
No such file or directory
Yocto is looking for the linux toolchain sysroot, but this isn't a
linux toolchain, so there is no sysroot.

If Yocto is supposed to work with embedded toolchains, then you need
to fix the yocto scripts to make the toolchain sysroot optional.

Or if you are really trying to download the linux toolchain, then you
should instead grab
https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz

Jim

Loading...