This is the mail archive of the
mailing list for the systemtap project.
Re: Prelinking on ARM
- From: Mark Wielaard <mjw at redhat dot com>
- To: Torsten Polle <Torsten dot Polle at gmx dot de>
- Cc: systemtap at sourceware dot org
- Date: Wed, 03 Jun 2015 11:27:59 +0200
- Subject: Re: Prelinking on ARM
- Authentication-results: sourceware.org; auth=none
- References: <m28uc36tyi dot fsf at gmx dot de> <1433269681 dot 4538 dot 237 dot camel at bordewijk dot wildebeest dot org> <3FE8FEB6-F65B-4F42-A963-30B8D216262B at gmx dot de>
On Tue, 2015-06-02 at 22:29 +0200, Torsten Polle wrote:
> Am 02.06.2015 um 20:28 schrieb Mark Wielaard <email@example.com>:
> > On Mon, 2015-06-01 at 22:43 +0200, Torsten Polle wrote:
> >> I've a problem with prelinked shared and non-prelinked debug information
> >> for the same on ARM. The relative offset to the .text section differs
> >> for the prelinked shared library and the non-prelinked debug
> >> information. SystemTap only compensates for the difference in the start
> >> addresses. I tried to debug the problem, but I've to admit that the
> >> problem is well over my head. Could someone give me a hint on this
> >> matter?
> > Does the testsuite/systemtap.exelib/exelib.exp test work for you?
> I've to check. I'm using a cross compile environment, i.e. I only run
> passes 1 - 4 on my host (X86) and execute staprun on my target
> (ARM). I could provide a small shared library as an example instead.
I must admit to not have much experience with the
cross-compiling/cross-stapping mechanism. If you could provide a small
shared library (plus separate debuginfo file?) and the stap invocation
that doesn't work correctly that would be helpful for understanding what
BTW. Which versions of systemtap and elfutils does stap -V give you?
$ stap -V
Systemtap translator/driver (version 2.7/0.161, rpm 2.7-1.fc22)
the stap version -^ ^- the elfutils version