Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 11:42:59 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject:   Re: nss_ldap broken
Message-ID:  <Pine.GSO.4.10.10404011141270.23686-100000@pcnet5.pcnet.com>
In-Reply-To: <20040401153815.GD60392@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Apr 2004, Jacques A. Vidrine wrote:

> On Thu, Apr 01, 2004 at 10:16:25AM -0500, Daniel Eischen wrote:
> > I think the best way is to avoid having shared libraries needlessly linked to
> > a threads library.
> 
> If we can guarantee that -pthread would give that behavior ``forever'',
> then great.  I guess we've come full circle  (``-pthread good''
> ``-pthread bad, don't use it'' ``-pthread good'').  :-)
> 
> Then how does one pick an alternate threading library?  Say `libmap' and

Override PTHREAD_LIBS to be -lthrlibofchoice for
the port you are building.

> I'll choke. :-)  I seem to recall that one of the GCC guys made a
> detailed proposal for extending the syntax of `-pthread' to handle
> alternate threading libraries, but I can't find that posting right now.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10404011141270.23686-100000>