[patch nptl] i386 support somewhat usable

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Apr 15 07:17:16 UTC 2009


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

Khem Raj wrote:
> 2009/4/11 Timo Teräs <timo.teras at iki.fi>:
>> Khem Raj wrote:
>>> On Wednesday 08 April 2009 11:56:23 pm Timo Teräs wrote:
>>>> Patch is at:
>>>> http://solidboot.com/~fabled/uclibc-nptl-i386.diff
>>> I looked at this patch quickly. One thing that I saw was that you are disabling
>>> .eh_frame sections in asm files. Is there any reason why you do so ? this is most probably the reason
>>> why cancellation is not working for you
>> It didn't compile and I was more interested getting the basic stuff
>> working first.
>>
>>> building a toochain with nptl/uclibc needs slightly different build sequence
>>>
>>> if you are interested you can try/adapt the script I have posted here
>>>
>>> http://uclibc.org/~kraj/toolchain-uclibc.sh
>>>
>>> this should help you build the toolchain with uclibc/nptl
>> Thanks. I'll take a look. I need to fix my toolchain first for testing
>> the cancellations et al. Currently it breaks because of libgcc.
> 
> I thought so. thats why I forwarded you this script because it addresses the
> libgcc problem
> 
Hi,
I've looked at Khem script and it is doing the right thing to cope
with libgcc issue. Basically, the problem in buildroot is thatm
during gcc phase 2 compilation, it does not configure gcc with sysroot.

My proposal for buildroot is to add a new gcc config option
BR2_GCC_FINAL_NEEDS_SYSROOT to build cross gcc (final stage) with
- --with-sysroot option (required to fix libgcc by using the correct
unwind functions implementation), and few other changes to properly
use PREFIX/RUNTIME_PREFIX.

I'll post asap a full patch to the buildroot list.

Cheers,
Carmelo
>>> Btw. Good work ! Â thanks for doing it.
>> - Timo
>>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknlifwACgkQoRq/3BrK1s+ZCACgmqX5beNM6swCdSSRd0o/qQCI
h8oAmgJ4fwTCvKZRHoCikH+KMBZVn5jw
=UfFC
-----END PGP SIGNATURE-----


More information about the uClibc mailing list