> | *cc1: error: bad value (cortex-a9) for -mtune= switch > *| /bin/sh > /home/raghu/opendistro/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.3-r7.1/gcc-4.3.3/gcc/../move-if-change > tmp-macro_list macro_list > ************
above message indicates that the gcc version you chose does not support cortex-a9 > I have removed gcc specific variables from my local.conf, so they must be > getting picked up from the distro conf file. > > Is cortex-a9 not yet supported by the default Angstrom toolchain or am i > missing something ? try using gcc 4.4 if you want gcc to tune for cortext-a9 > > --RK > > > On Mon, Nov 23, 2009 at 1:42 PM, Koen Kooi <[email protected]>wrote: > >> On 23-11-09 07:14, RK Raggit wrote: >> >>> 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 >>> >> >> Gcc 4.2.4 doesn't support armv7 >> >> >> >> 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" >>> >> >> Don't use CSL toolchains, they are waaaay to broken, especially 2008qX: >> http://hardwarebug.org/2008/11/28/codesourcery-fails-again/ >> Stick with the default toolchain angstrom is using, it is tested on real >> hardware (CS only tests inside qemu) and is know to work well >> >> regards, >> >> Koen >> >> >> >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
