[GHC] #10885: Crashes on FFI calls to Visual Studio-built C library
GHC
ghc-devs at haskell.org
Tue Sep 15 14:40:35 UTC 2015
#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 rwbarton):
I hardly know anything about Windows and its calling conventions (for
example I have no idea how `OSMinGW32` is a possible platform when
compiling 64-bit code) but a while ago I noticed at
https://en.wikipedia.org/wiki/X86_calling_conventions#Microsoft_x64_calling_convention
something about a shadow space which as far as I can see we don't take
into account in `genCCall64'`. Could this be the cause?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10885#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list