GHCi : Windows : 8.8.1 : load package failures
Summary
GHCi fails to load (at least certain) packages on Windows complaining "unhandled PEi386 relocation type 0". Code probably emanates from ghc/rts/linker/PEi386.c (https://gitlab.haskell.org/ghc/ghc/issues/9907?cversion=0&cnum_hist=5#note_104251)
First observed in ghc-lib
with the introduction of 8.8.1 (https://github.com/digital-asset/ghc-lib/issues/142). Later found more evidence of the problem with haskell-src-exts in Hoogle builds (https://ci.appveyor.com/project/ndmitchell/hoogle#L5349).
Steps to reproduce
(1) ghc -ignore-dot-ghci -package=ghc-lib-parser -e "print 1"
(2) ghc -ignore-dot-ghci -package=haskell-src-exts -e "print 1"
Expected behavior
Print 1
.
Environment
- GHC version used: 8.8.1
Optional:
- Operating System: Windows