-
Notifications
You must be signed in to change notification settings - Fork 50
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
Unable to build w/ rustc_codegen_cranelift compiler backend #537
Comments
Hello! Thanks for the report. I'm sorry that our build is failing (and our diagnostic output for this seems lacking). I don't think I've seen an error like this reported before. The functions that the linker is unable to find are defined in C code (e.g., EVP_PKEY_derive_init) so I don't think this is related to our prebuilt NASM objects. But to be sure, you might try installing NASM as well: https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/win64/ One thought I had was that the "prefixing" (e.g, adding the Also, I'm wondering whether you might be able to send us the aws-lc-sys build log from your environment? -- From your development workspace, run a Thanks for your help! |
It appears the downstream issue has been closed: programatik29/axum-server#152. So, I will close this issue as well. Feel free to open this issue again if you're still experiencing this failure. Thanks! |
@justsmth the downstream was closed by myself because this was opened! 🤣 |
Oh. Sorry! :-) Is there any other information you can provide for this? We've been unable to reproduce it. Is it still occurring in your build environment? |
I'll re-try in a few hours with more time available to better understand (I downgraded for now). |
Hello! Fixed after downgraded library versions: rustls = "0.23.14" -> "0.22.4"
tokio-rustls = "0.26" -> "0.25.0" |
I have Windows 11. I tried uninstalling then reinstalling all of the VS build tools and CMake to see whether I could reproduce this problem. (I chose the Desktop development w/ C++ workload for the installation.) I did get the I'm wondering whether this problem might be specific to Windows 10. Could that be the case? Any other information you can provide about this would be appreciated. Thanks! |
I don't think this has something to do with Windows 10 instead of Windows 11. I just found out the reason (maybe). I'm using https://github.com/rust-lang/rustc_codegen_cranelift for development and the error appears only with it. Without it works. You decide, @justinwsmith, whether to close this issue or not. |
Ok, it looks like someone may have figured out the issue: rust-lang/rustc_codegen_cranelift#1520 (comment) |
Hello -- I updated the title of this issue to reflect that the issue is with using the rustc_codegen_cranelift compiler backend. |
rustc_codegen_cranelift
compiler backend
rustc_codegen_cranelift
compiler backend
Problem:
From rustls/rustls#2133:
On Windows 10 with Microsoft Build Tools latest version as of today I get this error:
aws-lc-sys
is required by[email protected]
which is required by[email protected]
which is required by[email protected]
.Then I followed what is in here: https://aws.github.io/aws-lc-rs/requirements/windows.html.
I installed C/C++ Compiler and CMake but not NASM and it builds but at the end I get a lot of errors like these:
Everything is fine if I downgrade
axum-server
to 0.6.0.Relevant details
The text was updated successfully, but these errors were encountered: