[OE-core] [PATCHv2 11/16] arch-armv7ve: add tune include for armv7ve and use it from cortexa7 and cortexa15

Phil Blundell pb at pbcl.net
Wed Nov 18 17:05:23 UTC 2015


On Wed, 2015-11-18 at 17:51 +0100, Martin Jansa wrote:
> On Wed, Nov 18, 2015 at 04:38:34PM +0000, Phil Blundell wrote:
> > On Tue, 2015-11-17 at 11:58 +0100, Martin Jansa wrote:
> > > * be aware that this -march value is available only in gcc-4.9
> > > and
> > >   newer:
> > >   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57907
> > > 
> > 
> > Can you clarify why this is an improvement?  The previous patch
> > already
> > changed cortex-a15.inc to use -mcpu=cortexa15, which effectively
> > implies -march=armv7ve already (and works on all gcc versions) so
> > I'm
> > not entirely sure what this second patch really buys you.
> 
> Because -mcpu=cortexa15 and -march=armv7a conflict each other, so we
> either have to stop putting -march in default CCARGS or at least set
> compatible one like this patch does.

Ah right, got it.  I think it would be better to just stop passing 
-march= in cases where we are using -mcpu=.  It seems a bit silly to
create another huge maze of tune variables which all boil down to
essentially a no-op.

p.




More information about the Openembedded-core mailing list