On 1 August 2014 03:36, Joel (Xi Zhou) Zhou joel.zhou@broadcom.com wrote:
Hi guy,
In order to have soft-float support in toolchain, I tried to build our toolchain using Linaro ct-ng script. I used "linaro-armeb-linux-gnueabihf" configuration then change floating point option from hard to soft.
There is the error I have: [ERROR] /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/../../../../armeb-linux-gnueabi/bin/ld: error: /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/gcc-core-shared/lib/gcc/armeb-linux-gnueabi/4.8.3/libgcc.a(bpabi.o) uses VFP register arguments, /projects/broadcom-linux/joelz/r/linaro-gcc-build/.build/armeb-linux-gnueabi/build/build-libc/elf/librtld.map.o does not
For short, libgcc.a(bpabi.o) uses VFP register arguments, but librtld.map.o does not.
Please remove the "--with-float=hard" in in samples/linaro-arm-linux-gnueabihf/crosstool.config, which is included in
CT_CC_CORE_EXTRA_CONFIG_ARRAY CT_CC_EXTRA_CONFIG_ARRAY
The C library used is eglibc version (Linaro 2.19-2014.04), is this a way to make eglibc work with sfot-float?
Thanks!
Joel
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain