
#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 ezyang): Hello lukexi, The problem is that your binary contains a section which (1) is pointed to by relocations, and (2) GHC doesn't understand. The pre-7.10.x error is better because it looks like to make your code work we really do need to understand the relocation. (We could paper over the problem by simply skipping relocations in sections we don't understand, but it is quite likely that you will get some even more bizarre error.) Can you run your test program with `+RTS -Dl` (debug RTS) and tell us exactly what section is unknown? Edward -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10672#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler