All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Undefined results when building highbank board
@ 2012-04-26 12:03 Wolfgang Denk
  2012-04-26 12:54 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2012-04-26 12:03 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-26 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 12:03 [U-Boot] Undefined results when building highbank board Wolfgang Denk
2012-04-26 12:54 ` Rob Herring
2012-04-26 20:33   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.