[OE-core] GCC 9 Drops Support For Older ARM Microarchitecture Versions

Denys Dmytriyenko denis at denix.org
Sat May 19 19:33:41 UTC 2018


On Sat, May 19, 2018 at 11:07:55AM -0700, Khem Raj wrote:
> On Sat, May 19, 2018 at 9:21 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> > https://www.phoronix.com/scan.php?page=news_item&px=GCC-9-Dropping-Older-ARM
> >
> > Particularly, ARMv5 and ARMv5E are being dropped (but T and TE variants
> > remain)
> >
> > Are there any concerns from OE community perspective?
> 
> From yocto project perspctive qemuarm which is emulating arm926ejs
> with default tune armv5te is used.
> so we are right at the trailing edge and wont be affected. However, I
> know there were OE users who had
> devices using other armv5 or v4 variants
> 
> I have been suggesting to switch qemuarm to use armv7 based board
> emulator for few years now.
> may be this is the time to make that call for next YP release.

Valid point about qemuarm, but see below.


> > At least for binutils we needed this patch even for armv5te:
> > http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch
> >
> 
> this patch technically required to support one of OEs available tune
> values. namely armv5e, we should be able to drop it.

$ grep conf/machine meta/conf/machine/qemuarm.conf
require conf/machine/include/qemu.inc
require conf/machine/include/tune-arm926ejs.inc
#require conf/machine/include/tune-arm1136jf-s.inc

$ MACHINE=qemuarm bitbake virtual/kernel -e|grep -E '^DEFAULTTUNE=|^ARMPKGSFX_THUMB=|^TUNE_PKGARCH=|^TUNE_CCARGS='
ARMPKGSFX_THUMB=""
DEFAULTTUNE="armv5te"
TUNE_CCARGS=" -march=armv5e -marm"
TUNE_PKGARCH="armv5e"


I have already tried binutils w/o that patch for arm926ejs/armv5te machine and 
it fails, because as you can see above, -march=armv5e is being passed...

-- 
Denys



More information about the Openembedded-core mailing list