This is the mail archive of the glibc-bugs@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]

[Bug libc/6528] New: Fixes for --enable-static-nss


I'll attach a patch that fixes glibc build with --enable-static-nss and makes it
usable by automatically including the necessary libraries in libc.a.  Otherwise
compile flags for every application have to be changed to include -lnss_files
-lnss_dns -lresolv or else there are link errors from any NSS use.

I realize the option is not supported.  Since the fix mostly deletes code I
figured I'd submit it anyway.

I used bugzilla despite the comment in bug 631, since the policy seems to have
changed since 2005; the glibc maintainers tell people to put patches in Bugzilla
now.  If you'd prefer this on libc-alpha just close it and I'll post there.

-- 
           Summary: Fixes for --enable-static-nss
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: roland at gnu dot org
        ReportedBy: drow at sources dot redhat dot com
                CC: glibc-bugs at sources dot redhat dot com,jan dot
                    kratochvil at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6528

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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