Skip to content

rustc.exe depends on winpthreads #13501

Closed
@klutzy

Description

@klutzy
Contributor

Buildbot seems to use mingw-w64 package from mingw-builds with "thread=posix" option. In this setting, libstdc++-6.dll depends on libwinpthread-1.dll. Thus llvm binaries and rustc.exe/rustdoc.exe depend on it.
The dependency can be dropped by re-installing mingw-builds with "thread=win32" option.

cc @brson @vadimcn

Activity

klutzy

klutzy commented on Apr 14, 2014

@klutzy
ContributorAuthor

Side issue: stage0 doesn't have libwinpthread-1.dll now. It causes missing dll error on old mingw setup.

self-assigned this
on Apr 14, 2014
qoh

qoh commented on Apr 14, 2014

@qoh

Using the nightly installer, running rustc always gives "The program can't start because libwinpthread-1.dll is missing from your computer. Try reinstalling the program to fix this problem." for me (can't run at all).

vadimcn

vadimcn commented on Apr 14, 2014

@vadimcn
Contributor

Oh, that's right, it's coming back to me now: there is a performance bug in winpthreads. I agree, we should use threads=win32.

brson

brson commented on Apr 14, 2014

@brson
Contributor

I've started updating the bot to use win32 threads.

brson

brson commented on Apr 15, 2014

@brson
Contributor

I just updated the bots to use win32 threads.

brson

brson commented on Apr 17, 2014

@brson
Contributor

We have a new snap based on win32 threads. Can anyone confirm this is ok now?

klutzy

klutzy commented on Apr 18, 2014

@klutzy
ContributorAuthor

Yep, it's fixed!

tomaka

tomaka commented on Sep 14, 2014

@tomaka
Contributor

This issue is back in the 64 bits windows nightlies.
Starting rustc immediatly pops a missing libwinpthreads-1.dll error.
The 32 bits nightlies are working.

2 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @brson@tomaka@klutzy@qoh@vadimcn

    Issue actions

      rustc.exe depends on winpthreads · Issue #13501 · rust-lang/rust