On Fri, Feb 19, 2016 at 1:38 PM, Xi Zhou Zhou joel.zhou@broadcom.com wrote:
I download the pre-built toolchain for one of our armv6 board. https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-a...
This is the embedded toolchain, for systems not running linux.
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.
../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
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-a...
Jim