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 1, 2012 at 3:42 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Sat, 25 Feb 2012, Paul Pluzhnikov wrote:
>
>> The patch is much simpler than the one attached to
>> http://sourceware.org/bugzilla/show_bug.cgi?id=6528, but requires that
>> a statically-linked binary explicitly list "-lnss_files -lnss_dns
>> -lresolv" on the link line.
>>
>> I *think* Daniel's patch from PR 6528 would not require clients to do
>> that, so perhaps that's better?
>
> As I see it, Daniel's patch has the twin advantages:
>
> * It reduces the amount of code involved in supporting
> --enable-static-nss.
>
> * It makes --enable-static-nss easier to use.
>
> Thus, I'd prefer Daniel's patch. ?What do other people think?

I agree.

A cleanup *and* easier to use make Daniel's patch the best way forward.

Cheers,
Carlos.


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