
#13112: Windows 64-bit GHC HEAD segfaults on the code with a lot of TH stuff. ---------------------------------+-------------------------------------- Reporter: awson | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by awson): My previous comment was, in fact, correct. After thorough investigations I've discovered that the crash happens when runtime linker starts to load object code into addresses higher than 2GB, thus violating small code model requirement. I see no easy ways to fix this, so, for the time being the only workaround I see is to use `-fexternal-interpreter` (thank you, people, it now works on Windows). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13112#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler