Issues on linuxthreads

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Apr 22 14:11:32 UTC 2008


Will Newton wrote:
> On Tue, Apr 22, 2008 at 1:04 PM, Carmelo AMOROSO <carmelo.amoroso at st.com> wrote:
>
>   
>>> FWIW linuxthreads works for me with the attached patch. It's also
>>> better supports architectures with STACK_GROWS_UP such as hppa.
>>>
>>>
>>>       
>>  Hello,
>>  that means that it needs to build all files with -DSHARED, right ?
>>  I'd like to hear from others reported segfault using linuxthreads if that
>> patch
>>  works fine for all too.
>>     
>
> The problem is caused by __pthread_initialize_minimal built without
> SHARED passing a NULL ptr_pthread_functions to __libc_pthread_init
> built with SHARED that then dereferences it.
>
> I asked a reporter of the segfault bug if that change helped for him
> and it seems not.
>
>   
Hi Will,
I committed your fix in rev 21796.

Carmelo



More information about the uClibc mailing list