Re: static linking for pthreads in nptl branch?

2008-09-04 Thread Carmelo AMOROSO
Carmelo AMOROSO wrote: > Chris Metcalf wrote: >> On 9/2/2008 10:25 AM, Chris Metcalf wrote: >>> On 9/2/2008 10:06 AM, Carmelo AMOROSO wrote: >>> I had to read it more carefully.. you are right, and yes, probably the issue you were referring to about static link and pthread was raised >

Re: static linking for pthreads in nptl branch?

2008-09-04 Thread Carmelo AMOROSO
Chris Metcalf wrote: > On 9/2/2008 10:25 AM, Chris Metcalf wrote: >> On 9/2/2008 10:06 AM, Carmelo AMOROSO wrote: >> >>> I had to read it more carefully.. you are right, and yes, probably the >>> issue you were referring to about static link and pthread was raised >>> by me in the past. >>> It w

Re: static linking for pthreads in nptl branch?

2008-09-03 Thread Chris Metcalf
On 9/2/2008 10:25 AM, Chris Metcalf wrote: > On 9/2/2008 10:06 AM, Carmelo AMOROSO wrote: > >> I had to read it more carefully.. you are right, and yes, probably the >> issue you were referring to about static link and pthread was raised >> by me in the past. >> It was related to opendir functio

Re: static linking for pthreads in nptl branch?

2008-09-02 Thread Carmelo AMOROSO
Chris Metcalf wrote: > On 9/2/2008 10:06 AM, Carmelo AMOROSO wrote: >> I had to read it more carefully.. you are right, and yes, probably the >> issue you were referring to about static link and pthread was raised >> by me in the past. >> It was related to opendir function that is the only function

Re: static linking for pthreads in nptl branch?

2008-09-02 Thread Chris Metcalf
On 9/2/2008 10:06 AM, Carmelo AMOROSO wrote: > I had to read it more carefully.. you are right, and yes, probably the > issue you were referring to about static link and pthread was raised > by me in the past. > It was related to opendir function that is the only function within libc > that calls p

Re: static linking for pthreads in nptl branch?

2008-09-02 Thread Carmelo AMOROSO
Chris Metcalf wrote: > On 9/1/2008 11:29 AM, Carmelo Amoroso wrote: >> Chris Metcalf wrote: >>> It looks like my real problem was specific to some changes I made in our >>> malloc. We use the "mspace" malloc that is in later versions of Doug >>> Lea's malloc, and one thing we do for performance is

Re: static linking for pthreads in nptl branch?

2008-09-01 Thread Chris Metcalf
On 9/1/2008 11:29 AM, Carmelo Amoroso wrote: > Chris Metcalf wrote: >> It looks like my real problem was specific to some changes I made in our >> malloc. We use the "mspace" malloc that is in later versions of Doug >> Lea's malloc, and one thing we do for performance is to give each thread >> its

Re: static linking for pthreads in nptl branch?

2008-09-01 Thread Carmelo Amoroso
Chris Metcalf wrote: > On 9/1/2008 2:51 AM, Carmelo AMOROSO wrote: >> Chris Metcalf wrote: >>> I seem to recall seeing some comment somewhere that static linking >>> didn't work with pthread programs in the NPTL branch. >> No, there were bugs in the past but all fixed. We use nptl branch for >> s

Re: static linking for pthreads in nptl branch?

2008-09-01 Thread Chris Metcalf
On 9/1/2008 2:51 AM, Carmelo AMOROSO wrote: > Chris Metcalf wrote: >> I seem to recall seeing some comment somewhere that static linking >> didn't work with pthread programs in the NPTL branch. > No, there were bugs in the past but all fixed. We use nptl branch for > sh4 statically linked too...

Re: static linking for pthreads in nptl branch?

2008-09-01 Thread Carmelo AMOROSO
Forwarded just in case this reply previously was not received. I got an error from the mailer. Carmelo Original Message Subject: Re: static linking for pthreads in nptl branch? Date: Mon, 01 Sep 2008 10:27:53 +0200 From: Carmelo AMOROSO <[EMAIL PROTECTED]> Organi

Re: static linking for pthreads in nptl branch?

2008-08-31 Thread Carmelo AMOROSO
Chris Metcalf wrote: > I seem to recall seeing some comment somewhere that static linking > didn't work with pthread programs in the NPTL branch. No, there were bugs in the past but all fixed. We use nptl branch for sh4 statically linked too... unless I did not push back these fix to the SVN np

static linking for pthreads in nptl branch?

2008-08-31 Thread Chris Metcalf
I seem to recall seeing some comment somewhere that static linking didn't work with pthread programs in the NPTL branch. Of course, I had to go and debug a crash bug for a few hours first before I actually remembered. :-) The problem I ended up looking at was that __pthread_initialize_minimal()