Hello Joel
Could you provide us with: - the exact command line used (the one calling GCC, with all the flags) - the output of gcc -v the see how it was configured
From what you say it looks like your compiler is currently configured
to generated hard-float code by default, and that you are compiling a module with -mfloat-abi=soft while the compiler has no support for multilibs.
Christophe
On 12 September 2014 20:10, Joel (Xi Zhou) Zhou joel.zhou@broadcom.com wrote:
Hi all,
I'm using ct-ng to rebuild Linaro toolchain (arm-linux-gnueabihf ) for Linux kernel 2.6.36. Ct-ng version: ct-ng-linaro-1.13.1-4.8-2014.01-01
There is a “FATAL: Kernel too old” message after mounting the rootfs. It turns out the default config using pre-built sysroot from Linaro website. After setting " CT_PREBUILT_SYSROOT=n" to build sysroot with lower kernel version, I get the following error: [EXTRA] Building final compiler [ERROR] /projects/broadcom-linux/joelz/opt/gcc-linaro-arm-linux-2.6-gnueabihf/arm-linux-gnueabihf/libc/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory [ERROR] make[5]: *** [_muldi3.o] Error 1 [ERROR] make[4]: *** [multi-do] Error 1
I tried to put " -mfloat-abi=hard" as CFLAG in different place, still can't pass this error.
If you have any idea how to fix it, please let me know.
Thanks, Joel
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain