haskell-suite/haskell-src-exts

Problems compiling on windows with GHC 8.8.1 and 8.8.2

flip111 opened this issue · 2 comments

There is an error

C:\sr\snapshots\9bcf929c\lib\x86_64-windows-ghc-8.8.1\haskell-src-exts-1.22.0-620ASTx4cKYEetyTEBU7vQ\HShaskell-src-exts-1.22.0-620ASTx4cKYEetyTEBU7vQ.o: unhandled PEi386 relocation type 

That pops up in a few projects that make use of haskell-src-exts. I didn't see an issue about this on the tracker yet.

Source issue: diku-dk/futhark#832

Confirming the error is raised trying to build haskell-ide-engine in windows using ghc-8.8.2 and haskell-src-exts-1.21.1

Related issue in ghc: https://gitlab.haskell.org/ghc/ghc/issues/17599 (duplicate of https://gitlab.haskell.org/ghc/ghc/issues/17575)
I am afraid it is a ghc bug that is fixed for ghc-8.8.3 and ghc-8.10.1