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

Fix the compilation of test_tls on ppc64 architecture #514

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

dinosaure
Copy link
Collaborator

/cc @hannesm, /cc @TheLortex it's a possible fix for ppc64 architecture. The fix cast the pointer to tcb{1,2}._data to an uintptr_t to be able to apply arithmetic operations (+) and add the PPC64_TLS_OFFSET.

@hannesm
Copy link
Contributor

hannesm commented Mar 21, 2022

Thanks for taking care of this. I won't have time and hardware to review it properly. Since it is a test, from my perspective merge if it compiles and works. :)

@dinosaure
Copy link
Collaborator Author

Thansk!

@dinosaure dinosaure merged commit 7ba74eb into Solo5:master Mar 21, 2022
@dinosaure dinosaure deleted the fix-ppc64-tests branch March 21, 2022 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants