On 27 May 2014 10:17, Denys Dmytriyenko <de...@denix.org> wrote:
> Hi,
>
> I've been having this issue with latest binary Linaro 2014.04 toolchain from
> http://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
>
> It comes with own sysroot, but linker fails to locate /lib/ld-linux-armhf.so.3
>
> $ make
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o nvs.o 
> nvs.c
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o 
> misc_cmds.o misc_cmds.c
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o 
> calibrator.o calibrator.c
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o plt.o 
> plt.c
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o 
> wl18xx_plt.o wl18xx_plt.c
> arm-linux-gnueabihf-gcc -I/tmp/include/libnl3/ -DCONFIG_LIBNL32   -c -o ini.o 
> ini.c
> arm-linux-gnueabihf-gcc -L/tmp/lib/ nvs.o misc_cmds.o calibrator.o plt.o 
> wl18xx_plt.o ini.o -lm -lnl-3 -lnl-genl-3 -o calibrator
> /opt/linaro-2014.04/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld:
>  cannot find /lib/ld-linux-armhf.so.3
> collect2: error: ld returned 1 exit status
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 1
>
> And when I pass my own sysroot, it works fine.
>
> Is it supposed to work as a standalone toolchain with its own bundled sysroot?

It should work as a standalone toolchain. Please check do you have
ld-linux-armhf.so.3 at
/opt/linaro-2014.04/arm-linux-gnueabihf/libc/lib/

If ld-linux-armhf.so.3 is there, please show us more detail log by
adding option "-v" in your last step.

Thanks!
-Zhenqiang

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to