This is the mail archive of the libc-alpha@sourceware.org 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: [patch] Fix linking ldconfig when --enable-static-nss (with ChangeLog)


On Thu, Mar 22, 2012 at 12:46 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> AFAICT, $(static-only-routines) is used to filter stuff out of libc.so,
>> but *not* to add anything to libc.a.
>
> Ok. ?So you add them to both routines and static-only-routines.

Thanks for the clue. Yes, that works.

Tested for both with and without --enable-static-nss builds. Updated
patch attached.

Thanks,
-- 
Paul Pluzhnikov

2012-03-22  Daniel Jacobowitz  <dmj@google.com>
            Paul Pluzhnikov  <ppluzhnikov@google.com>

	[BZ #6528]
	* grp/Makefile, inet/Makefile, login/Makefile, nscd/Makefile,
	posix/Makefile, pwd/Makefile, rt/Makefile, sunrpc/Makefile: Do not
	set otherlibs for static NSS.
	* nss/Makefile: Likewise.  Include libnss_files in libc.a for
	--enable-static-nss.  Remove special case for getent.
	* resolv/Makefile: Include libnss_dns in libc.a for
	--enable-static-nss.

Attachment: glibc-pr6528-20120322a.txt
Description: Text document


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