-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Regression: MSVC/VS2017 fails to link rustc in miniz.o #49869
Comments
cc @retep998 |
Do you have a |
No. I have a |
@retep998 This is a recent regression as I was able to build Rust not a week before I opened this issue with almost the same environment except an older (~2 weeks) Rust nightly that cannot build master now because of recently landed API stabilization removing feature flags in the source. I guess the next thing I could try would be to bisect, though if you know a tool to automate it that would be helpful. |
I found |
Unfortunately I realize now that it's not the Rust source that I need to bisect but the version I myself am using to build it (because the link error occurs when building stage0 on a local-Rust setup). This means I have to manually download a bunch of nightlies to start bisecting, fun. |
FYI, there is bisect-rust that automatically does that (and downloads the artifacts of individual PRs, not nightlies). Even if the default test script uses docker and is meant to be used on Linux, I'm sure it's way easier to adapt it than to download a bunch of nightlies. |
I recently upgraded to Win 10 Pro so I've been looking for an excuse to try Docker for Windows (this same error occurs in Win 10 Home so it's not that). We should have a debugging guide or something that lists tools like this. |
@pietroalbini Unfortunately I can't build |
This nightly is relatively old but it's around the last time Rust built successfully for me. Nightly of the 5th fails to compile |
I can build Rust fine with the latest beta, but not the latest nightly for its own revision |
@abonander have you seen this lately? It's been over a year. |
I haven't attempted building rustc for about that long so I have no idea. I can try tonight after I get off work. |
This issue is very old now and there has not be any follow up nor anyone else reporting a problem so I'll close this now. I can reopen if anyone experiences this issue and has more information. |
I have MSVC installed through Visual Studio 2017. It used to work fine but very recently I have hit a regression in linking
rustc
withminiz.o
:The errors suggest the wrong CRT is being linked to. I'm running the latest nightly as of this post:
rustc 1.27.0-nightly (0b72d48f8 2018-04-10)
. This also seems to be specific to Rustbuild as I cloned flate2-rs and rancargo test
and all tests passed.The text was updated successfully, but these errors were encountered: