LLVM failures
Simon Peyton-Jones
simonpj at microsoft.com
Wed Jan 16 13:29:38 CET 2013
It's fine. llc -version (one dash) works ok. see below
bash-3.1$ llc -version
LLVM (http://llvm.org/):
LLVM version 3.1
Optimized build with assertions.
Built May 22 2012 (00:18:58).
Default target: i686-pc-mingw32
Host CPU: corei7
Registered Targets:
arm - ARM
cellspu - STI CBEA Cell SPU [experimental]
cpp - C++ backend
hexagon - Hexagon
mblaze - MBlaze
mips - Mips
mips64 - Mips64 [experimental]
mips64el - Mips64el [experimental]
mipsel - Mipsel
msp430 - MSP430 [experimental]
ppc32 - PowerPC 32
ppc64 - PowerPC 64
ptx32 - PTX (32-bit) [Experimental]
ptx64 - PTX (64-bit) [Experimental]
sparc - Sparc
sparcv9 - Sparc V9
thumb - Thumb
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
xcore - XCore
bash-3.1$
| -----Original Message-----
| From: David Terei [mailto:davidterei at gmail.com]
| Sent: 16 January 2013 10:59
| To: Simon Peyton-Jones
| Cc: Nathan Hüsken; ghc-devs at haskell.org
| Subject: Re: LLVM failures
|
| My guess is llc doesn't like the arguments being passed to it. Try
| running llc as follows:
|
| $ llc -version
|
| (one dash, not two). That works fine on linux and osx. Does it not work
| on windows?
|
| Cheers,
| David
|
| On 16 January 2013 21:30, Simon Peyton-Jones <simonpj at microsoft.com>
| wrote:
| > | Remember getting these errors, and I remember fixing them by having
| > | llc-3.0 and opt-3.0 in the path.
| >
| > Hmm. Well, HP has llc 3.1 so if that doesn't work it's a right
| nuisance.
| >
| > David said to try -v2. Here's the result
| >
| > *** 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
| >
| > I have no idea what "invalid argument" means. I can do further
| experiments if told what to try.
| >
| > Simon
| >
| > | -----Original Message-----
| > | From: ghc-devs-bounces at haskell.org
| > | [mailto:ghc-devs-bounces at haskell.org]
| > | On Behalf Of Nathan Hüsken
| > | Sent: 16 January 2013 09:15
| > | To: ghc-devs at haskell.org
| > | Subject: Re: LLVM failures
| > |
| > | Remember getting these errors, and I remember fixing them by having
| > | llc-3.0 and opt-3.0 in the path.
| > |
| > | On 01/14/2013 06:56 PM, Simon Peyton-Jones wrote:
| > | > I'm getting testsuite failures like this on Windows
| > | >
| > | > <no location info>:
| > | > Warning: Couldn't figure out LLVM version!
| > | > Make sure you have installed LLVM
| > | >
| > | > Fair enough, but shouldn't 'configure' find out if I have LLVM.
| > | > And
| > | if I don't, shouldn't the tests be disabled?
| > | >
| > | > Do we have instructions for installing LLVM on Windows?
| > | >
| > | > Simon
| > | >
| > | >
| > | >
| > | > _______________________________________________
| > | > ghc-devs mailing list
| > | > ghc-devs at haskell.org
| > | > http://www.haskell.org/mailman/listinfo/ghc-devs
| > | >
| > |
| > |
| > | _______________________________________________
| > | ghc-devs mailing list
| > | ghc-devs at haskell.org
| > | http://www.haskell.org/mailman/listinfo/ghc-devs
| >
| > _______________________________________________
| > ghc-devs mailing list
| > ghc-devs at haskell.org
| > http://www.haskell.org/mailman/listinfo/ghc-devs
More information about the ghc-devs
mailing list