Skip to content

v2.0.2: amd64: save/restore all 64 bits of rbx around cpuid #2681

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 1 commit into from
Jan 10, 2017

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Jan 7, 2017

This commit fixes a bug in the timer check. When -fPIC is used we need
to save/restore ebx. The code copied from patcher was meant for 32-bit
systems and did not work correctly on 64-bit systems. This commit
updates the save/restore to use rbx instead of ebx.

Fixes #2678

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 5b70ae3)
Signed-off-by: Nathan Hjelm [email protected]

This commit fixes a bug in the timer check. When -fPIC is used we need
to save/restore ebx. The code copied from patcher was meant for 32-bit
systems and did not work correctly on 64-bit systems. This commit
updates the save/restore to use rbx instead of ebx.

Fixes open-mpi#2678

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 5b70ae3)
Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn hjelmn added this to the v2.0.2 milestone Jan 7, 2017
@hjelmn hjelmn requested a review from hppritcha January 7, 2017 03:09
@hppritcha
Copy link
Member

bot:lanl:retest

@jsquyres jsquyres changed the title amd64: save/restore all 64 bits of rbx around cpuid v2.0.2: amd64: save/restore all 64 bits of rbx around cpuid Jan 9, 2017
@jsquyres
Copy link
Member

bot:mellanox:retest

@hppritcha
Copy link
Member

bot:lanl:retest

@hppritcha
Copy link
Member

@jsquyres I'd suggest ignoring the mlnx and merge this.

@jsquyres
Copy link
Member

👍

@jsquyres jsquyres merged commit 55d8832 into open-mpi:v2.0.x Jan 10, 2017
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