kyrab at mail.ru
Thu Apr 3 13:34:24 UTC 2014
On 4/3/2014 17:15, Austin Seipp wrote:
> Right now, Kyrill has suggested a fix I'm attempting (I slightly
> botched my first try), and I have found a way to avoid it at the
> moment by turning off optimization (which seems to reduce stack
> pressure enough to get by on Windows - see the ticket for details).
It's absolutely not necessary to rebuild everything to check if this
works, it's enough to edit ghc.exe with peflags utility (which has
--stack-reserve and --stack-commit options) and look if it stop
segfaulting. If I could reproduce the problem I'd have done this long ago.
More information about the ghc-devs