haskell-suite / haskell-src-exts

Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer
Other
193 stars 94 forks source link

Problems compiling on windows with GHC 8.8.1 and 8.8.2 #447

Open flip111 opened 4 years ago

flip111 commented 4 years ago

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: https://github.com/diku-dk/futhark/issues/832

jneira commented 4 years ago

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

jneira commented 4 years ago

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