Skip to content

9.2 alpha2 and 8.10.5 fail to load ghci lib due to allocateWrite missing

Fails like:

ghc-stage2: <sanitised>/libraries/ghci/dist-install/build/HSghci-9.2.0.20210422.o: unknown symbol `allocateWrite'
ghc-stage2: Could not load Object Code <sanitised>/libraries/ghci/dist-install/build/HSghci-9.2.0.20210422.o.

We build using make and crucially with DYNAMIC_GHC_PROGRAMS=NO. I suspect there's a missing export of allocateWrite in the RTS.

Edited by Jens Petersen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information