Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opal/atomic: work around memory barrier bug in older gcc #6711

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented May 29, 2019

This commit fixes an issue seem with some older versions of gcc
(verified to occur in gcc 6.x) where on x86_64 systems the
acquire memory barrier in C11 atomics acts as a no-op. On these
systems the three memory barriers should all be equivalent.

This is related to the error fixed in 30119ee.

References #6655.

Signed-off-by: Nathan Hjelm hjelmn@google.com

This commit fixes an issue seem with some older versions of gcc
(verified to occur in gcc 6.x) where on x86_64 systems the
acquire memory barrier in C11 atomics acts as a no-op. On these
systems the three memory barriers should all be equivalent.

This is related to the error fixed in open-mpi/ompi@30119ee.

References open-mpi#6655.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
@hjelmn hjelmn merged commit 8961daa into open-mpi:master May 30, 2019
rhc54 added a commit to rhc54/openpmix that referenced this pull request Jun 7, 2019
Backport of open-mpi/ompi#6711

Signed-off-by: Ralph Castain <rhc@pmix.org>
rhc54 added a commit to rhc54/openpmix that referenced this pull request Jun 25, 2019
Backport of open-mpi/ompi#6711

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit a3d568e)
rhc54 added a commit to rhc54/openpmix that referenced this pull request Jun 26, 2019
Backport of open-mpi/ompi#6711

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit a3d568e)
karasevb pushed a commit to karasevb/pmix that referenced this pull request Aug 19, 2019
Backport of open-mpi/ompi#6711

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit a3d568e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants