Segfault while installing GHC built with ticky
make install to install GHC HEAD with ticky enabled results in a segfault.
Steps to reproduce
Clone GHC. The set
BuildFlavour = quick ifneq "$(BuildFlavour)" "" include mk/flavours/$(BuildFlavour).mk endif STRIP_CMD = : GhcLibHcOpts += -ticky GhcHcOpts += -ticky GhcThreaded = NO
This is just the default build config with three extra things set. The values of
GhcThreaded are given in https://gitlab.haskell.org/ghc/ghc/-/wikis/debugging/ticky-ticky and the value of
GhcHcOpts is just me guessing at what to do.
make (I use
make -j7, but that should not matter). This will succeed. Now run
make install. Segfault, or sometimes a different kind of failure happens. Either way, it never succeeds.
The expectation is that
make install succeeds.
- GHC version used: HEAD