From: Rob Herring <robherring2@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Undefined results when building highbank board
Date: Thu, 26 Apr 2012 07:54:55 -0500 [thread overview]
Message-ID: <4F99459F.4060500@gmail.com> (raw)
In-Reply-To: <20120426120301.55C2D200246@gemini.denx.de>
On 04/26/2012 07:03 AM, Wolfgang Denk wrote:
> 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!
The issue is I require a wfi assembly instruction for reset, so I would
have to hard code the machine code to work on all compilers.
Rob
>
> Best regards,
>
> Wolfgang Denk
>
next prev parent reply other threads:[~2012-04-26 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-26 12:03 [U-Boot] Undefined results when building highbank board Wolfgang Denk
2012-04-26 12:54 ` Rob Herring [this message]
2012-04-26 20:33 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F99459F.4060500@gmail.com \
--to=robherring2@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.