Issues on linuxthreads

Will Newton will.newton at gmail.com
Tue Apr 22 12:19:15 UTC 2008


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.



More information about the uClibc mailing list