-
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
Nightly -pc-windows-gnu
missing DLL crash
#31840
Comments
-pc-windows-gnu
hangs-pc-windows-gnu
crashes (and hangs on appveyor)
Welp, it's just a missing DLL. I'm also tempted to blame rust-lang-deprecated/rust-buildbot@8faa011 |
-pc-windows-gnu
crashes (and hangs on appveyor)-pc-windows-gnu
missing DLL crash
Did the mingw toolchain get changed from "win32" to "pthreads" flavor? |
Yes it looks like the wrong libstdc++-6.dll is getting slurped up by
The former is the one we want to ship, where the latter is what we're accidentally shipping (verified by just checking the md5sum of what's on the bots and what's installed locally). I don't understand why we're slurping up this copy, however. When the
When we try to find the @vadimcn do you have any ideas for what might be going on here? I recently changed buildbot to move the Do you know if this |
Whelp, yet another reason to burn mingw with fire:
Looks like mingw is doing us a favor and prepending to path for us! The other python installed on the system is:
Which must also explain why we didn't run into this before. Good lord the pain with mingw never ends... |
Should be fixed by rust-lang-deprecated/rust-buildbot@77185c8 |
The issue is back at least starting from It was working fine 3 days ago, not sure what the last good version is. |
@burningmind do you have logs and/or a description of the environment that causes this? We've changed a few things recently which may result in this, but it's definitely not an intentional regression! |
@alexcrichton Woops, where are my manners... On Windows 10, not yet updated to Creators Update, using rustup from the default Windows command line. I simply updated using
|
Thanks for the info @burningmind! Can you confirm as well that you're using rustup? It looks like we're shipping the right dlls but when we invoke the gcc.exe that's bundled the right dlls aren't in PATH, so they're not found correctly. |
@alexcrichton I am indeed using rustup. (unless that was directed to @retep998 ) |
Thanks @burningmind. I'll work on getting this fixed on nightly. In the meantime, if you'd like to get things working again, I'd recommend one of:
|
Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
@burningmind I've opened #41571 for this |
…rson windows: Copy libwinpthread-1.dll into libdir bin Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
…rson windows: Copy libwinpthread-1.dll into libdir bin Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
…rson windows: Copy libwinpthread-1.dll into libdir bin Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
…rson windows: Copy libwinpthread-1.dll into libdir bin Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
…rson windows: Copy libwinpthread-1.dll into libdir bin Recently we switched from the win32 MinGW toolchain to the pthreads-based toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package in the standard distribution but the pthreads version of `gcc.exe` depends on `libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe location and don't attempt to share for now. cc rust-lang#31840 (comment)
First found on appveyor:
https://ci.appveyor.com/project/retep998/winapi-rs/build/1.0.724/job/qiwg0jsw19fyb0b4
It appears that the
libstdc++-6.dll
whichrustc_llvm-fd663c41.dll
depends on has picked up a dependency onlibwinpthread-1.dll
.Issue does not affect
-msvc
targets.Last known good version was
rustc 1.8.0-nightly (c894ff6b1 2016-02-20)
.First version where issue was observed
rustc 1.8.0-nightly (c92e910c1 2016-02-21)
.Offending diff range is c894ff6...c92e910
cc @alexcrichton @vadimcn
The text was updated successfully, but these errors were encountered: