[GHC] #7143: ghc-7.6.0.20120810-x86_64-windows.exe -> ghc can't figure out LLC version
GHC
cvs-ghc at haskell.org
Tue Aug 14 04:59:48 CEST 2012
#7143: ghc-7.6.0.20120810-x86_64-windows.exe -> ghc can't figure out LLC version
-----------------------------------------------+----------------------------
Reporter: cetinsert | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1-rc1 | Keywords: llvm
Os: Windows | Architecture: x86_64 (amd64)
Failure: Incorrect warning at compile-time | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------------+----------------------------
I have downloaded:
ghc: ghc-7.6.0.20120810-x86_64-windows.exe
mingw64:
http://www.drangon.org/mingw/mirror.php?num=2&fname=mingw-w64-bin-x86_64-20120807.7z
llvm64:
http://www.drangon.org/mingw/mirror.php?num=2&fname=llvm-3.1-w64-bin-x86_64-20120610.7z
my path contains:
{{{
/c/ghc/ghc-7.6.0.20120810/bin:/c/Users/Cetin/AppData/Roaming/cabal/bin:/c/llvm/bin:/c/mw64/bin
}}}
When I run:
{{{
ghc -fllvm --make Main.hs
}}}
I get:
{{{
[1 of 1] Compiling Main ( Main.hs, Main.o )
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
}}}
Attached is the output from:
{{{
ghc -v3 -fllvm --make Main.hs
}}}
for all Main.hs - it mentions:
{{{
*** LlVM CodeGen:
Error (figuring out LLVM version): : runInteractiveProcess: invalid
argument (Invalid argument)
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
*** LLVM Optimiser:
"" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o"
"C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg"
"--enable-tbaa=true"
Failed: "" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o"
"C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg"
"--enable-tb
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7143>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list