arm-none-linux-gnueabi finishes in an infinite glibc configure loop
Steve Papacharalambous
stevep@freescale.com
Wed Sep 20 13:08:00 GMT 2006
Hi Valentin,
The srpm for the toolchain that you are using is available from:
http://www.bitshrine.org/gpp/
and the name of the rpm is: tc-fsl-x86lnx-armeabi-nptl-4.1.1-2.src.rpm
If you install the srpm and then extract the crosstool archive,
crosstool-0.42_fsl26Jun06.tar.gz, the patches that were used to build
this toolchain can be found in the crosstool patches subdirectory, so
the patches applied to glibc-2.4 will be in:
crosstool-0.42_fsl/patches/glibc-2.4
and the patches applied to glibc-ports will be in:
crosstool-0.42_fsl/patches/glibc-ports-2.4
Hope that this helps,
Best regards,
Steve
Valentin Longchamp wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> I've patched crosstool-0.42 with this patch
> (http://www.freaknet.org/martin/crosstool/crosstool-0.42-mg2.patch).
>
> However I feel like I'm missing some patches because my compilation
> still ends with this message:
>
>
>>Install glibc headers needed to build bootstrap compiler -- but only if gcc-3.x
>>+ grep -q 'gcc-[34]' /home/valentin/downloads/gcc-4.1.1/ChangeLog
>>+ test '!' -f /opt/crosstool/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/include/features.h
>>+ mkdir -p build-glibc-headers
>>+ cd build-glibc-headers
>>+ test '!' -f Makefile
>>+ libc_cv_ppc_machine=yes
>>+ CC=gcc
>>+ /home/valentin/downloads/glibc-2.4/configure --prefix=/usr --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi --without-cvs --disable-sanity-checks --with-headers=/opt/crosstool/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/include --enable-add-ons=nptl --with-tls --with-__thread --enable-kernel=2.6.4 --with-abi=aapcs-linux --enable-hacker-mode
>>checking build system type... i686-pc-linux-gnu
>>checking host system type... arm-none-linux-gnueabi
>>configure: running configure fragment for add-on nptl
>>checking sysdep dirs... configure: error: The arm is not supported.
>>[valentin@lsa1pc7][14:35:27]
>>[crosstool-0.42]>
>
>
> I think I need to install some patch for glibc, for instance what is
> said in the
> http://www.freaknet.org/martin/crosstool/crosstool-0.42-mg2.patch:
>
>
>> * Integrate the meaningful content of Khem Raj's NPTL patches and
>> Steve Papacharalambous's ARM GNUEABI glibc-2.4 patches in a way that
>> doesn't break non-NPTL builds or backward compatability in the dat files.
>> To do an NPTL build, just set GLIBC_ADDON_OPTIONS=nptl
>>
>
>
> How do I find these patches or at least a list of the needed patches for
> an gnueabi arm cross-toolchain ?
>
> Thank you
>
> Valentin
>
> Martin Guy wrote:
>
>>You probably want binutils-2.17 too.
>>
>>To make arm-*-gnueabi work in crosstool-0.42 I had to integrate
>>several patches including Khem Raj's extensive work to make NPTL work,
>>though I never heard of any freescale-specific things.
>>You'll find the relevant patches, kernel config and dat files at
>>freaknet.org/martin/crosstool - compare these with what you are using.
>>
>>Good luck!
>>
>> M
>>
>>--
>>For unsubscribe information see http://sourceware.org/lists.html#faq
>>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFETarCGmesagzEtoRAghxAKCiIL+2PdCxj1T5xfCxKs15VmBRcACgzufU
> RRECf2Ltsdc6UGG9ue2ji4s=
> =h1rq
> -----END PGP SIGNATURE-----
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list