This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make Stap compatible with Android



On 02.05.2018 22:21, David Smith wrote:
> On Wed, May 2, 2018 at 2:25 PM, Alexander Lochmann
> <info@alexander-lochmann.de> wrote:
>>> Have you tried downloading elfutils source from
>>> https://sourceware.org/elfutils/ and using the
>>> --with-elfutils=ELFUTILS_SRC_DIR systemtap configure option?
>>>
>> Yes, I tried it. The --host option is not passed to the elfutils
>> configure script. The elfutils are build for the host architecture,
>> e.g., x86_64 in my case.
> 
> OK, here's an (untested) patch that tries to pass along the --host
> option to the elfutils configure. Give this a shot and let me know how
> it works when you get a chance.
> 
The patch works, but I can't build elfutils:

./configure  --with-elfutils=/home/alex/Downloads/elfutils-0.170
--host=arm-none-linux-gnueabi
configure: error: zlib not found but is required

- Alex

-- 
Technische Universität Dortmund
Alexander Lochmann                PGP key: 0xBC3EF6FD
Otto-Hahn-Str. 16                 phone:  +49.231.7556141
D-44227 Dortmund                  fax:    +49.231.7556116
http://ess.cs.tu-dortmund.de/Staff/al

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]