-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add AIX support #2278
Add AIX support #2278
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon. Please see the contribution instructions for more information. |
I don't feel familiar enough with libc to review this. r? @JohnTitor |
Hey, thanks for the PR! |
I am porting Rust to AIX. I have cross-compil libstd, libcore... on Linux with AIX as a target. I report my patches about Rust libraries. This PR contains all libc patches I use to cross-compil std to AIX. |
So, you're currently compiling std and related stuff fine with your own patched libc, right? If you have a plan to add an official target, then you should follow the step like rust-lang/rust#86191. |
Thanks. If you want PR to be accepted in the same time for libc and compiler, I propose to transform this one as a draft. So, it is public if someone searches information about RUST on AIX. |
Yeah, sounds good. |
Hi any progress on supporting rust on AIX? Looks it's not updated for couple of months and LLVM-13.0.0 is released. |
Hi, |
Hi, I have also a project where I need to use rust on AS400 or AIX, but stucked with no option. There is any news? |
Hi @danieu-il, |
Hi @EGuesnet , I proposed change (rust-lang/compiler-team#553 ) to add AIX support in Rust toolchain. Since your focus are not on this any more, can we take over this PR and proceed by future patches? |
Hi @ecnelises, |
I submitted #2894 as successor to this one. Thanks! |
Closing in favor of #2278 |
This change adds rather complete definitions and declarations from AIX system headers, with little modification to fit the assumption in some crates or other targets in libc. Currently only 64-bit PowerPC targets on AIX are proposed, so definitions depending on pointer width are located in powerpc64 module. Thanks to initial work from Etienne Guesnet, this patch is based on it (rust-lang#2278).
Support AIX operating system This PR adds rather complete definitions and declarations from AIX system headers, with little modification to fit the assumption in some crates or other targets in libc. Currently only 64-bit PowerPC targets on AIX are proposed, so definitions depending on pointer width are located in `powerpc64` module. This one should be successor of #2278 (and thanks to `@EGuesnet` 's initial work).
This change adds rather complete definitions and declarations from AIX system headers, with little modification to fit the assumption in some crates or other targets in libc. Currently only 64-bit PowerPC targets on AIX are proposed, so definitions depending on pointer width are located in powerpc64 module. Thanks to initial work from Etienne Guesnet, this patch is based on it (rust-lang#2278).
Minimal PR to build std library with AIX as a target. This target is not yet official in rust.