-
Notifications
You must be signed in to change notification settings - Fork 21
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
Linkage error when building for aarch64-pc-windows-msvc
#101
Comments
Hi there @rami3l. This looks like an error with
It may be worth trying to activate the ring backend feature of |
Does this happen with just |
I was able to compile and run the tests for
I then:
With this setup, I don't get the errors you reported FWIW. @ctz mentioned this in the project Discord but it looks like there isn't a compatible ucrt available to your build since all the missing symbols should be coming from it. I saw the VS installer install a ARM64 ucrt implementation, so maybe that's part of what's missing? |
@complexspaces Thanks! We're doing cross compilation (since we don't have access to the ARM64 Windows runners yet) so that could very possibly be the case. I will definitely investigate further into this one. If I use the |
Also looks like #102 might be relevant here. |
@rami3l Can you weigh in on this aspect w.r.t your cross compilation experience? Is it specific to adding |
@cpu I'm not sure... Now that |
Understood! Thanks for your help :-) If myself or someone else has time to set up a similar cross-compilation environment it would be helpful to separate whether it's an issue with this repo, or rustls+aws-lc-rs generally. If it's the latter I think working with the aws-lc-rs upstream would be the next step (IME they seem quite responsive w.r.t build issues). If it's the former we should do more investigation here. |
@complexspaces @cpu Just made another test PR at rust-lang/rustup#3917. Looks like Thanks anyway everyone, and especially for your test in #101 (comment)! |
As a part of rust-lang/rustup#3898, we (the Rustup team) have tried to introduce
rustls-platform-verifier
to Rustup by adding the following into ourCargo.toml
:... which, at the time of writing, points to rustls-platform-verifier 0.3.1 released 2 months ago.
When cross-compiling for
aarch64-pc-windows-msvc
however, the following error was generated:Error log
You can also go to https://github.com/rust-lang/rustup/actions/runs/9624188283/job/26547561849 for the full CI log.
The text was updated successfully, but these errors were encountered: