-
Notifications
You must be signed in to change notification settings - Fork 101
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
undefined symbol: compiler_builtins::mem when building with cranelift + lld-link.exe on windows (and lld: error on gnu) #1480
Comments
Note, if you use the gnu toolchain (and you don't forget to add the config for gnu), you get something different:
|
Thanks for reporting this. I will try to reproduce this.
For the mingw toolchain you can't directly set the linker to lld-link.exe. Instead you have to pass something like |
I can't reproduce this on CI: https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/8582753433/job/23521198099 |
With the build from CI or using the CI to do the compile somehow? |
I changed the CI config to always use lld-link.exe and then triggered a CI run. This CI run didn't fail, meaning that it doesn't reproduce your issue. |
Issue
When I try compiling any rust program with the combination of:
cg_clif-x86_64-pc-windows-msvc.tar.xz
I get these errors
Steps to Reproduce
The text was updated successfully, but these errors were encountered: