[PATCH 2/3] Remove --enable-obsolete-nsl configure flag

Florian Weimer fweimer@redhat.com
Wed Jul 8 15:22:01 GMT 2020


* H. J. Lu:

> On Wed, Jul 8, 2020 at 7:55 AM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * H. J. Lu:
>>
>> > On Wed, Jul 08, 2020 at 02:05:56PM +0200, GNU C Library wrote:
>> >> From: Petr Vorel <pvorel@suse.cz>
>> >>
>> >> this means that *always* libnsl is only built as shared library for
>> >> backward compatibility and the NSS modules libnss_nis and libnss_nisplus
>> >> are not built at all, libnsl's headers aren't installed.
>> >>
>> >> This compatibility is kept only for architectures and ABIs that have
>> >> been added in or before version 2.28.
>> >>
>> >> Replacement implementations based on TIRPC, which additionally support
>> >> IPv6, are available from <https://github.com/thkukuk/>.
>> >>
>> >> This change does not affect libnss_compat which does not depended
>> >> on libnsl since 2.27 and thus can be used without NIS.
>> >>
>> >> libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed
>> >> libnsl headers use installed Sun RPC headers), which will be removed in
>> >> the following commit.
>> >
>> > Without --enable-obsolete-nsl nor --enable-obsolete-rpc, are the installed
>> > glibc binaries and header files the same as before this patch, excluding
>> > debug info?  If the answer is yes, it is OK.
>>
>> The NIS-related defaults are gone, which is why the installed binaries
>> change.
>>
>> Thanks,
>> Florian
>>
>
> So are the only changes in /etc/nsswitch.conf?

I was wrong.  The stripped .so files are the same after applying the
final two patches.  The first patch changes link order, that's what
causes the differences.

Thanks,
Florian



More information about the Libc-alpha mailing list