Skip to content

[mingwW64] [GHC 9.2.2] iserv cannot load libgcc_s_seh-1.dll #1483

Closed
@ramirez7

Description

@ramirez7

Minimal reproduction

I ran into this x-compiling cleff, which uses TH. Seems related to #1450, which does make some changes to the handling of these system libs.

I got things working by manually symlinking these dlls in the iserv wrapper: https://github.com/ramirez7/haskell.nix/blob/35c988ccdead5f66f7e11a41129cbf649445040c/overlays/mingw_w64.nix#L41-L45

This issue was only present in GHC 9 - everything worked fine with 8.10.7.

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