[GHC] #10672: checkProddableBlock crash during Template Haskell linking
GHC
ghc-devs at haskell.org
Sat Aug 8 08:18:27 UTC 2015
#10672: checkProddableBlock crash during Template Haskell linking
-------------------------------------+-------------------------------------
Reporter: lukexi | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.10.3
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #9297 #10563 | Differential Revisions:
#8237 #9907 |
-------------------------------------+-------------------------------------
Comment (by lukexi):
To anyone else bitten by this:
While this is figured out, I'm just stripping out all uses of Template
Haskell in my software since I'm only using it for generating lenses.
I put up a simple preprocessor here to do that during the build phase
https://github.com/lukexi/strip-ths, designed to work with stack or cabal.
(this workaround works because, as I mention in the README for the repro,
> Everything also works [...] if I just call cabal exec -- ghc
app/Main.hs. This is presumably because GHC doesn't try to link cxxylib
when it is just compiling the Template Haskell splices, whereas Cabal asks
it to.
)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10672#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list