
#8974: 64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults ------------------------------------+---------------------------------- Reporter: awson | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.2 Component: Compiler (LLVM) | Version: 7.9 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ------------------------------------+---------------------------------- Comment (by awson): Perhaps it would be interesting: `performMajorGC` alone and `putStrLn "Done"` alone works. `putStrLn "Done" >> performMajorGC` works. And {{{ foreign import ccall unsafe puts :: Ptr a -> IO () performMajorGC >> puts (Ptr "Done"#) }}} works too. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8974#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler