This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/14490] Enable stapdyn in multiarch environments
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 07 Jun 2013 19:54:59 +0000
- Subject: [Bug dyninst/14490] Enable stapdyn in multiarch environments
- Auto-submitted: auto-generated
- References: <bug-14490-6586 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14490
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #2 from David Smith <dsmith at redhat dot com> ---
I wonder if we couldn't brute force this. On multiarch systems, compile a
'stapdyn' and a 'stapdyn32' executable and then run the correct one based on
the target executable. 'stap' itself would have to look at the target
executable to know which way to compile the shared library. (An even more brute
force approach would be to always compile 64-bit and 32-bit shared libraries,
and have a naming convention so we'll know which is which.)
Using a cached shared library becomes more tricky, since the 'bitness' of the
target executable could change (which might argue for the "always compile for
both architectures" approach).
--
You are receiving this mail because:
You are the assignee for the bug.