pthreads in configure
David.Collier-Brown at Sun.COM
Fri May 27 18:16:23 GMT 2005
Solaris uses one of the related flags (-mt, I think) to tell
the compiler that it needs to use the thread-compatible errno
If you take it out, functions return -1, but errno is left zero
when returning from MT libraries, which May Be Bad (and is
bad in one known example).
Rafal Szczesniak wrote:
> On Fri, May 27, 2005 at 03:19:58PM +0200, Jelmer Vernooij wrote:
>>On Fri, May 27, 2005 at 02:54:22PM +0200, Rafal Szczesniak wrote about 'Re: pthreads in configure':
>>>On Fri, May 27, 2005 at 02:45:50PM +0200, Rafal Szczesniak wrote:
>>>Scratch that. I meant using pthread support flag in compiler, not
>>>linking against libpthread.
>>>Question remains - what's the reason ? Not that it makes my life
>>It's probably added by some external library we're using that
>>specifies it needs it. I think gconf, for example, causes -pthreads to
> Ah, all right then.
David Collier-Brown, | Always do right. This will gratify
Sun Microsystems, Toronto | some people and astonish the rest
davecb at canada.sun.com | -- Mark Twain
(416) 263-5733 (x65733) |
More information about the samba-technical