[RFC PATCH] Remove --enable-obsolete-rpc flag

Thorsten Kukuk kukuk@suse.de
Thu Jun 4 11:38:23 GMT 2020

On Thu, Jun 04, Petr Vorel wrote:

> > * Petr Vorel:
> > > this is a naive approach to stop providing the Sun RPC headers and
> > > related tools. It'd be great to move on and encourage using libtirpc and
> > > rpcsvc-proto for the rest of the users which are still using glibc
> > > implementation on never distros. Is it too early for it? If not,
> > > dropping --enable-obsolete-nsl could also be considered.
> > I'm surprised that --enable-obsolete-nsl is not broken by this.  I would
> > have expected that we would have to move that one first.  Don't the
> > installed headers for libnsl use rpc headers?
> I guess, Thorsten would know getter. nis/libnsl.h include <rpcsvc/nis.h> so it
> looks like I first need to implement --enable-obsolete-nsl.

The glibc libnsl code depends on sunrpc. Maybe it will built with 
libtirpc, never tried that, but this doesn't make any sense.

If you want to remove code:
1. libnsl
2. sunrpc


Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg)

More information about the Libc-alpha mailing list