Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 926602 - systemtap: Does not support aarch64 in f19 and rawhide
Summary: systemtap: Does not support aarch64 in f19 and rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64 963434
TreeView+ depends on / blocked
 
Reported: 2013-03-23 16:24 UTC by Dennis Gilmore
Modified: 2014-01-14 18:47 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-14 18:47:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dennis Gilmore 2013-03-23 16:24:00 UTC
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in 
autoconf 2.69.  systemtap appears to use an earlier version of 
autoconf, preventing its being built.  This can be fixed in of three ways (In order of preference):

1. Work with upstream to migrate the package to autoconf 2.69.

2. Rerun autoconf or autoreconf in %prep or %build prior to running 
configure.

3. Apply the patch at http://ausil.fedorapeople.org/aarch64/systemtap/systemtap-aarch64.patch
which updates config.guess and config.sub to recognize aarch64.

Comment 1 Lukas Berk 2013-03-26 16:44:42 UTC
Upstream migrated to autoconf 2.69 in commit 76df176fdceb33c14a07a74b2dc70e72b13fc1b7

Systemtap has been respun as needed in Fedora 19 (http://koji.fedoraproject.org/koji/taskinfo?taskID=5176066)

We're just waiting on BZ927996 to get systemtap respun with the new autoconf version in rawhide

Comment 2 William Cohen 2013-09-20 13:33:15 UTC
What needs additional work needs to be done for systemtap to function on aarch64:

kernel kprobes support
kernel uprobes support
systemtap runtime:
   stack and stack unwind support
   regs.h
systemtap translator need machine specific code fixed in:
  tapsets.cxx
  util.cxx
  dwflpp.cxx
systemtap tapset:
   tapset/aarch64/registers.stp for no-debuginfo syscall probing

Comment 3 Mark Wielaard 2013-09-20 14:09:30 UTC
We also need an elfutil ARM64 libebl backend. To decode relocations in kernel modules and DWARF register mappings plus initial CFI values.

Comment 4 Mark Wielaard 2013-10-30 19:34:23 UTC
(In reply to Mark Wielaard from comment #3)
> We also need an elfutil ARM64 libebl backend. To decode relocations in
> kernel modules and DWARF register mappings plus initial CFI values.

Most of that is there now on a branch.
https://git.fedorahosted.org/cgit/elfutils.git/log/?h=pmachata/aarch64
Not yet integrated into upstream master.


Note You need to log in before you can comment on or make changes to this bug.