Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1128127

Summary: atomic_cas32 doesn't work on ppc
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Škarvada <jskarvad>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bgollahe, dakingun, denis.arnaud_fedora, extras-qa, lmiksik, mcermak, mnewsome, mprchlik, nobody+bgollahe, pertusus, pmachata
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1002578 Environment:
Last Closed: 2015-03-05 08:19:17 UTC Type: Bug
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: 1002578    
Bug Blocks: 1001203    

Description Jaroslav Škarvada 2014-08-08 10:50:52 UTC
+++ This bug was initially created as a clone of Bug #1002578 +++

Description of problem:
atomic_cas32 doesn't work on ppc

Version-Release number of selected component (if applicable):
boost-devel-1.54.0-2.fc20.ppc

How reproducible:
Always

Steps to Reproduce:
1. Compile and run the attached reproducer

Actual results:
2

Expected results:
0

Additional info:
This breaks IPC and can cause never-ending loops, etc., for example see bug 1001203.

--- Additional comment from Jaroslav Škarvada on 2013-08-29 15:21:17 CEST ---

It seems like typo in the ASM. The 1.53 seems to be also affected.

--- Additional comment from Jaroslav Škarvada on 2013-08-29 15:27:53 CEST ---

Decreasing the version to f20.

--- Additional comment from Petr Machata on 2013-08-30 00:25:52 CEST ---

Filed upstream as https://svn.boost.org/trac/boost/ticket/9065
I think a better fix is simply swapping the incoming arguments of the inline assembly block, as that way they match the incoming arguments of the function itself.  That's what I'll apply in F 19+.

--- Additional comment from Fedora Update System on 2013-09-02 11:34:23 CEST ---

boost-1.53.0-14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/boost-1.53.0-14.fc19

--- Additional comment from Petr Machata on 2013-09-02 11:40:02 CEST ---

Note that I have added the fix to F20 and Rawhide as well.

--- Additional comment from Fedora Update System on 2013-09-03 01:25:53 CEST ---

Package boost-1.53.0-14.fc19:
* 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 boost-1.53.0-14.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15639/boost-1.53.0-14.fc19
then log in and leave karma (feedback).

--- Additional comment from Fedora Update System on 2013-09-08 02:35:22 CEST ---

boost-1.53.0-14.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 1 Jaroslav Škarvada 2014-08-08 10:51:53 UTC
Currently blocking some epel-7 packages.

Comment 8 Miloš Prchlík 2014-12-01 13:14:32 UTC
Verified for build boost-1.53.0-23.el7.

Comment 10 errata-xmlrpc 2015-03-05 08:19:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0348.html