[U-Boot-Users] [patch u-boot git 2/3] better ARM9 compiler options

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Mar 30 16:49:16 CEST 2008


On 12:50 Fri 18 Jan     , David Brownell wrote:
> Update some ARM9 builds to pass the exact CPU to GCC, when the compiler
> supports that specification.  This stops pessimizing codegen, and removes
> voluminous warnings about (no) interworking support from EABI compilers.
> (Like CodeSourcery's ARM 2007q3 release.)
> 
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> 
NOK

I've the following warning when I'm using it

nfs.c:1: warning: switch -mcpu=arm926ej-s conflicts with -march= switch
sntp.c:1: warning: switch -mcpu=arm926ej-s conflicts with -march= switch
part.c:0: warning: switch -mcpu=arm926ej-s conflicts with -march= switch

My toolchains

Using built-in specs.
Target: arm-elf
Configured with: ../configure --prefix=/opt/arm --target=arm-elf --enable-interwork --enable-multilib --enable-languages=c,c++ --with-newlib --with-headers=/opt/arm/src/newlib-1.14.0/newlib/libc/include
Thread model: single
gcc version 4.1.1

Best Regards,
J.




More information about the U-Boot mailing list