Hi Andrey,
>I am not Marcus
sorry ! >So it is unfortunately up to you/us as IBM customers to enable the cross-compilation. Thanks for the information Dennis
On 18.09.23 13:38, Andrey Klyachkin via IBM TechXchange Community wrote:
0100018aa815de2e-b01f7082-634c-418d-8d64-135fd8023695-000000@email.amazonses.com"> Hi Dennis, I am not Marcus, but try to answer your question. No, I think there will be no such option. To cross-compile you need AIX runtime on your Linux. Rust compiler doesn't provide any runtimes. IBM as you may know doesn't provide such runtime too. So it is unfortunately up to you/us as IBM customers to enable the cross-compilation. As for now I don't know any way to do it. It'd require all headers and some libraries from live AIX system and AIX linker working on x86_64 Linux. ------------------------------ Andrey Klyachkin https://www.power-devops.com ------------------------------
Original Message: Sent: Fri September 15, 2023 08:45 AM From: Dennis Schneck Subject: rust on AIX Hi Marcus, will there be in future a option to cross compile on Linux x86_64 for AIX ? ------------------------------ Dennis Schneck
Original Message: Sent: Tue March 07, 2023 06:23 AM From: Andrey Klyachkin Subject: rust on AIX Hi Marcus, I am playing with Rust Beta on AIX. It works but yes - there are a lot of crates which don't support AIX. ------------------------------ Andrey Klyachkin https://www.power-devops.com <https://www.power-devops.com> Original Message: Sent: Tue March 07, 2023 06:01 AM From: Marcus Hirt Subject: rust on AIX It seems that https://github.com/rust-lang/compiler-team/issues/553 <https://github.com/rust-lang/compiler-team/issues/553> is closed, but there are still a few related open issues, such as https://github.com/nix-rust/nix/pull/1823 <https://github.com/nix-rust/nix/pull/1823> and https://github.com/seanmonstar/num_cpus/pull/123 <https://github.com/seanmonstar/num_cpus/pull/123>. Has anyone started playing around with the Rust support on AIX yet? ------------------------------ Marcus Hirt Original Message: Sent: Tue November 22, 2022 08:29 AM From: Ayappan P Subject: rust on AIX It is a work in progress. Look at here --> https://github.com/rust-lang/compiler-team/issues/553 <https://github.com/rust-lang/compiler-team/issues/553> ------------------------------ Ayappan P Original Message: Sent: Fri November 18, 2022 06:41 AM From: Marcus Hirt Subject: rust on AIX Hi Sanket, Just wanted to check if anything has changed since May. At Datadog we're also interested in learning what the future of Rust on AIX is. Kind regards, Marcus ------------------------------ Marcus Hirt Original Message: Sent: Mon May 30, 2022 07:08 AM From: SANKET RATHI Subject: rust on AIX Yes llvm now works on AIX but when we evaluated Rust porting it is very involved effort and we are working on a plan within IBM how to contain. It is not easy port as it requires integrated assembler and linker to also work on AIX as well. Rust work is very different from c/c++ hence it is not easy to adapt. Right now I can not provide any definitive answer but we are evaluating options. ------------------------------ SANKET RATHI Original Message: Sent: Thu May 26, 2022 03:51 AM From: monitor monitor Subject: rust on AIX Hi, There is any news on porting rust to AIX? As far as I could understand, llvm is already available. TIA, Daniel ------------------------------ monitor monitor Original Message: Sent: Wed October 21, 2020 09:46 AM From: SANKET RATHI Subject: rust on AIX XL C/C++ are not based on LLVM. But there is work going on for porting llvm for AIX https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html <https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.html> This will take some time until we do not have llvm backend rust will not be possible on AIX. ------------------------------ SANKET RATHI Original Message: Sent: Wed October 21, 2020 09:34 AM From: Andrey Klyachkin Subject: rust on AIX Hi Sanket, as far as I know, the new XL C/C++ compiler is built using LLVM. That's why I suppose, that LLVM is already ported to AIX. My use case is very simple - the new InfluxDB 2.0 uses both Golang and Rust. Without Rust I will not be able to compile it on AIX. ------------------------------ Andrey Klyachkin https://www.power-devops.com <https://www.power-devops.com> Original Message: Sent: Wed October 21, 2020 09:28 AM From: SANKET RATHI Subject: rust on AIX Rust needs llvm backend which is not yet available on AIX. So this will require some good amount of work to port Rust on AIX. May I ask what is your use case ? ------------------------------ SANKET RATHI Original Message: Sent: Wed October 21, 2020 08:42 AM From: Andrey Klyachkin Subject: rust on AIX are any plans to port rust (Rust <https://www.rust-lang.org/>) to AIX? ------------------------------ Andrey Klyachkin https://www.power-devops.com <https://www.power-devops.com> ------------------------------ Reply to Sender : https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=381322&SenderKey=a698db27-2214-4789-9165-b2e9462fb9ef Reply to Discussion : https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=381322 You are subscribed to "AIX Open Source" as Dennis.Schneck@schulergroup.com. To change your subscriptions, go to http://community.ibm.com/community/user/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to http://community.ibm.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=32187d8e-f309-4a3a-98a9-a17e6759cd6f&sKey=KeyRemoved&GroupKey=af5415f8-d8d8-4ac4-b3cb-08a8da184054.
-- Mit freundlichen Grüßen / Best Regards / 诚挚的问候 Dennis Schneck Schuler Pressen GmbH | Schuler-Platz 1 | 73033 Göppingen | Germany Tel. +49 7161 66-2933 Dennis.Schneck@schulergroup.com | http://www.schulergroup.com Member of the ANDRITZ Group E-Mail-Pflichtangaben (gem. EHUG): http://pflichtangaben.schulergroup.com
Original Message:
Sent: 9/18/2023 7:39:00 AM
From: Andrey Klyachkin
Subject: RE: rust on AIX
Hi Dennis,
I am not Marcus, but try to answer your question. No, I think there will be no such option. To cross-compile you need AIX runtime on your Linux. Rust compiler doesn't provide any runtimes. IBM as you may know doesn't provide such runtime too. So it is unfortunately up to you/us as IBM customers to enable the cross-compilation. As for now I don't know any way to do it. It'd require all headers and some libraries from live AIX system and AIX linker working on x86_64 Linux.
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------
Original Message:
Sent: Fri September 15, 2023 08:45 AM
From: Dennis Schneck
Subject: rust on AIX
Hi Marcus,
will there be in future a option to cross compile on Linux x86_64 for AIX ?
------------------------------
Dennis Schneck
Original Message:
Sent: Tue March 07, 2023 06:23 AM
From: Andrey Klyachkin
Subject: rust on AIX
Hi Marcus,
I am playing with Rust Beta on AIX. It works but yes - there are a lot of crates which don't support AIX.
------------------------------
Andrey Klyachkin
https://www.power-devops.comOriginal Message:
Sent: Tue March 07, 2023 06:01 AM
From: Marcus Hirt
Subject: rust on AIX
It seems that https://github.com/rust-lang/compiler-team/issues/553 is closed, but there are still a few related open issues, such as https://github.com/nix-rust/nix/pull/1823 and https://github.com/seanmonstar/num_cpus/pull/123. Has anyone started playing around with the Rust support on AIX yet?
------------------------------
Marcus Hirt
Original Message:
Sent: Tue November 22, 2022 08:29 AM
From: Ayappan P
Subject: rust on AIX
It is a work in progress. Look at here -->
https://github.com/rust-lang/compiler-team/issues/553------------------------------
Ayappan P
Original Message:
Sent: Fri November 18, 2022 06:41 AM
From: Marcus Hirt
Subject: rust on AIX
Hi Sanket,
Just wanted to check if anything has changed since May. At Datadog we're also interested in learning what the future of Rust on AIX is.
Kind regards,
Marcus
------------------------------
Marcus Hirt
Original Message:
Sent: Mon May 30, 2022 07:08 AM
From: SANKET RATHI
Subject: rust on AIX
Yes llvm now works on AIX but when we evaluated Rust porting it is very involved effort and we are working on a plan within IBM how to contain.
It is not easy port as it requires integrated assembler and linker to also work on AIX as well.
Rust work is very different from c/c++ hence it is not easy to adapt.
Right now I can not provide any definitive answer but we are evaluating options.
------------------------------
SANKET RATHI
Original Message:
Sent: Thu May 26, 2022 03:51 AM
From: monitor monitor
Subject: rust on AIX
Hi,
There is any news on porting rust to AIX?
As far as I could understand, llvm is already available.
TIA,
Daniel
------------------------------
monitor monitor
Original Message:
Sent: Wed October 21, 2020 09:46 AM
From: SANKET RATHI
Subject: rust on AIX
XL C/C++ are not based on LLVM. But there is work going on for porting llvm for AIX
https://lists.llvm.org/pipermail/llvm-dev/2019-February/130175.htmlThis will take some time until we do not have llvm backend rust will not be possible on AIX.
------------------------------
SANKET RATHI
Original Message:
Sent: Wed October 21, 2020 09:34 AM
From: Andrey Klyachkin
Subject: rust on AIX
Hi Sanket, as far as I know, the new XL C/C++ compiler is built using LLVM. That's why I suppose, that LLVM is already ported to AIX. My use case is very simple - the new InfluxDB 2.0 uses both Golang and Rust. Without Rust I will not be able to compile it on AIX.
------------------------------
Andrey Klyachkin
https://www.power-devops.comOriginal Message:
Sent: Wed October 21, 2020 09:28 AM
From: SANKET RATHI
Subject: rust on AIX
Rust needs llvm backend which is not yet available on AIX.
So this will require some good amount of work to port Rust on AIX.
May I ask what is your use case ?
------------------------------
SANKET RATHI
Original Message:
Sent: Wed October 21, 2020 08:42 AM
From: Andrey Klyachkin
Subject: rust on AIX
are any plans to port rust (
Rust) to AIX?
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------