-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
rust: doesn't support aarch64-windows-gnu #9046
Comments
rust doesn't support aarch64-pc-windows-gnu (msys2/CLANG-packages#28) and it apparently hardcodes libgcc (msys2/CLANG-packages#29), so disable it in all clang prefixes
rust doesn't support aarch64-pc-windows-gnu (msys2/CLANG-packages#28) and it apparently hardcodes libgcc (msys2/CLANG-packages#29), so disable it in all clang prefixes
rust doesn't support aarch64-pc-windows-gnu (msys2/CLANG-packages#28) and it apparently hardcodes libgcc (msys2/CLANG-packages#29), so disable it in all clang prefixes
I'd like to look a bit into this as I need Rust for MINGW-packages/mingw-w64-librsvg/PKGBUILD Line 16 in 54e8257
Luckily, @mati865 already did an amazing job at patching Rust to be built using Clang. I have a feeling that Based on your knowledge and experience, would you say it's possible to:
If I understand things correctly, this will allow us to create a Just for the record, trying to build this on an arm64 device currently fails with
Thanks in advance! |
I guess more things will require patching, like exceptions handling.
We will always have to use local compiler for bootstrapping but that should be fine. |
FYI, there is an older version of librsvg without Rust-ification https://packages.msys2.org/base/mingw-w64-librsvg-2.40 |
Keep in mind this is an older, unsupported version so may not be the best from a security standpoint. |
|
As mentioned here, it'll probably be easiest if we can first get Rust to bootstrap from a Clang toolchain instead of a GCC based one. I've been working on getting a Rust upstream build to work using |
I've hacked together and cross compiled from Linux toolchain that might work on AArch64 but I couldn't setup usable AArch64 VM on my x86_64 system. Therefore I'm looking for brave tester willing to run my binary (native or VM AArch64 Windows) and share the results. Steps to test it:
|
These steps work and behave just as expected. |
The fwpuclnt fixes are now in the repo. |
Thanks but I haven't yet found a way to bootstrap it on AArch64 Windows. I have ideas for few more hacks but I need to finish rust-lang/rust#94872 first and I want to test upgrading our LLVM toolchain to version 14 since RC4 has been just released with fix for building from tarballs. |
Update: LLVM still seems to have broken tarballs: llvm/llvm-project#53281 (comment) |
No description provided.
The text was updated successfully, but these errors were encountered: