This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Depend on elfutils 0.142+
- From: Mark Wielaard <mjw at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 19 Jul 2011 23:05:54 +0200
- Subject: Depend on elfutils 0.142+
Hi,
On irc we discussed that we really should be depending on a
somewhat more recent elfutils version. Versions before 0.138
had some bugs in dwfl_module_relocate_address giving us a
wrong bias, which we sometimes worked around, but not always.
Also the dwarf unwind code really relies on always having
unwind table indexes. We can only generate them when we
have elfutils 0.142 or higher for .debug_frame. Without
those unwinding is terribly slow. Since 0.142 has been
out for two years now, this seems like a good version to
depend on. I also removed some of the very old workarounds
from the code. I didn't touch staprun though, which depends
on the system installed libelf always, but which would also
benefit from just relying on elfutils 0.142+.
Cheers,
Mark
commit e050d62f2a9df07390fb2de38905b8d5d6f678b1
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Jul 19 22:56:17 2011 +0200
Depend on elfutils 0.142+. Remove various workarounds.
We really need at least 0.142 to support quick dwarf unwinding.
Also earlier versions had various bugs that we sometimes worked
around, but not always. Which could lead to misterious failures
when a bias was miscalculated.