This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: deprecated sunrpc and rpc/netdb.h
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Mike Frysinger <vapier at gentoo dot org>, Thorsten Kukuk <kukuk at suse dot de>, <libc-alpha at sourceware dot org>
- Date: Fri, 18 Mar 2016 14:59:23 -0700 (PDT)
- Subject: Re: deprecated sunrpc and rpc/netdb.h
- Authentication-results: sourceware.org; auth=none
- References: <20160316100021 dot GA8341 at suse dot de> <mvmy49ig0wz dot fsf at hawking dot suse dot de> <20160316141808 dot GJ6588 at vapier dot lan> <20160316143302 dot GA2794 at suse dot de> <20160316192823 dot GM6588 at vapier dot lan> <20160317104841 dot GA32414 at suse dot de> <20160317145150 dot GR6588 at vapier dot lan> <20160317150149 dot GA21496 at suse dot de> <20160317181106 dot GV6588 at vapier dot lan> <20160317181420 dot GW6588 at vapier dot lan> <alpine dot DEB dot 2 dot 10 dot 1603172217290 dot 18027 at digraph dot polyomino dot org dot uk>
> When it's a full replacement, we should also work out how to stop as much
> as possible of the deprecated code from being built at all for future
> architecture ports (so that for ports whose lowest symbol version is
> GLIBC_2.24 or whatever, the symbols don't exist in the glibc ABI even as
> compat symbols and --enable-obsolete-rpc isn't allowed at all).
Heartily agreed! I started to take a stab at this quite a while ago, but
gave up quickly. I think it will be substantially simpler if we've first
gotten all YP/NIS/NIS+-related code out of libc entirely (when TI-RPC or
another project depending on it supplies libnss_{nis,nisplus,compat} and
libnsl so no libc configuration needs to do so even for ABI compatibility).
Thanks,
Roland