public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6
@ 2006-09-27  9:22 Daniel Glaser
  2006-09-27  9:53 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Daniel Glaser
  2006-09-27 14:22 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Mike Frysinger
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Glaser @ 2006-09-27  9:22 UTC (permalink / raw
  To: gentoo-embedded

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

followed the advice to use glibc-2.3.6 and gcc-3.4.6, but now running
into trouble with linux-headers.

crossdev emerges linux-kernel-headers, but stops at glibc-stage.
It can't find kernel-headers >=2.6.6 but 2.6.17 are installed.
linux-headers-2.6.11 also don't emerge correctly (mac32_defconf is
missing)

with
 crossdev --k 2.6.17-r1 --g 3.4.6-r2 --l 2.3.6-r3 -s4 -t
powerpc-softfloat-linux-gnu -v
, the following orrurs:

Output was (at glibc-stage):
 >>> Unpacking source...

 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.9) ... yes
 * Checking linux-headers version (>=2.6.9) ... no

 * You need linux-headers of at least version 2.6.9
 * for NPTL support!

!!! ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.6-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  glibc-2.3.6-r3.ebuild, line 1170:   Called toolchain-glibc_src_unpack
  glibc-2.3.6-r3.ebuild, line 189:   Called check_nptl_support
  glibc-2.3.6-r3.ebuild, line 796:   Called die

!!! linux-headers version too low!
!!! If you need support, post the topmost build error, and the call
stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/overlays/local'
                   [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 SHA1 ;-)
...                                                                        
 
 
[ ok ]
 * glibc-libidn-2.3.6.tar.bz2 SHA256 ;-)
...                                                                      
 
 
[ ok ]
 * glibc-libidn-2.3.6.tar.bz2 size ;-)
...                                                                        
 
 
[ ok ]
 * checking ebuild checksums ;-)
...                                                                            
 
 
 
[ ok ]
 * checking auxfile checksums ;-)
...                                                                           
 
 
 
[ ok ]
 * checking miscfile checksums ;-)
...                                                                          
 
 
 
[ ok ]
 * checking glibc-2.3.6.tar.bz2 ;-)
...                                                                         
 
 
 
[ ok ]
 * checking glibc-linuxthreads-2.3.6.tar.bz2 ;-)
...                                                                  
[ ok ]
 * checking glibc-libidn-2.3.6.tar.bz2 ;-)
...                                                                      
 
[ ok ]
 * checking glibc-2.3.6-patches-1.8.tar.bz2 ;-)
...                                                                   
[ ok ]
 * checking glibc-manpages-2.3.6-1.tar.bz2 ;-)
...                                                                    
[ ok ]
 * checking glibc-infopages-2.3.6.tar.bz2 ;-)
...                                                                     
[ ok ]
 * checking glibc-fedora-20041219T2331.tar.bz2 ;-)
...                                                                 [ ok ]

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-powerpc-softfloat-linux-gnu-info.log
 * /var/log/portage/cross-powerpc-softfloat-linux-gnu-glibc.log
cu
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFGkLGLA0LfkMzpGMRApvZAJwIcaaJE7JvYfIJtDnmPkJEC43UfQCeKDAK
ZX9JwoyNRKtPbCLwHxTjIcw=
=hJwU
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo)
  2006-09-27  9:22 [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Daniel Glaser
@ 2006-09-27  9:53 ` Daniel Glaser
  2006-09-27 11:32   ` [gentoo-embedded] Also uclibc fails Daniel Glaser
  2006-09-27 14:22   ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Mike Frysinger
  2006-09-27 14:22 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Mike Frysinger
  1 sibling, 2 replies; 7+ messages in thread
From: Daniel Glaser @ 2006-09-27  9:53 UTC (permalink / raw
  To: gentoo-embedded

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

forgot something to mention.

glibc-2.3.6-r4 doesn't compile with following error...

...
../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already
defined
make[2]: ***
[/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl/socket/bind.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/socket'
make[1]: *** [socket/subdir_lib] Error 2
make[1]: Leaving directory
`/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.6-r4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1126:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1137:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r4.ebuild, line 224:   Called die

!!! make for default failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/overlays/local'
                   [ ok ]
 * checking miscfile checksums ;-)
...                                                                          
 
 
 
[ ok ]
 * checking glibc-2.3.6.tar.bz2 ;-)
...                                                                         
 
 
 
[ ok ]
 * checking glibc-linuxthreads-2.3.6.tar.bz2 ;-)
...                                                                  
[ ok ]
 * checking glibc-libidn-2.3.6.tar.bz2 ;-)
...                                                                      
 
[ ok ]
 * checking glibc-2.3.6-patches-1.17.tar.bz2 ;-)
...                                                                  
[ ok ]
 * checking glibc-manpages-2.3.6-1.tar.bz2 ;-)
...                                                                    
[ ok ]
 * checking glibc-infopages-2.3.6.tar.bz2 ;-)
...                                                                     
[ ok ]

I slowly get maniac...

- -daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFGkotLA0LfkMzpGMRAuAHAJ96xbIR6zIj0U4uc944o+B+cpe9oQCbBgSy
S+eEMf0UjJL5bwHnVhaIXHM=
=9oRS
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



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

* [gentoo-embedded] Also uclibc fails
  2006-09-27  9:53 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Daniel Glaser
@ 2006-09-27 11:32   ` Daniel Glaser
  2006-09-27 12:45     ` [gentoo-embedded] Also uclibc fails (follow-up) Daniel Glaser
  2006-09-27 14:21     ` [gentoo-embedded] Also uclibc fails Mike Frysinger
  2006-09-27 14:22   ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Mike Frysinger
  1 sibling, 2 replies; 7+ messages in thread
From: Daniel Glaser @ 2006-09-27 11:32 UTC (permalink / raw
  To: gentoo-embedded

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

seems that on ppc with softfloat nothing works!

Also

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

throws me out in uclibc with already defined types in posix_types.h
and kernel_types.h.

The problem seems to be, that in
/usr/powerpc-softfloat-linux-uclibc/usr/include/asm/posix_types.h are
already defined types having the same name as the ones defined in
BUILD_DIR/libc/sysdeps/linux/powerpc/bits/kernel_types.h

Perhaps this is a bug?

- -daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFGmE4LA0LfkMzpGMRAg9YAJ97NXIyFSNhQvaKhYMofhaaACR2wwCeIh3y
O9Hf1eD2xLKPq16EAXhsjyM=
=wUV7
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



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

* [gentoo-embedded] Also uclibc fails (follow-up)
  2006-09-27 11:32   ` [gentoo-embedded] Also uclibc fails Daniel Glaser
@ 2006-09-27 12:45     ` Daniel Glaser
  2006-09-27 14:21     ` [gentoo-embedded] Also uclibc fails Mike Frysinger
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel Glaser @ 2006-09-27 12:45 UTC (permalink / raw
  To: gentoo-embedded

-----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



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

* Re: [gentoo-embedded] Also uclibc fails
  2006-09-27 11:32   ` [gentoo-embedded] Also uclibc fails Daniel Glaser
  2006-09-27 12:45     ` [gentoo-embedded] Also uclibc fails (follow-up) Daniel Glaser
@ 2006-09-27 14:21     ` Mike Frysinger
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2006-09-27 14:21 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Daniel Glaser

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

On Wednesday 27 September 2006 07:32, Daniel Glaser wrote:
> throws me out in uclibc with already defined types in posix_types.h
> and kernel_types.h.

Jocke fixed this upstream and i cut a patch, i just need to release 
0.9.28-r1 ;)
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo)
  2006-09-27  9:53 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Daniel Glaser
  2006-09-27 11:32   ` [gentoo-embedded] Also uclibc fails Daniel Glaser
@ 2006-09-27 14:22   ` Mike Frysinger
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2006-09-27 14:22 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Daniel Glaser

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Wednesday 27 September 2006 05:53, Daniel Glaser wrote:
> ../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already
> defined

broken because you're using binutils-2.17 ... ive fixed this in the 
[unreleased] 2.3.6-r5

guess i need to make some releases this weekend ...
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6
  2006-09-27  9:22 [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Daniel Glaser
  2006-09-27  9:53 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Daniel Glaser
@ 2006-09-27 14:22 ` Mike Frysinger
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2006-09-27 14:22 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Daniel Glaser

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

On Wednesday 27 September 2006 05:22, Daniel Glaser wrote:
>  crossdev --k 2.6.17-r1 --g 3.4.6-r2 --l 2.3.6-r3 -s4 -t

glibc versions 2.3.6-r3 and older are not supported
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

end of thread, other threads:[~2006-09-27 14:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-27  9:22 [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Daniel Glaser
2006-09-27  9:53 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Daniel Glaser
2006-09-27 11:32   ` [gentoo-embedded] Also uclibc fails Daniel Glaser
2006-09-27 12:45     ` [gentoo-embedded] Also uclibc fails (follow-up) Daniel Glaser
2006-09-27 14:21     ` [gentoo-embedded] Also uclibc fails Mike Frysinger
2006-09-27 14:22   ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 (addinfo) Mike Frysinger
2006-09-27 14:22 ` [gentoo-embedded] kernel-headers-problem with powerpc-softfloat-linux-gnu, glibc-2.3.6 and gcc-3.4.6 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox