This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Make Stap compatible with Android
On Tue, May 8, 2018 at 12:45 PM, Alexander Lochmann
<alexander.lochmann@tu-dortmund.de> wrote:
> Nope. That doesn't work.
> I can have a look how to build a cross compiler with elfutils/libz support.
Note that you don't have to build a *compiler* with elfutils/libz
support, you just need to get your sysroot to include elfutils/libz
support (assuming I understand this correctly). Basically you need to
compile libz with a --sysroot option and install it in your sysroot.
> On my opinion, this does far beyond what someone should when compiling
> stap{io,run} for Android.
I hear you, but your patches went to a fair amount of trouble to work
around the lack of elfutils, when elfutils has android support (if I'm
reading its source correctly). This does seem like the right way to
go.
--
David Smith
Associate Manager
Red Hat