Segfault while installing GHC built with ticky
Summary
Using make install to install GHC HEAD with ticky enabled results in a segfault.
Steps to reproduce
Clone GHC. The set build.mk to:
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 GhcLibHcOpts and 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.
Next, run 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.
Expected behavior
The expectation is that make install succeeds.
Environment
- GHC version used: HEAD