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.
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
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
Now we have configure errors with libgomp and libssp. Are there patches for these errors?
Thanks!
[ERROR] checking whether we are using the GNU C compiler... configure: error: in `/projects/broadcom-linux/joelz/r/linaro-gcc-build /.build/armeb-linux-gnueabi/build/build-cc/armeb-linux-gnueabi/libgomp': [ERROR] configure: error: C compiler cannot create executables
[ERROR] checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. [ERROR] make[2]: *** [configure-target-libssp] Error 1
-----Original Message----- From: Zhenqiang Chen [mailto:zhenqiang.chen@linaro.org] Sent: Thursday, July 31, 2014 9:19 PM To: Joel (Xi Zhou) Zhou Cc: linaro-toolchain@lists.linaro.org Subject: Re: eglibc soft-float arguments
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
linaro-toolchain@lists.linaro.org