[Buildroot] MIPS arch on NPTL branch

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Mar 3 18:42:18 UTC 2009


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

James Chapman wrote:
> Carmelo AMOROSO wrote:
>> James Chapman wrote:
>>> Carmelo Amoroso wrote:
>>>> Bernhard Reutner-Fischer wrote:
>>>>> [James, wrong list, redirecting accordingly]
>>>>>
>>>>> On Mon, Mar 02, 2009 at 10:27:25PM +0000, James Chapman wrote:
>>>>>> Just wondering what the status of the MIPS arch is on the uclibc-NPTL
>>>>>> branch tip.  I'm seeing compile errors because _dl_find_hash() now has
>>>>>> an extra argument. Is MIPS missing an update after generic ldso changes?
>>>> I think so
>>>>>> Perhaps someone is already working on this?
>>>> I don't think so. The patch may be trivial. If you are able to test,
>>>> please post the teste patch.
>>> Unfortunately, adding NULL values to the _dl_find_hash() calls as done
>>> in the attached patch doesn't produce useful executables.
>> I did mean trivial == pass NULL.
>> In the NPTL case (more correctly TLS case) it needs to pass, in some
>> case the exta parameter that will hold the pointer to the tpnt where
>> the TLS symbol has been found.
>>
>> Give me some time to check/fix your patch. I don't have any mips box
>> anyway to test... I'll kindly ask you to do this.
> 
> Ok. I'll be happy to test.
> 

James,
I looked at the mips specific part of ld.so and I realised that there in
*nothing* for handling TLS relocations. Probably Steve, who originally
started working on TLS/NPTL port for mips, has never released his mips work.
So, in one word, TLS support on NPTL branch is only available (and
working) for ARM and SH4, that's my understanding.

The common code of ld.so (including TLS part) is working. So if you
volunteer your self for complete the work, welcome !.

Carmelo.

>> Cheers,
>> Carmelo
>>
>>
>>> Freeing unused kernel memory: 144k freed
>>> Kernel panic - not syncing: Attempted to kill init!
>>> /sbin/init: can't handle reloc type 0x2f
>>> What svn version is recommended for MIPS NPTL?
> 

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

iEYEARECAAYFAkmtegoACgkQoRq/3BrK1s+SsQCeOLHdtGakjbCRr+7Yi9ebVns+
gCIAoPGEPGZG9x8mXWniVhHXip7k5KPh
=M0UO
-----END PGP SIGNATURE-----


More information about the uClibc mailing list