[patch] Fixes for non-NPTL threads build

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Jun 17 17:12:16 UTC 2010


On 6/17/2010 6:55 PM, Carmelo AMOROSO wrote:
> On 6/17/2010 5:29 PM, Abdoulaye Walsimou Gaye wrote:
>> On 06/14/2010 01:34 PM, Andrew Stubbs wrote:
>>> Here's a corrected patch. Some of it got into my other SH4AL patch by
>>> mistake.
>>>
>>> This patch fixes some issues building SH uclibc with linuxthreads,
>>> that seem to have been introduced by the NPTL changes.
>>>
>>> Signed-off-by: Andrew Stubbs <ams at codesourcery.com>
>>>
>>>
>>> ---
>>>  .../libc/misc/internals/__uClibc_main.c            |    3 +++
>>>  .../libc/sysdeps/linux/sh/Makefile.arch            |    4 ++++
>>>  .../libc/sysdeps/linux/sh/longjmp.c                |    2 ++
>>>  3 files changed, 9 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/libc/misc/internals/__uClibc_main.c
>>> b/libc/misc/internals/__uClibc_main.c
>>> index d821268..61f821d 100644
>>> --- a/libc/misc/internals/__uClibc_main.c
>>> +++ b/libc/misc/internals/__uClibc_main.c
>>> @@ -36,6 +36,9 @@
>>>  #include <not-cancel.h>
>>>  #include <atomic.h>
>>>  #endif
>>> +#ifdef __UCLIBC_HAS_THREADS__
>>> +#include <pthread.h>
>>> +#endif
>>>
>>>
>> [...]
>>
>> This part of the patch fixes the issue I reported [1].
>>
>> Thanks,
>>
>> [1] http://lists.uclibc.org/pipermail/uclibc/2010-June/044136.html
> 
> I'll split it and commit separately.
> 

done, see if it helps on ARM. SH4 specific fixes will come separately.

> Cheers,
> Carmelo
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://lists.busybox.net/mailman/listinfo/uclibc
>>
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list