Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure "You are using a new version of LLVM that hasn't been tested yet!" #64

Open
madjestic opened this issue Dec 15, 2016 · 2 comments

Comments

@madjestic
Copy link

madjestic commented Dec 15, 2016

 ~/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

Can I haz a fix, plz?

@mikeizbicki
Copy link
Owner

mikeizbicki commented Dec 15, 2016 via email

@schiegl
Copy link

schiegl commented Dec 21, 2016

According to this GHC 8.0.1 needs llvm v3.7. Couldn't find anything for older GHC versions. Probably 3.5 or 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants