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
Bug 951806 - papi- is FTBFS on ARM
Summary: papi- is FTBFS on ARM
Alias: None
Product: Fedora
Classification: Fedora
Component: papi
Version: 19
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: William Cohen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2013-04-13 09:30 UTC by Peter Robinson
Modified: 2013-06-09 03:32 UTC (History)
1 user (show)

Fixed In Version: papi-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-06-09 03:32:20 UTC
Type: Bug

Attachments (Terms of Use)

Description Peter Robinson 2013-04-13 09:30:11 UTC
Fails on F19/rawhide

Comment 1 William Cohen 2013-04-15 20:59:56 UTC
Tracked the problem down to the following upstream papi commit because it removes the mb() definition for arm:

commit 59d3d7584b2925bd05b4b5d0f4fe89666eb8494a
Author: Vince Weaver <vincent.weaver>
Date:   Thu Oct 18 15:24:29 2012 -0400

    Update the memory barriers
    It turns out PAPI fails on older 32-bit x86 machines because it tries
    to use an SSE rmb() memory barrier.
    (Yes, I'm trying to run PAPI on a Pentium II.  Don't ask)
    It looks like our memory barriers were copied out of the kernel, which
    doesn't quite work because it expects some kernel infrastructure
    This patch uses the definitions used by the "perf" tool instead.
    Also dropped the use of the mb() memory barrier on mmap tail write,
    as the perf tool itself did a while ago so I'm hoping it's safe to do so
    as well.  It makes these definitions a lot simpler.

Comment 2 William Cohen 2013-04-16 13:14:30 UTC
Put a patch in the srpm rawhide and f19 srpms to address this problem.  The srpm should build on arm now.

Comment 3 Fedora Update System 2013-05-30 21:58:37 UTC
papi- has been submitted as an update for Fedora 19.

Comment 4 Fedora Update System 2013-05-31 18:08:34 UTC
Package papi-
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing papi-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-06-09 03:32:20 UTC
papi- has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

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