LLVM failures

David Terei davidterei at gmail.com
Wed Jan 16 11:59:06 CET 2013


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