[DynInst_API:] dyninst does not build with Fedora 28 glibc


Date: Mon, 05 Feb 2018 15:04:25 -0500
From: Stan Cox <scox@xxxxxxxxxx>
Subject: [DynInst_API:] dyninst does not build with Fedora 28 glibc
dyninst does not build with Fedora 28; one gets the error:

In file included from /home/scox/work/dyninst/src/common/src/headers.h:56,
                 from /home/scox/work/dyninst/src/common/src/Ident.h:47,
                 from /home/scox/work/dyninst/src/common/src/Ident.C:36:
/home/scox/work/dyninst/src/common/src/linuxHeaders.h:62:10: fatal error: rpc/types.h: No such file or directory
 #include <rpc/types.h>


glibc is removing rpc; which is described here:
 https://fedoraproject.org/wiki/Changes/SunRPCRemoval

Most of the references to rpc/types.h are also in sys/types.h
This set is:
bool_t
u_char
u_short
u_int
caddr_t

Of those only bool_t is not present.

I'm trying to get a feel for how rpc is being used so I can find a workaround (so I can eliminate the nice daily reminders about this!) Installing the package libtirpc-devel adds /usr/include/tirpc/types.h I notice references to xdr_* in linuxHeaders.h but I don't see any references in any *.C files.

Any suggestions/insights appreciated.
[← Prev in Thread] Current Thread [Next in Thread→]