Skip to content

fix building mingw32 rust with default gcc #37409

Closed
@hcorion

Description

@hcorion

Hiya folks. I've been working on updating msys2's rust package. As noted in the appveyor.yml rust i686-pc-windows-gnu doesn't build on the default mingw32 compiler.

For 32-bit the installed gcc toolchain on AppVeyor uses the pthread threading model. This is unfortunately not what we want, and if we compile with it then there's lots of link errors in the standard library (undefined references to pthread symbols).

Why does it compile with the 64-bit mingw64 gcc then? What is so different that it compiles with the 64-bit one but not the 32-bit gcc? If this is not rust's fault, could a bug be filed on the MINGW-Packages repo by someone who knows what the problem is?

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