-
Notifications
You must be signed in to change notification settings - Fork 212
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
Cannot compile rustc stage 2 for target "thumbv7a-pc-windows-msvc" because of unresolved symbol __udivsi3, __divsi3, etc.. #292
Comments
The definitions for these intrinsics are instructed to use optimized routines written in assembly from compiler-rt where possible, but they're specifically skipped on MSVC. I think that the condition in the source will need to be updated to indicate that the Rust intrinsic should be used on MSVC instead of the C intrinsic. |
I think that #293 should probably fix this, although I haven't tested this issue directly. |
let me merge the change and try it locally |
@alexcrichton I can confirm with that PR, I was able to build thumv7a-pc-windows-msvc successfully with this command I'm in the middle testing the toolchain would actually work with azure/iotedge master branch Since rust currently uses compiler_builtins 0.1.12, do you know when rust master will update to 0.1.13 and after, which would have the change from your PR? |
Ok great! I've actually already published 0.1.13 with other fixes so this'll be in 0.1.14. I'm updating to 0.1.13 in rust-lang/rust#60841 but I'll go ahead and publish this change then update to 0.1.14 |
On a side note, when are you gonna push a new tag for backtrace to have the ARM changes merged yesterday? |
Oh sure, I can do that too |
You're awesome |
@alexcrichton , sorry for abusing this issue Do you have any insights for this issue, or any pointers which area in rust that I should look into, make sure also take a look at my own comment in the post, that libstd.rlib and liballoc.rlib have different symbols |
Please find the full output below, I came across (read: googled) this PR #290 that appears to be fixing similar issue, what does it take to fix this for thumbv7a-pc-windows-msvc? After I fix "something" in compiler-builtins, how do I get rustc compiling to take my fixes, is there a way I can try my local fix for compiler-builtins and have it utilized by my local rustc compiling?
The text was updated successfully, but these errors were encountered: