ghci-8.10.1 not working with profiling enabled
Summary
$ ghc-8.10.1 --interactive
GHCi, version 8.10.1: https://www.haskell.org/ghc/ :? for help
<interactive>:1:1: error:
Failed to load interface for ‘GHC.Types’
Perhaps you haven't installed the profiling libraries for package ‘ghc-prim-0.6.1’?
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
Steps to reproduce
compile ghc-8.10.1 with the following build.mk:
V=0
BUILD_MAN = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
HADDOCK_DOCS = YES
GhcWithLlvmCodeGen = YES
BuildFlavour = perf-llvm
GhcLibHcOpts += -g3
GhcProfiled = YES
GhcLibWays += p
Environment
- GHC version used: 8.10.1
Optional:
- Operating System: Linux
- System Architecture: amd64