Open madjestic opened 7 years ago
Each version of ghc requires a specific version of llvm to work. You appear to have the wrong combination installed. So I don't believe this is a bug in subhask.
On Thu, Dec 15, 2016 at 10:30 AM, Vladimir Lopatin <notifications@github.com
wrote:
~/Projects/Haskell/subhask $ stack test --bench subhask-0.1.1.0: build (lib + exe + test + bench) Preprocessing library subhask-0.1.1.0... In-place registering subhask-0.1.1.0... Preprocessing executable 'Example0001' for subhask-0.1.1.0... Preprocessing executable 'Example0002' for subhask-0.1.1.0... Preprocessing executable 'Example0003' for subhask-0.1.1.0... Preprocessing test suite 'test' for subhask-0.1.1.0... [1 of 1] Compiling Main ( test/TestSuite.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/test/test-tmp/Main.o ) You are using a new version of LLVM that hasn't been tested yet! We will try though... opt: /tmp/ghc24482_0/ghc_2.ll:7:6: error: unexpected type in metadata definition !0 = metadata !{metadata !"top", i8* null} ^ Progress: 1/2 -- While building package subhask-0.1.1.0 using: /home/madjestic/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 build lib:subhask exe:Example0001 exe:Example0002 exe:Example0003 test:test bench:bench --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1
llvm-config --version 3.9.0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mikeizbicki/subhask/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAP1k3KDdxHp4tbO1U9E-WjB_Y0HoTFks5rIYc8gaJpZM4LOanp .
Can I haz a fix, plz?