Re: crossdev ppc-softfloat-linux-gnu gcc 3.4.5 libc 2.3.6 failed
Cees Koolen <
cees@...>
2007-10-01 10:12:06 GMT
Both -t and powerpc in stead of ppc worked for the first error. The crossdev
tool results in another error. This time it fails to build glibc. There seems to
be something wrong with the kernel header version but I do not understand fully why.
It complaints that the version is to old and shoud be at least 2.6.6 (for NPTL).
So I tried to run in again with kernel version 2.6.19 and it results in the same
error.
#crossdev --k 2.6.19 -s4 --target powerpc-softfloat-linux-gnu
(With or without the --k option, the result is the same.
Thanks a lot for the response before!
Cees
Mike Frysinger wrote:
> On Friday 28 September 2007, Cees Koolen wrote:
>> -t -s4
>
> as noted, this is wrong ... drop the -t
>
>> --target ppc-softfloat-linux-gnu
>
> ppc is not valid ... you want powerpc
>
>> --gcc 3.4.5 --libc 2.3.6
>
> old versions not supported anymore ... it may work, it may not
>
>> * This version of linux-headers does not support unknown.
>
> most likely caused by the incorrect target you're using ...
> it's "powerpc-...", not "ppc-..."
> -mike
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3 to /
* glibc-libidn-2.3.5.tar.bz2 RMD160
... [ ok ]
* glibc-libidn-2.3.5.tar.bz2 SHA1
... [ ok ]
* glibc-libidn-2.3.5.tar.bz2 SHA256
... [ ok ]
* glibc-libidn-2.3.5.tar.bz2 size
... [ ok ]
* glibc-2.3.5-patches-1.16.tar.bz2 RMD160
... [ ok ]
* glibc-2.3.5-patches-1.16.tar.bz2 SHA1
... [ ok ]
* glibc-2.3.5-patches-1.16.tar.bz2 SHA256
... [ ok ]
* glibc-2.3.5-patches-1.16.tar.bz2 size
... [ ok ]
* glibc-linuxthreads-2.3.5.tar.bz2 RMD160
... [ ok ]
* glibc-linuxthreads-2.3.5.tar.bz2 SHA1
... [ ok ]
* glibc-linuxthreads-2.3.5.tar.bz2 SHA256
... [ ok ]
* glibc-linuxthreads-2.3.5.tar.bz2 size
... [ ok ]
* glibc-fedora-20041219T2331.tar.bz2 RMD160
... [ ok ]
* glibc-fedora-20041219T2331.tar.bz2 SHA1
... [ ok ]
* glibc-fedora-20041219T2331.tar.bz2 SHA256
... [ ok ]
* glibc-fedora-20041219T2331.tar.bz2 size
... [ ok ]
* glibc-manpages-2.3.5.tar.bz2 RMD160
... [ ok ]
* glibc-manpages-2.3.5.tar.bz2 SHA1
... [ ok ]
* glibc-manpages-2.3.5.tar.bz2 SHA256
... [ ok ]
* glibc-manpages-2.3.5.tar.bz2 size
... [ ok ]
* glibc-2.3.5.tar.bz2 RMD160
... [ ok ]
* glibc-2.3.5.tar.bz2 SHA1
... [ ok ]
* glibc-2.3.5.tar.bz2 SHA256
... [ ok ]
* glibc-2.3.5.tar.bz2 size
... [ ok ]
* glibc-infopages-2.3.5.tar.bz2 RMD160
... [ ok ]
* glibc-infopages-2.3.5.tar.bz2 SHA1
... [ ok ]
* glibc-infopages-2.3.5.tar.bz2 SHA256
... [ ok ]
* glibc-infopages-2.3.5.tar.bz2 size
... [ ok ]
* checking ebuild checksums
... [ ok ]
* checking auxfile checksums
... [ ok ]
* checking miscfile checksums
... [ ok ]
* checking glibc-2.3.5.tar.bz2
... [ ok ]
* checking glibc-linuxthreads-2.3.5.tar.bz2
... [ ok ]
* checking glibc-libidn-2.3.5.tar.bz2
... [ ok ]
* checking glibc-2.3.5-patches-1.16.tar.bz2
... [ ok ]
* checking glibc-manpages-2.3.5.tar.bz2
... [ ok ]
* checking glibc-infopages-2.3.5.tar.bz2
... [ ok ]
* checking glibc-fedora-20041219T2331.tar.bz2
... [ ok ]
>>> Unpacking source...
* Checking gcc for __thread support ... yes
* Checking kernel version (>=2.6.6) ... yes
* Checking linux-headers version (>=2.6.6) ... no
* You need linux-headers of at least version 2.6.6
* for NPTL support!
*
* ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_unpack
* ebuild.sh, line 768: Called qa_call 'src_unpack'
* ebuild.sh, line 44: Called src_unpack
* glibc-2.3.5-r3.ebuild, line 1084: Called toolchain-glibc_src_unpack
* glibc-2.3.5-r3.ebuild, line 164: Called check_nptl_support
* glibc-2.3.5-r3.ebuild, line 723: Called die
*
* linux-headers version too low!
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*
* Messages for package cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3:
* You need linux-headers of at least version 2.6.6
* for NPTL support!
*
* ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_unpack
* ebuild.sh, line 768: Called qa_call 'src_unpack'
* ebuild.sh, line 44: Called src_unpack
* glibc-2.3.5-r3.ebuild, line 1084: Called toolchain-glibc_src_unpack
* glibc-2.3.5-r3.ebuild, line 164: Called check_nptl_support
* glibc-2.3.5-r3.ebuild, line 723: Called die
*
* linux-headers version too low!
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/cross-powerpc-softfloat-linux-gnu/glibc-2.3.5-r3/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*