[OE-core] [PATCH 2/2] ARM: handle missing thumb suffix

Martin Jansa martin.jansa at gmail.com
Thu Oct 15 12:09:34 UTC 2015


On Thu, Oct 15, 2015 at 12:51:29PM +0100, Phil Blundell wrote:
> On Thu, 2015-10-15 at 13:31 +0200, Martin Jansa wrote:
> 
> > It's package architecture for binary feeds with -mtune=arm926ejs and
> > it
> > can be built with or without -mthumb, that's why packages can be
> > built
> > in arm926ejse or arm926ejste package feed.
> 
> Yes, I understand that.  But the point is that there doesn't seem to be
> any good reason to distinguish those two cases by PACKAGE_ARCH, any
> more than we use separate PACKAGE_ARCH values for binaries built with 
> -O2, or -fpie, or any number of other options.
> 
> ARM926EJ-S, by definition, can execute both ARM and Thumb code so there
> is no meaningful situation where arm926ejse binaries might be usable
> yet arm926ejste ones are not.  

What about consistency with less specific PACKAGE_ARCHs which use "t" to
show if it was built with or without thumb?

Or more strange case when some DISTRO without PR service enables thumb
and package manager can in theory migrate/upgrade packages from arm926ejse feed
to arm926ejste ones even when the version is the same (doesn't work with
opkg)

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151015/89ebca9b/attachment-0002.sig>


More information about the Openembedded-core mailing list