
#8648: Initialization of C statics broken in threaded runtime -------------------------------------+------------------------------------ Reporter: edsko | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by duncan): Also note that it works when the `static-value` package is built as a dynamic lib and the top level exe uses dynamic libs. So what it looks like is that the ghci linker is not zeroing the memory allocated for the zero-init section from the object files. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8648#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler