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

Support AIX ppc64 #159

Closed
wiggin15 opened this issue Feb 24, 2020 · 2 comments
Closed

Support AIX ppc64 #159

wiggin15 opened this issue Feb 24, 2020 · 2 comments

Comments

@wiggin15
Copy link

Looking at the platform/switch_* files, I see there is support for ppc_aix, ppc_linux, and ppc64_linux, but no support for ppc64_aix. Trying to use this platform, I am getting strange behavior - e.g. the examples from the docs get stuck, and in more complex usage (which I could not yet find a minimal working case for) I am getting an error similar to the one mentioned in #145. Maybe this issue is the same as #145, except it seems that the effort in that ticket is aimed specifically for IBM i and not AIX, and from what I can understand, the comments there don't seem to address the need to add support for a new platform.

It looks like copying switch_ppc64_linux.h -> switch_ppc64_aix.h and adding the following lines to slp_platformselect.h may work:

#elif defined(__GNUC__) && defined(__powerpc64__) && defined(_AIX)
#include "platform/switch_ppc64_aix.h" /* gcc on AIX/PowerPC 64-bit */
@jamadden
Copy link
Contributor

PRs are welcome!

@jamadden
Copy link
Contributor

Fixed in #197.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants