Re: [DynInst_API:] Dyninst 9.3.2 build fails on Arch Linux


Date: Fri, 07 Sep 2018 10:40:07 +0200
From: Tomislav Maric <maric@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] Dyninst 9.3.2 build fails on Arch Linux

Dear Prof. Mellor-Crummey,

So, it is the "tirpc", there is nothing I can install on Arch Linux to make this go away. :)

I will try to figure this out and get Dynnist to compile on my machine as Mark suggested in the previous email. 


Thank you for the help!

Kind regards,

Tomislav

Tomislav Maric, Dr.-Ing.
Email: maric@xxxxxxxxxxxxxxxxxxx
Tel.:  +49 6151 16-21469
Mathematical Modeling and Analysis
TU Darmstadt
Alarich-Weiss-Straße 10
64287 Darmstadt
Germany
On 9/7/18 7:41 AM, John Mellor-Crummey wrote:
Tomislav,

It looks like the rpc header files used by dyninst were provided by a glibc development package. Apparently, this is changing. Here is an example from gentoo linux https://forums.gentoo.org/viewtopic-t-1076270-start-0.html, which sounds like what you are seeing.

I think that the Dyninst team will need to change their configuration to check for tirpc.
--
John Mellor-Crummey Professor
Dept of Computer Science Rice University
email: johnmc@xxxxxxxx phone: 713-348-5179

On Sep 7, 2018, at 12:23 AM, Mark W. Krentel <krentel@xxxxxxxx> wrote:

Tomislav,

Dyninst (symtabAPI) is pretty much necessary.  We depend on it very
heavily.

I haven't used Arch Linux, so I'm not familiar with how the include
paths differ.  We mainly use Red Hat and Fedora.  So, I'd just be
guessing on how to modify the paths.

Probably, we'll have to take this up with the Dyninst team.  We work
closely with them.

You could try cloning Dyinst from github, try building it directly,
outside of hpctoolkit-externals.  You'll probably have to adjust some
paths, as you've started.  But I don't have a sense of whether this
would be a small change or more substantial.

Anyway, if you can get it to build, then you can plug this into
hpctoolkit with the --with-symtabAPI option.

--Mark


On 09/06/18 13:49, Tomislav Maric wrote:
Hi everyone,

I'm trying to build hpctoolkit-externals on the current master branch
(ab50b065ada2545938abae2...), and I am getting a failed dependency when
building "symtabAPI":

make[6]: Entering directory
'/home/tomislav/build/hpctoolkit-externals/BUILD/symtabAPI/work'
[  0%] Building CXX object common/CMakeFiles/common.dir/src/Ident.C.o
In file included from
/home/tomislav/build/hpctoolkit-externals/BUILD/symtabAPI/dyninst/common/src/headers.h:56,
                 from
/home/tomislav/build/hpctoolkit-externals/BUILD/symtabAPI/dyninst/common/src/Ident.h:47,
                 from
/home/tomislav/build/hpctoolkit-externals/BUILD/symtabAPI/dyninst/common/src/Ident.C:36:
/home/tomislav/build/hpctoolkit-externals/BUILD/symtabAPI/dyninst/common/src/linuxHeaders.h:62:10:
fatal error: rpc/types.h: No such file or directory
 #include <rpc/types.h>

I am using Arch Linux and the "types.h" is located here:
"/usr/include/tirpc/rpc/types.h"

What would be the cleanest way to fix this?

I have tried modifying the <rpc/types.h> into <tirpc/rpc/types.h> in
"linuxHeaders.h", but then it fails at the system level:

/usr/include/tirpc/rpc/types.h:93:10: fatal error: netconfig.h: No such
file or directory
 #include <netconfig.h>

The package responsible for the "tirpc/rpc/types.h" file is "libtirpc".
Is the "symtapAPI" absolutely necessary to use hpctoolkit?

Thanks!

Regards,

Tomislav


_______________________________________________
HPCToolkit-forum mailing list
HPCToolkit-forum@xxxxxxxxxxxxxxxx
https://mailman.rice.edu/mailman/listinfo/hpctoolkit-forum

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