[GHC] #2283: WIndows: loading objects that refer to DLL symbols
GHC
ghc-devs at haskell.org
Fri Jan 17 13:32:46 UTC 2014
#2283: WIndows: loading objects that refer to DLL symbols
---------------------------------+-------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: GHCi | Version: 6.8.2
Resolution: | Keywords:
Operating System: Windows | Architecture: x86
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By: 3658
Blocking: | Related Tickets: #7097 #7568
---------------------------------+-------------------------------
Changes (by awson):
* cc: hvr (added)
Comment:
This patch solves the problem. The patch is made against 7.6.3 *with* the
patch
https://ghc.haskell.org/trac/ghc/attachment/ticket/7134/ghc-7.6.3-w64fix.patch
applied.
These two also should apply to HEAD cleanly in order.
This patch is *especially* important for 64-bit build because it is
distributed with mingw-w64 gcc compiler, having
{{{__declspec(dllimport)}}} as part of windows api specs in header files.
Hence even C/C++ sources built via GHC driver refer to win32 API
functions, decorated with {{{__imp_}}} prefix.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2283#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list