This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm-none-linux-gnueabi finishes in an infinite glibc configure loop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]