Is Rust available on AIX?

#1

Hi,
Do you know if Rust is available on AIX?
If not, do you know if LLVM is available on AIX? And, if yes, which work would be required to port Rust to AIX?
Thx

0 Likes

#2

https://forge.rust-lang.org/platform-support.html is the list of supported platforms, I don’t see AIX on there.

The first thing to do would be to figure out if LLVM supports it. If not, you start there. If it does, then you’d work on adding support to rustc.

2 Likes

#3

Thanks. I’m trying now to understand if the few changes for AIX in the LLVM source code is complete for enabling LLVM to run on AIX. I’m not sure since there are only 50 places where AIX/aix strings do appear. I’ve asked the question to the LLVM mailing list. Waiting for an answer.

0 Likes

#4

@trex58 Which mailing list did you ask on specifically?

0 Likes

#5

I have sent an email to: llvm-dev@lists.llvm.org .
However, since I created an account to LLVM mailing list just before, it may be awaiting for an authorization.

0 Likes

#6

It’s now visible here:
http://lists.llvm.org/pipermail/llvm-dev/2018-October/127324.html

0 Likes

#7

Yes. I can see the answer. However, I still did not received any answer directly to my email box, so I cannot answer.
Anyway, looks like there is VERY few things done for AIX.
So, porting Rust to AIX would require a LOT of work, for LLVM first, then for Rust (rustc I’ve been said).
We will have a look again once our port of golang/cgo to AIX is finalized.

0 Likes

#8

IBM has started pushing some patches: https://reviews.llvm.org/search/query/KgMsbBgZivyW/#R . As far as codegen is concerned, I understand this is just PowerPC so it shouldn’t be too much work?

1 Like

#9

It might need an update to the C calling ABI, if that’s not the same as existing ppc targets.

0 Likes