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 1921262

Summary: [RHEL-8.4] openmpi disable GCC atomics on aarch64
Product: Red Hat Enterprise Linux 8 Reporter: Robert Wespetal <wesper>
Component: openmpiAssignee: Honggang LI <honli>
Status: CLOSED ERRATA QA Contact: Afom T. Michael <tmichael>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: infiniband-qe, rdma-dev-team, tmichael
Target Milestone: rcKeywords: Triaged
Target Release: 8.4Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openmpi-4.0.5-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:46:02 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:    
Bug Blocks: 1903942    

Description Robert Wespetal 2021-01-27 19:43:37 UTC
Description of problem:

The Open MPI 4.0.5 build has --enable-builtin-atomics set. The GCC atomics have known issues with aarch64 and have been disabled for this architecture in the Open MPI bugfix branch. See the links below for more information and context.


Version-Release number of selected component (if applicable):
Version     : 4.0.5
Release     : 2.el8

Additional info:
Open MPI bug report: https://github.com/open-mpi/ompi/issues/8268
Open MPI PR to change this flag by default on aarch64: https://github.com/open-mpi/ompi/pull/8413

Comment 5 Afom T. Michael 2021-02-10 03:50:59 UTC
Moving to SanityOnly+Verified.

openmpi-4.0.5-3.el8.aarch64.rpm was built with "--disable-silent-rules" - seen in its build log.

Below is from openmpi/4.0.5/3.el8/data/logs/aarch64/build.log:

Wrote: /builddir/build/SRPMS/openmpi-4.0.5-3.el8.src.rpm
[...snip...]
+ cd /builddir/build/BUILD
+ cd openmpi-4.0.5
[...snip...]
+ ./configure --prefix=/usr/lib64/openmpi --mandir=/usr/share/man/openmpi-aarch64 --includedir=/usr/include/openmpi-aarch64 --sysconfdir=/etc/openmpi-aarch64 --disable-silent-rules --disable-builtin-atomics ... CC=gcc ...
[...snip...]
Wrote: /builddir/build/RPMS/openmpi-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-devel-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-java-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-java-devel-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/python3-openmpi-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-debugsource-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-debuginfo-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-devel-debuginfo-4.0.5-3.el8.aarch64.rpm

Comment 7 errata-xmlrpc 2021-05-18 14:46:02 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 (RDMA stack bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:1594