All of lore.kernel.org
 help / color / mirror / Atom feed
* gcc-cross-kernel problems
@ 2011-06-25 20:38 Koen Kooi
  2011-06-26  2:30 ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: Koen Kooi @ 2011-06-25 20:38 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

I was spending some spare cycles on https://github.com/koenkooi/meta-archos 
  and wanted to build the 2.6.22 vendor kernel first before trying to  
the 3.0rc working and I need to use csl 2007q3 as gcc-cross-kernel due  
to bugs in the kernel.

I imported the 2008q1 recipes from OE-core, then changed the SRC_URI  
to have the patches from the 2007q3 recipe in OE classic. It uses  
the .inc files from OE-core. It builds and gives me:

koen@dominion:/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/ 
armv7a-angstrom-linux-gnueabi/gcc-cross-kernel-4.2.1-4.2.1+csl- 
arm-2007q3-53-r0/image$ find . | grep bin
./OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/ 
usr/bin
./OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/ 
usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross-kernel-4.2.1
./OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/ 
usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross-kernel-4.2.1/arm- 
angstrom-linux-gnueabi-gcov
./OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/ 
usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross-kernel-4.2.1/arm- 
angstrom-linux-gnueabi-gccbug
./OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/ 
usr/bin/arm-angstrom-linux-gnueabi-gcc-4.2.1+csl-arm-2007q3-53

But when I do 'MACHINE=archos5 bitbake virtual/kernel -c compile' I get:

| + make -j4 zImage 'CC=ccache arm-angstrom-linux-gnueabi- 
gcc-4.2.1+csl-arm-2007q3-53  -mno-thumb-interwork -mno-thumb -- 
sysroot=/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/ 
archos5' 'LD=arm-angstrom-linux-gnueabi-ld --sysroot=/OE/tentacle/ 
build/tmp-angstrom_2010_x-eglibc/sysroots/archos5  --sysroot=/OE/ 
tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/archos5'
| arm-angstrom-linux-gnueabi-gcc-4.2.1+csl-arm-2007q3-53: No such file  
or directory

And I can't find arm-angstrom-linux-gnueabi-gcc-4.2.1+csl- 
arm-2007q3-53 in sysroots.  When looking at WORKDIR for the gcc:

koen@dominion:/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/work/ 
armv7a-angstrom-linux-gnueabi/gcc-cross-kernel-4.2.1-4.2.1+csl- 
arm-2007q3-53-r0$ find sysroot-destdir/ | grep bin
sysroot-destdir/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/ 
x86_64-linux/usr/bin
sysroot-destdir/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/ 
x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross- 
kernel-4.2.1
sysroot-destdir/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/ 
x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross- 
kernel-4.2.1/arm-angstrom-linux-gnueabi-gcov
sysroot-destdir/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/sysroots/ 
x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross- 
kernel-4.2.1/arm-angstrom-linux-gnueabi-gccbug

So that's missing the arm-angstrom-linux-gnueabi-gcc-4.2.1+csl- 
arm-2007q3-53 that's actually needed. Does anyone (RP?) know if gcc- 
cross-kernel.inc has been kept upto date with all the toolchain changes?

regards,

Koen



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-27 21:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-25 20:38 gcc-cross-kernel problems Koen Kooi
2011-06-26  2:30 ` Khem Raj
2011-06-26  9:18   ` Khem Raj
2011-06-26 10:16     ` Koen Kooi
2011-06-26 15:05   ` Khem Raj
2011-06-27  9:32     ` Koen Kooi
2011-06-27  9:42       ` Phil Blundell
2011-06-27 10:07         ` Koen Kooi
2011-06-27 10:20           ` Phil Blundell
2011-06-27 15:35             ` Koen Kooi
2011-06-27 20:15             ` Khem Raj
2011-06-27 20:41               ` Phil Blundell
2011-06-27 21:09                 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.