
#16166: Compiling with profiling on Windows can cause linker errors -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: 8.6.4 Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/225 -------------------------------------+------------------------------------- Changes (by Phyx-): * status: patch => merge Comment: Thanks for the report `crockeea` and the reproducer `RyanGlScott`. If you require, you can work around this by making a file {{{ PROVIDE(__chkstk_ms = ___chkstk_ms); }}} called `workaround.ldscript` and tell GHC `-optl"workaround.ldscript"` or add that as `ghc-options` in your cabal file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16166#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler