Skip to content

rustc can't find libpthread-2.dll, mingw ships with pthreadGC2.dll #8786

Closed
@cnd

Description

@cnd
Contributor

Why rustc depends on libpthread-2.dll and not on pthreadGC2.dll ?

Should I get some older version of mingw / msys ?

Activity

klutzy

klutzy commented on Aug 27, 2013

@klutzy
Contributor

MinGW renamed dll: pthreadGC2.dll -> libpthread-2.dll.

cnd

cnd commented on Aug 27, 2013

@cnd
ContributorAuthor

with renamed, rustc.exe from i686-pc-mingw32\stage0\bin fails with 0xc000000005

Daetalus

Daetalus commented on Aug 27, 2013

@Daetalus

downgrade your mingw version from 4.7.x to 4.6.x.

cnd

cnd commented on Aug 27, 2013

@cnd
ContributorAuthor

how?

as this wiki ( https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust ) suggested I used mingw-get-inst http://sourceforge.net/projects/mingw/

And it's not clear for me how to downgrade it... It also will be great to add it to wiki page thought.

klutzy

klutzy commented on Sep 4, 2013

@klutzy
Contributor

@Heather I think mingw-get upgrade "gcc<4.6" and mingw-get upgrade "g++<4.6" on msys will work, as the doc states.

cnd

cnd commented on Sep 4, 2013

@cnd
ContributorAuthor

@klutzy thanks

added a commit that references this issue on Jun 4, 2022

Auto merge of rust-lang#8786 - Alexendoo:identity-op-suggestions, r=d…

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @klutzy@cnd@Daetalus

        Issue actions

          rustc can't find libpthread-2.dll, mingw ships with pthreadGC2.dll · Issue #8786 · rust-lang/rust