
#10885: Crashes on FFI calls to Visual Studio-built C library -------------------------------------+------------------------------------- Reporter: mwu | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by awson): This is a bug in binutils. It can't link MS-created 64-bit import libraries properly. The bug was fixed in latest MSys2 binutils distribution: http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-binutils-2.25.1-1-any.pk.... Note that the bugfix was not in vanilla 2.25.1. MSys2 maintainers backported it from trunk binutils. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10885#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler