gentoo-embedded  

[gentoo-embedded] Also uclibc fails (follow-up)

Daniel Glaser
Wed, 27 Sep 2006 05:42:22 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

I gave armeb a try and did

 crossdev --b 2.17 --k 2.6.17-r1 --g 3.4.6-r2 -s4 -t
armeb-softfloat-linux-uclibc -v

This worked really fine (hm, must be because the crossdev developer
plays with arm ;-)

After comparing armeb and powerpc I found, where it gets into trouble:

This is PowerPcs kernel_types.h

#if ! defined _PPC_POSIX_TYPES_H && ! defined _PPC64_POSIX_TYPES_H
#define _PPC_POSIX_TYPES_H
#define _PPC64_POSIX_TYPES_H


and PowerPCs posix_types.h

#ifndef _ASM_POWERPC_POSIX_TYPES_H
#define _ASM_POWERPC_POSIX_TYPES_H

for arm it looks like the following
for ARMs kernel_types.h

#ifndef __ARCH_ARM_POSIX_TYPES_H
#define __ARCH_ARM_POSIX_TYPES_H

and ARMs posix_types.h

#ifndef __ARCH_ARM_POSIX_TYPES_H
#define __ARCH_ARM_POSIX_TYPES_H

This means, that for ARM, the defines match and are not included
twice, for PowerPC respectively PPC they get included twice.

So, the most consistent way to solve this in my opinion is, to rename
this both defines to __ARCH_PPC_POSIX_TYPES_H respectively
__ARCH_PPC64_POSIX_TYPES_H

this should solve this Bug.

cu
daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFGnKBLA0LfkMzpGMRAitSAJ9BkxbPGNVKUVxKr1JcanDOn2HprgCaAg7j
HY6KMPYVnjglz5HcibZHiUU=
=YKc8
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list