This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: static binaries and NSS


On Thu, Jun 12, Jakub Jelinek wrote:

> On Thu, Jun 12, 2003 at 04:21:36PM -0400, Nicholas Wourms wrote:
> > Ulrich Drepper wrote:
> > >-----BEGIN PGP SIGNED MESSAGE-----
> > >Hash: SHA1
> > >
> > >Thorsten Kukuk wrote:
> > >
> > >
> > >>+link_warning (getgrouplist, "the `getgrouplist' function should not be 
> > >>used in static binaries.")
> > >
> > >
> > >"should not be used" probably isn't the right wording, especially if the
> > >loading issue is resolved with Jakub's patch or something similar.  It
> > >might be fine, given the situation.  The actual problem should be
> > >described.  I probably settle for
> > >
> > >using 'foo' in statically linked applications requires at runtime the
> > >NSS modules from the glibc version used for linking
> > 
> > How about:
> > 
> > "Using 'foo' in a statically linked binary requires the NSS modules from 
> > the same glibc version it was built against be present for proper 
> > runtime execution."
> 
> Not only NSS modules, but whole same glibc.

Yes, and this is impossible. I think we should write that it is a bad
idea to use this function in a static linked binary, even with Jakub's
patch.

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]