On 23 October 2013 09:33, Chris Ruehl <chris.ru...@gtsys.com.hk> wrote:
> Hi,
>
> may you think I'm on the wrong list, no not :-)
>
> I currently build my u-boot loader using the linaro tool chain 2013.09
> and run into a problem with the support for JFFS2 where the linker report
> VFP usage where u-boot using softfp for build.
>
> compiler options: -ffixed-r9 -msoft-float

Please try option -marm -march=armv4t -mfloat-abi=soft

> arm-linux-gnueabihf-ld.bfd: error:
> /opt/armhf/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(bpabi.o)
> uses VFP register arguments, u-boot does not

By default the libraries in arm-linux-gnueabihf toolchain is hard
float. It can not be linked with soft-float or soft.

> when I use
> make USE_PRIVATE_LIBGCC=yes
>
> the problem shows up at an undefined reference
>
> fs/jffs2/libjffs2.o: In function `jffs2_1pass_build_lists':
> /opt/cross_build/uboot.d/u-boot-git/fs/jffs2/jffs2_1pass.c:1441: undefined
> reference to `__aeabi_uldivmod'
> arm-linux-gnueabihf-ld.bfd: BFD (crosstool-NG linaro-1.13.1-4.8-2013.09 -
> Linaro GCC 2013.09) 2.23.2.20130610 Linaro 2013.06 assertion fail
> /cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/binutils-linaro-2.23.2-2013.06/bfd/elf32-arm.c:7687
>
> may someone have a closer look into it?
>
>
> thanks
> Chris
>
> _______________________________________________
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain

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

Reply via email to