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


Date: Mon, 5 Feb 2018 20:12:39 +0000
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] dyninst does not build with Fedora 28 glibc
I am reasonably certain that both Ident.[Ch] and the various xdr wrapper functions in linuxHeaders.h are dead code entirely; I've never seen them used anywhere. Any RPCs we're performing should happen through ProcControl's RPC interface these days. (And by "these days" I mean roughly post-2010. I don't know how far back that code dates, but it's older than that I'm pretty sure.)

--bw
________________________________________
From: Dyninst-api <dyninst-api-bounces@xxxxxxxxxxx> on behalf of Stan Cox <scox@xxxxxxxxxx>
Sent: Monday, February 5, 2018 2:04 PM
To: Dyninst-api@xxxxxxxxxxx
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.
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[← Prev in Thread] Current Thread [Next in Thread→]