Re: nss_ldap broken

From: Jacques A. Vidrine <nectar_at_FreeBSD.org>
Date: Thu, 1 Apr 2004 15:53:08 -0600
On Thu, Apr 01, 2004 at 11:42:59AM -0500, Daniel Eischen wrote:
> 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.

Then we're back where we started.  The port will build its applications
*and* libraries with a DT_NEEDED libthrlibofchoice.so.N.  If something
dlopens/dlcloses the library, again we're playing with fire.

Cheers,
-- 
Jacques Vidrine / nectar_at_celabo.org / jvidrine_at_verio.net / nectar_at_freebsd.org
Received on Thu Apr 01 2004 - 11:53:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC