Skip to content

rustc.exe depends on winpthreads #13501

Closed

Description

@klutzy

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

  1. 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.

  2. self-assigned this
    on Apr 14, 2014
  3. qoh commented on Apr 14, 2014

    @qoh
    Contributor

    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).

  4. 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.

  5. brson commented on Apr 14, 2014

    @brson
    Contributor

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

  6. brson commented on Apr 15, 2014

    @brson
    Contributor

    I just updated the bots to use win32 threads.

  7. brson commented on Apr 17, 2014

    @brson
    Contributor

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

  8. klutzy commented on Apr 18, 2014

    @klutzy
    ContributorAuthor

    Yep, it's fixed!

  9. 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.

  10. vadimcn commented on Sep 14, 2014

    @vadimcn
    Contributor

    Yep. Only seems to be a problem with nightlies though, snapshots are OK.
    @brson, perhaps the nightly bot got installed with "posix" mingw?

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

    No branches or pull requests

    Issue actions