[U-Boot] Undefined results when building highbank board
Wolfgang Denk
wd at denx.de
Thu Apr 26 14:03:01 CEST 2012
Dear Rob,
arch/arm/cpu/armv7/highbank/config.mk contains this setting:
PLATFORM_CPPFLAGS += -march=armv7-a
This results in code bueing built with the follwoing compiler options:
... -march=armv5 -march=armv7-a ...
This is a bad idea - dependign on tool chain used, this may result in
compiler errors ("error: bad value (armv7-a) for -march= switch"), or
undefined behaviour, as it is not clear which option is used by the
compiler.
Can you please provide a fix? Thanks!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The philosophy exam was a piece of cake - which was a bit of a
surprise, actually, because I was expecting some questions on a sheet
of paper.
More information about the U-Boot
mailing list