[GHC] #2283: WIndows: loading objects that refer to DLL symbols

GHC ghc-devs at haskell.org
Tue Mar 18 04:01:35 UTC 2014


#2283: WIndows: loading objects that refer to DLL symbols
---------------------------------+------------------------------------
        Reporter:  simonmar      |            Owner:
            Type:  bug           |           Status:  new
        Priority:  highest       |        Milestone:  7.8.1
       Component:  GHCi          |          Version:  6.8.2
      Resolution:                |         Keywords:
Operating System:  Windows       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:  #7097 #7568
---------------------------------+------------------------------------
Changes (by awson):

 * priority:  high => highest
 * status:  closed => new
 * resolution:  fixed =>
 * architecture:  x86 => Unknown/Multiple


Comment:

 That fix above was insufficient. It resolved linking of decorated
 function, but any attempt of some foreign code to call it lead to segfault
 because such foreign code want to call it *indirectly*, while we give it a
 direct address. This patch fixes things finally.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2283#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list