Skip to content

Dynamic linking and threading does not work on Windows

On Windows, compile this module:

main = print 42

With this command:

ghc --make -threaded -dynamic Main.hs

Run, and watch it segfault.

Trac metadata
Trac field Value
Version 7.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture x86
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information