commit c697912b3a9 breaks linuxthreads build

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Mar 14 14:30:29 UTC 2012


On 23/02/2012 21.28, Bernhard Reutner-Fischer wrote:
> On Tue, Feb 21, 2012 at 11:36:11AM +0800, Tony Wu wrote:
>> Carmelo,
>>
>> Commit  c697912b3a9 'inet:rpc: fix authnone_marshal in multithreading
>> context' breaks linuxthreads build,
> 
> LT as in LT.old or LT.new? Seems it doesn't matter.
> 
> What arch are you using so that you don't use NPTL?
> 
>> __libc_once_define is not defined.
> 
> Carmelo, can you please have a look please?
> You broke LT.old, LT.new _and_ !threads..
> 

ok for !threads case where __libc_once is missing at all, but
LT.{old,new} has __libc_once defined in libc-lock.h (as NPTL), so likely
in this case it needs to include explicitly the header file (that some
some side effect is get included in NPTL case).

I've fixed the case !threads now.

Carmelo




More information about the uClibc mailing list