Re: commit c697912b3a9 breaks linuxthreads build

2012-03-14 Thread Carmelo AMOROSO
On 27/02/2012 18.44, Carmelo AMOROSO wrote:
 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..

 My fault. I'll look on this end of this week. I'm currently on business
 trip. I'm sorry for the inconvenient.
 
 Carmelo

Folks,
I've fixed it now... sorry for my delay.

I'm going to post a fix (build tested in !threads case).

Carmelo

 ___
 uClibc mailing list
 uClibc@uclibc.org
 http://lists.busybox.net/mailman/listinfo/uclibc
 

___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


Re: commit c697912b3a9 breaks linuxthreads build

2012-03-14 Thread Carmelo AMOROSO
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


___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


Re: commit c697912b3a9 breaks linuxthreads build

2012-03-06 Thread Carmelo AMOROSO
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..
 
My fault. I'll look on this end of this week. I'm currently on business
trip. I'm sorry for the inconvenient.

Carmelo
___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


Re: commit c697912b3a9 breaks linuxthreads build

2012-02-23 Thread Bernhard Reutner-Fischer
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..
___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc


commit c697912b3a9 breaks linuxthreads build

2012-02-20 Thread Tony Wu
Carmelo,

Commit  c697912b3a9 'inet:rpc: fix authnone_marshal in multithreading
context' breaks linuxthreads build,
__libc_once_define is not defined.

libc/inet/rpc/auth_none.c:69: warning: type defaults to 'int' in
declaration of 'type name'
libc/inet/rpc/auth_none.c:69: error: storage class specified for
parameter 'type name'
libc/inet/rpc/auth_none.c:69: error: expected declaration specifiers
or '...' before 'authnone_private_guard'
libc/inet/rpc/auth_none.c:69: warning: data definition has no type or
storage class
libc/inet/rpc/auth_none.c:69: warning: type defaults to 'int' in
declaration of '__libc_once_define'
libc/inet/rpc/auth_none.c: In function 'authnone_create':
libc/inet/rpc/auth_none.c:96: warning: implicit declaration of
function '__libc_once'
libc/inet/rpc/auth_none.c:96: error: 'authnone_private_guard'
undeclared (first use in this function)

Tony
___
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc