Gentoo Archives: gentoo-embedded

From: Daniel Glaser <daniel.glaser@××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Also uclibc fails (follow-up)
Date: Wed, 27 Sep 2006 12:42:21
Message-Id: 451A7283.6030404@chaintronics.com
In Reply to: [gentoo-embedded] Also uclibc fails by Daniel Glaser
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4
5 I gave armeb a try and did
6
7 crossdev --b 2.17 --k 2.6.17-r1 --g 3.4.6-r2 -s4 -t
8 armeb-softfloat-linux-uclibc -v
9
10 This worked really fine (hm, must be because the crossdev developer
11 plays with arm ;-)
12
13 After comparing armeb and powerpc I found, where it gets into trouble:
14
15 This is PowerPcs kernel_types.h
16
17 #if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H
18 #define _PPC_POSIX_TYPES_H
19 #define _PPC64_POSIX_TYPES_H
20
21
22 and PowerPCs posix_types.h
23
24 #ifndef _ASM_POWERPC_POSIX_TYPES_H
25 #define _ASM_POWERPC_POSIX_TYPES_H
26
27 for arm it looks like the following
28 for ARMs kernel_types.h
29
30 #ifndef __ARCH_ARM_POSIX_TYPES_H
31 #define __ARCH_ARM_POSIX_TYPES_H
32
33 and ARMs posix_types.h
34
35 #ifndef __ARCH_ARM_POSIX_TYPES_H
36 #define __ARCH_ARM_POSIX_TYPES_H
37
38 This means, that for ARM, the defines match and are not included
39 twice, for PowerPC respectively PPC they get included twice.
40
41 So, the most consistent way to solve this in my opinion is, to rename
42 this both defines to __ARCH_PPC_POSIX_TYPES_H respectively
43 __ARCH_PPC64_POSIX_TYPES_H
44
45 this should solve this Bug.
46
47 cu
48 daniel
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v1.4.5 (MingW32)
51 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
52
53 iD8DBQFFGnKBLA0LfkMzpGMRAitSAJ9BkxbPGNVKUVxKr1JcanDOn2HprgCaAg7j
54 HY6KMPYVnjglz5HcibZHiUU=
55 =YKc8
56 -----END PGP SIGNATURE-----
57
58 --
59 gentoo-embedded@g.o mailing list