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

Summary: systemtap: Does not support aarch64 in f19 and rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dsmith, fche, jistone, lberk, mbenitez, mjw, mjw, nathans, pbrobinson, scox, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-14 18:47:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 922257, 963434    

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.