Gentoo Archives: gentoo-embedded

From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
To: Mike Frysinger <vapier@g.o>, linux-cris-kernel@××××.com
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev för cris fails
Date: Wed, 22 Dec 2010 16:05:32
Message-Id: OFCA1938B8.3E4A2CC2-ONC1257801.0054607C-C1257801.0054FF8A@transmode.se
In Reply to: Re: [gentoo-embedded] crossdev för cris fails by Mike Frysinger
1 Mike Frysinger <vapier@g.o> wrote on 2010/12/22 16:59:08:
2 >
3 > On Wednesday, December 22, 2010 08:06:06 Joakim Tjernlund wrote:
4 > > make -j3 -s headers_install
5 > > INSTALL_HDR_PATH=/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.
6 > > 6.36.1/image///usr/crisv32-linux-gnu/usr/include/.. ARCH=cris
7 > > CROSS_COMPILE=i686-pc-linux-gnu-
8 > > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
9 > > o-headers-base-2.6.36.1/scripts/Makefile.headersinst:14:
10 > > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento
11 > > o-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild: No such file
12 > > or directory make[2]: *** No rule to make target
13 > > `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gent
14 > > oo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild'. Stop.
15 >
16 > complain to the upstream cris maintainers. take the linux-2.6.36 tree and run
17 > `make ARCH=cris headers_install` and you'll see the same error.
18
19 Right, meanwhile I just found out that the below patch fixes it
20 linux-cris-kernel@××××.com added to this email.
21
22 Axis I then get this glibc-2.12.1 error:
23 make[2]: *** No rule to make target `/var/tmp/portage/cross-cris-linux-gnu/glibc-2.12.1-r3/image//usr/cris-linux-gnu/usr/include/bits/semaphore.h', needed by `install-headers-nosubdir'. Stop.
24 make[2]: *** Waiting for unfinished jobs....
25 make[1]: *** [nptl/install-headers] Error 2
26 make: *** [install-headers] Error 2
27 emake failed
28
29 Why is semabphore.h missing? Should I use some other glibc version?
30
31 --- arch/cris/include/asm/Kbuild.org 2010-12-22 14:14:28.000000000 +0100
32 +++ arch/cris/include/asm/Kbuild 2010-12-22 15:59:54.000000000 +0100
33 @@ -1,7 +1,7 @@
34 include include/asm-generic/Kbuild.asm
35
36 -header-y += arch-v10/
37 -header-y += arch-v32/
38 +header-y += ../arch-v10/arch/
39 +header-y += ../arch-v32/arch/
40
41 header-y += ethernet.h
42 header-y += etraxgpio.h