
#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 | -------------------------------------+------------------------------------- Changes (by Phyx-): * cc: Phyx- (added) Comment: Hmm, this seems to happen because in `checkProddableBlock` the `oc->proddables` is NULL. So it has no blocks to check and it errors out. Don't know why it errors out and doesn't skip that ObjectCode and continue when there are no `proddables`. I'm pretty new at the linker so hopefully someone who knows more about this part can explain it. Also it won't work on anything prior to 7.10.x since you'll get the Unknown PE section error fixed in #9907 I don't think #9297 is related either, which seems to have more to do with the name manglings. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10672#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler