Cabal reports mismatched interface file ways dyn
Stefan Schulze Frielinghaus
ml at stefansf.de
Thu Jul 11 09:06:55 UTC 2019
Hi all,
I'm trying to compile GHC 8.6.5 using the LLVM backend and dynamic linking. My
build.mk file looks as follows:
include mk/flavours/quick-llvm.mk
DYNAMIC_BY_DEFAULT = YES
I can build a stage3 compiler. However while executing `make install` the
following error shows up:
"inplace/bin/ghc-cabal" register libraries/ghc-prim dist-install "/devel/ghc86/lib/ghc-8.6.5/bin/ghc" "/devel/ghc86/lib/ghc-8.6.5/bin/ghc-pkg" "/devel/ghc86/lib/ghc-8.6.5" '' '/devel/ghc86' '/devel/ghc86/lib/ghc-8.6.5' '/devel/ghc86/share/doc/ghc-8.6.5/html/libraries' NO
ghc-cabal: '/devel/ghc86/lib/ghc-8.6.5/bin/ghc' exited with an error:
Bad interface file: dist-install/build/GHC/CString.hi
mismatched interface file ways (wanted "dyn", got "")
I found similar reports [1,2] from 2013 but no solution. Any ideas how to fix
this?
Cheers,
Stefan
[1] https://mail.haskell.org/pipermail/ghc-devs/2013-December/003488.html
[2] https://mail.haskell.org/pipermail/ghc-devs/2013-December/003507.html
More information about the ghc-devs
mailing list