[OpenAFS-devel] GNU glibc >=2.26 and openafs

Peter Gille petergil+afs@pdc.kth.se
Sat, 09 Dec 2017 17:29:31 +0100


Hi,

in the recent release of GNU glibc 2.26[1] the sunrpc implementation was
deprecated. This means that if you do not use the
'--enable-obsolete-rpc' configure option when compiling glibc your
openafs compile will fail with a missing include[2], and probably some
further problems if you fix that.

In the release notes for glibc it states that you should instead use
alternative rpc implementations like TIRPC or rpcsvc-proto. As far as I
can see there is no support in the openafs configure script to use those
instead.

Would it be possible to use those alternative implementations if found?
Are they workable replacements for the old sunrpc?

This is currently causing problems for my gentoo install where the
packagers have already switched off sunrpc support in glibc, and I
expect that other distributions will also turn this off in the future.

Cheers,
Peter

--
[1] - https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html
[2] - rpc/types.h