[GHC] #5620: Dynamic linking and threading does not work on Windows

GHC ghc-devs at haskell.org
Sat Oct 8 20:57:25 UTC 2016


#5620: Dynamic linking and threading does not work on Windows
---------------------------------------+-----------------------------
        Reporter:  Lennart             |                Owner:
            Type:  bug                 |               Status:  new
        Priority:  normal              |            Milestone:
       Component:  Compiler (Linking)  |              Version:  7.2.1
      Resolution:                      |             Keywords:
Operating System:  Windows             |         Architecture:  x86
 Type of failure:  Runtime crash       |            Test Case:
      Blocked By:                      |             Blocking:
 Related Tickets:                      |  Differential Rev(s):
       Wiki Page:                      |
---------------------------------------+-----------------------------

Comment (by dobenour):

 Could we have the library we link to export stubs for the RTS functions,
 which then load the library at ''runtime'' using {{{LoadLibrary}}} and
 {{{GetProcAddress}}}?

 There are a lot of stubs to write, but are all virtually identical so
 could easily be generated.

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


More information about the ghc-tickets mailing list