[oe] cortex-a9 machine build failure at gcc

RK Raggit rk.raggit at gmail.com
Thu Nov 26 05:53:15 UTC 2009


>
>
> The version you select here needs to match ${PV} from one of the
> available recipes in order to have any useful effect.  It looks like the
> magic string for 2008q1 (see gcc-csl-arm-2008q1.inc) would be:
>
> PREFERRED_VERSION_gcc-cross-initial = "4.2.3+csl-arm-2008q1-126"
>
> and likewise for the others.  As things stand, it appears that you are
> getting the regular gcc 4.2.4 selected and this one doesn't understand
> cortex-a9.
>
> If you wanted to try 2008q3 then that would be 4.3.2+csl-arm-2008q3-39.
>
>

Thanks Phil. My conf now reads like this -

PREFERRED_VERSION_gcc                    = "4.2.3+csl-arm-2008q1-126"
PREFERRED_VERSION_gcc-cross              = "4.2.3+csl-arm-2008q1-126"
PREFERRED_VERSION_gcc-cross-initial      = "4.2.3+csl-arm-2008q1-126"
PREFERRED_VERSION_gcc-cross-intermediate = "4.2.3+csl-arm-2008q1-126"
When i do a clean build , it fails at gcc-cross-initial do_compile task.
This is the log-

********************************************
| + cd
/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.3+csl-arm-2008q1-126-r5/gcc-4.2/build.i686-linux.arm-angstrom-linux-gnueabi
| + do_compile
| + ln -sf
'/home/raghu/opendistro/build/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/crt*.o'
/home/raghu/opendistro/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/lib/
| ln: target
`/home/raghu/opendistro/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/lib/'
is not a directory: No such file or directory
NOTE: Task failed:
/home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.3+csl-arm-2008q1-126-r5/temp/log.do_compile.8147
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/raghu/opendistro/openembedded/recipes/gcc/
gcc-cross-initial_csl-arm-2008q1.bb do_compile failed
ERROR: Task 2484 (/home/raghu/opendistro/openembedded/recipes/gcc/
gcc-cross-initial_csl-arm-2008q1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 262 tasks of which 0 didn't need to be rerun
and 1 failed.
ERROR: '/home/raghu/opendistro/openembedded/recipes/gcc/
gcc-cross-initial_csl-arm-2008q1.bb' failed
********************************************

OE is trying to make a link but the directory is missing. Any ideas ? My
binutils was built fine with version 2.18.50.0.7

--RK



More information about the Openembedded-devel mailing list