[GHC] #7143: ghc-7.6.0.20120810-x86_64-windows.exe -> ghc can't figure out LLVM version
GHC
cvs-ghc at haskell.org
Wed Sep 26 17:14:36 CEST 2012
#7143: ghc-7.6.0.20120810-x86_64-windows.exe -> ghc can't figure out LLVM version
---------------------------------+------------------------------------------
Reporter: cetinsert | Owner: dterei
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: Compiler | Version: 7.6.1-rc1
Keywords: llvm | Os: Windows
Architecture: Unknown/Multiple | Failure: Incorrect warning at compile-time
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by shelarcy):
* cc: shelarcy@… (added)
* architecture: x86_64 (amd64) => Unknown/Multiple
Comment:
Windows 32 bit version causes same problem.
{{{
> ghc -info
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts"," -fwrapv")
,("C compiler command","$topdir/../mingw/bin/gcc.exe")
,("C compiler flags"," -fno-stack-protector -Wl,--hash-size=31 -Wl
,--reduce-me
mory-overheads")
,("ar command","$topdir/../mingw/bin/ar.exe")
,("ar flags","q")
,("ar supports at file","YES")
,("touch command","$topdir/touchy.exe")
,("dllwrap command","$topdir/../mingw/bin/dllwrap.exe")
,("windres command","$topdir/../mingw/bin/windres.exe")
,("perl command","$topdir/../perl/perl.exe")
,("target os","OSMinGW32")
,("target arch","ArchX86")
,("target word size","4")
,("target has GNU nonexec stack","False")
,("target has .ident directive","True")
,("target has subsections via symbols","False")
,("LLVM llc command","")
,("LLVM opt command","")
,("Project version","7.6.1")
,("Booter version","7.4.2")
,("Stage","2")
,("Build platform","i386-unknown-mingw32")
,("Host platform","i386-unknown-mingw32")
,("Target platform","i386-unknown-mingw32")
,("Have interpreter","YES")
,("Object splitting supported","YES")
,("Have native code generator","YES")
,("Support SMP","YES")
,("Unregisterised","NO")
,("Tables next to code","YES")
,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
thr_debu
g_dyn")
,("Leading underscore","YES")
,("Debug on","False")
,("LibDir","C:\\ghc\\ghc-7.6.1\\lib")
,("Global Package DB","C:\\ghc\\ghc-7.6.1\\lib\\package.conf.d")
,("Gcc Linker flags","[\"-Wl,--hash-size=31\",\"-Wl,--reduce-memory-
overheads\"
]")
,("Ld Linker flags","[\"--hash-size=31\",\"--reduce-memory-overheads\"]")
]
> ghc -fllvm Main.hs
[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
}}}
I used GHC 7.6.1 with LLVM official site's LLVM 2.9 binary.
{{{
> llc --version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.9
Optimized build.
Built Apr 6 2011 (03:41:01).
Host: i386-pc-mingw32
Host CPU: i686
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7143#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list