
#15262: TH splice containing numeric literal 0 causes heap overflow while cross- compiling -------------------------------------+------------------------------------- Reporter: howtonotwin | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.5 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by howtonotwin): Further testing reveals that the issue is simply that the GHC distribution that created the `ghc-iserv` program used `integer-gmp` but the cross- compiler used `integer-simple`. Configuring the non-cross-compiling GHC to use `integer-simple` too fixes this. It would be nice, however, if the error message were more informative. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15262#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler