From: Wolfgang Denk Date: Thu, 26 Apr 2012 14:03:01 +0200 Subject: [U-Boot] Undefined results when building highbank board Message-ID: <20120426120301.55C2D200246@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.