Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[Stable] ICE on Windows 7 when compiling dependencies #45067
Comments
jjpe
changed the title
[Nightly] Compiler panic on Windows 7
[Nightly] Compiler panics on Windows 7 when compiling dependencies
Oct 6, 2017
jjpe
changed the title
[Nightly] Compiler panics on Windows 7 when compiling dependencies
[Stable] Compiler panics on Windows 7 when compiling dependencies
Oct 8, 2017
jjpe
changed the title
[Stable] Compiler panics on Windows 7 when compiling dependencies
[Stable] ICE Compiler panic on Windows 7 when compiling dependencies
Oct 8, 2017
jjpe
changed the title
[Stable] ICE Compiler panic on Windows 7 when compiling dependencies
[Stable] ICE on Windows 7 when compiling dependencies
Oct 8, 2017
TimNN
added
O-windows
C-bug
I-ICE
labels
Oct 8, 2017
This comment has been minimized.
This comment has been minimized.
parkovski
commented
Oct 8, 2017
|
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. |
This comment has been minimized.
This comment has been minimized.
parkovski
commented
Oct 13, 2017
|
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 |
This comment has been minimized.
This comment has been minimized.
dvtomas
commented
Jan 6, 2018
•
|
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. |
jjpe commentedOct 6, 2017
•
edited
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
rustcversion on OS X has no issues with the same project.The log output follows: