Unfortunate dynamic linking for everything

dyson at iquest.net dyson at iquest.net
Tue Nov 18 18:02:20 PST 2003


Gordon Tetlow said:
> On Tue, Nov 18, 2003 at 08:03:23PM -0500, dyson at iquest.net wrote:
> > 
> > However, PAM and NSS 'tricks' really seem to be exactly that,
> > and certainly worthy of special builds.  However, that isn't
> > necessary, yet still not building everything with a shared
> > libc.
> 
> Things like nss_ldap (which is used *heavily* at my place of employment)
> are some reasons that FreeBSD doesn't make it into more places. It was
> the reason why FreeBSD isn't being used here. Calling them 'tricks'
>
Firstly -- I was answering back the 'tricks' comment made that you
had elided :-).  Please quote the message that set-up the context for
the usage.

>
> (and succumbing to the name calling you wanted to avoid) doesn't change
> the fact that every major contender (IRIX, Solaris, Linux to name a few)
> all support this feature set.
> 
As discussed before, it DEFINITELY isn't necessary to dynamically link
EVERYTHING to implement your favorite feature.

Not everyone needs PAM/NSS, even though everyone needs memory management
and scarce resource allocation.  Why build in the overhead for everyone,
and make it UNNCESSARILY worse (e.g. dynamically link libc when you want
NSS or PAM?)  Of course, there was a
development resource limitation, but the decision (discussion) was
made approx 6months ago?  (Enough time to solve the problem without
a GLOBAL performance hit.)

John



More information about the freebsd-current mailing list