Skip to content

Windows build is failing due to missing libpthread #11105

Closed
@ameyp

Description

@ameyp

Since the older version of gcc is no longer being used, I believe that the mingw32-libpthread-old package recommended in https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust is no longer valid. With the latest gcc and that package, even a simple C program compilation and linking as gcc test.c -lpthread fails with ld.exe: cannot find -lpthread. The problem no longer occurs if the mingw32-pthreads-w32 package is installed instead.

I believe the wiki page needs to be updated to ask the user to install the mingw32-pthreads-w32 package instead.

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

    Issue actions