-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[Stable] ICE on Windows 7 when compiling dependencies #45067
Comments
The canonicalize code is similar to libuv but a couple flags are different - I suspect the problem has to do with those flags, but I'll need to set up a network drive to test it. |
I've been unable to repro this on Windows 10 - wrote a test program that canonicalizes a network path and tried running it through a symlink, hard link, .bat script, and various different startup args. All work for me. I can also build a project on a network drive with my local cargo, so whatever is causing this must have been fixed in Win10. The one exception is if I open an admin shell, I lose the network drive. I also can't create a project on the remote drive - it's mapped onto my Mac, and it seems you can't create dot files with the flags Cargo is using (fails at trying to create I know a bunch of system path handling functions were changed in Win10 to allow long paths. Canonicalize calls |
The same has happened to me. I am using an official MS VirtualBox trial image downloaded from here, combination IE11 on Win7 (x86)/VirtualBox. When building a project on a VirtualBox shared folder, I get this:
When I copy the project to a local path, it compiles. |
UPDATE 2:
I just talked over this issue on internals and it strongly looks like this ICE is triggered because the code was effectively on a network drive. I moved the project to an internal disk, and now it compiles fine.
Still, I'd rather not close this issue just yet, as it would be nice to be able to compile from a network drive without ICE. This bug also seems related to this one, and is perhaps even a duplicate.
UPDATE: I just tried this with stable
rustc 1.20.0 (f3d6973f4 2017-08-27) running on i686-pc-windows-msvc
, and get the same result as with nightly.I'm trying to compile a project for work on Windows 7 using
rustc 1.22.0-nightly (c6884b12d 2017-09-30)
, but compilation fails when trying to build the project's dependencies.Interesting to note is that the same
rustc
version on OS X has no issues with the same project.The log output follows:
The text was updated successfully, but these errors were encountered: