
#9971: GHC 7.10 dies with "out of memory" -------------------------------------+------------------------------------- Reporter: albertov | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by albertov): Ok, now for real. It seems the culprit is the code generated by `derivingUnbox "Point"`. The changes that sidestep the bug are [https://github.com/meteogrid/sigym4-geometry/compare/ghc-9971?expand=1#diff-... these]. I've reconfigured with `cabal configure --disable-optimization --ghc- options="-ddump-splices" --enable-tests -w /usr/local/bin/ghc-7.10.0.20141222`, added back the `derivingUnbox` part (which now I'm positive that it's the real culprit) and I'm attaching the build output with the generated TH code. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9971#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler