[oe] cortex-a9 machine build failure at gcc

RK Raggit rk.raggit at gmail.com
Mon Nov 23 06:14:15 UTC 2009


Hi,

I am adding support for a cortex-a9 based machine but the build fails at gcc
with this error -

****************
|
/home/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.4-r9.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (cortex-a9) for -mtune= switch
|
/home/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.4-r9.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (armv7-a) for -march= switch
|
/home/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.4-r9.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: invalid floating point option: -mfpu=neon
*****************

gcc variables in my local.conf read thus -

PREFERRED_VERSION_gcc                    = "4.2.4"
PREFERRED_VERSION_gcc-cross              = "csl-arm-2008q1"
PREFERRED_VERSION_gcc-cross-initial      = "csl-arm-2008q1"
PREFERRED_VERSION_gcc-cross-intermediate = "csl-arm-2008q1"

I had also tried something funky like below but to no avail -

PREFERRED_VERSION_gcc = "4.2.4+csl-arm-2008q1-126"
PREFERRED_VERSION_gcc-cross = "4.2.4+csl-arm-2008q1-126"
REFERRED_VERSION_gcc-cross-initial = "4.2.4+csl-arm-2008q1-126"
PREFERRED_VERSION_gcc-cross-intermediate = "4.2.4+csl-arm-2008q1-126"
Whats gone wrong ?

--RK



More information about the Openembedded-devel mailing list