Skip to content

v3.1.x: 2 more vader fixes #5833

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

Merged
merged 2 commits into from
Oct 3, 2018

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Oct 3, 2018

  1. Solaris compiler bug workaround
  2. Fastbox receive side fix

Refs #5638

hjelmn added 2 commits October 3, 2018 11:35
On some platfoms reading a 64-bit value is non-atomic and it is
possible that the two 32-bit values are read in the wrong order. To
ensure the tag is always read first this commit reads the tag before
reading the full 64-bit value.

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 66a7dc4)
This commit works around an Oracle C compiler bug in 5.15 (not sure
when it was introduced). The bug is triggered when we chain
assignments of atomic variables. Ex:

_Atomic intptr x, y;
intptr_t z = 0;

x = y = z;

Will produce a compiler error of the form:

operand cannot have void type: op "="
assignment type mismatch:
	long "=" void

To work around the issue we are removing the chain assignment and
setting the head and tail on different lines.

Fixes open-mpi#5814

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit dfa8d3a)
@bwbarrett bwbarrett merged commit 2fd9510 into open-mpi:v3.1.x Oct 3, 2018
@jsquyres jsquyres deleted the pr/v3.1.x/2-more-vader-fixes branch October 3, 2018 17:53
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.

3 participants