ghc-stage2 —interactive segfaults on Mac OS X 10.11.6 (build flavour = prof)
ben at smart-cactus.org
Thu Apr 13 17:01:52 UTC 2017
Alfredo Di Napoli <alfredo.dinapoli at gmail.com> writes:
> Hey all,
> I’m trying to compile GHC HEAD (cloning from master) with the `prof` build
> flavour on a Mac OS X 10.11.6 machine and I have noticed that, despite
> ghc-stage2 works as expected, when invoked with —interactive it starts
> before crashing with a segmentation fault:
> ☁ compiler [master] ⚡ ../inplace/bin/ghc-stage2 --interactive
> GHCi, version 8.3.20170413: http://www.haskell.org/ghc/ :? for help
>  79176 segmentation fault ../inplace/bin/ghc-stage2 --interactive
> Did it happen to somebody else or it’s just me? Shall I try throwing gdb at
> it to try and see what’s going on?
Hmm, interesting. I've not seen crashes like this locally nor in CI. It
would be great if you could try to get some insight. Is this crash
It may be worth adding -dcore-lint to GhcStage2HcOpts to ensure the code
we are producing is sane.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs