[haskell-llvm] Re: Re: Re: MathExtras.h: error: there are no arguments to ‘INT64_C’ that depend on a template parameter, so a declaration of ‘INT64_C’ must be available

Henning Thielemann lemming at henning-thielemann.de
Mon Apr 30 18:54:55 BST 2012


On Mon, 30 Apr 2012, Nathan Howell wrote:

> The way initializeNativeTarget works in the main repo is broken for
> MCJIT targets. There needs to be a call to
> LLVMInitializeNativeTarget() instead of LLVMInitializeX86Target() to
> boot up the JIT/MCJIT. This should also work on pre-3.0 branches (at
> least as far back as 2.6) since it is the intended way to initialize
> the JIT.
>
> https://github.com/alphaHeavy/llvm/commit/5a4b509dee79abb60a0071c02c1e97bccd0e2c53

Pulling from https://github.com/alphaHeavy/llvm/ led to conflicts with the 
other patches from the pull request list. Can I download just this single 
patch? I would appreciate if github would show me some 'git' command lines 
at those web pages. I am no git expert and do not know where to put a 
'git:' prefix or a '.git' suffix, how to get a single patch, at which 
branch I am etc.

I tried to get your repository
   git clone git://github.com/alphaHeavy/llvm.git
  but it seems that there are also patches missing, that are in the pull 
request list.

I think it would also be a good idea to move llvm-base to a separate git 
repository. It seems to be the part of the llvm-wrapper that makes most of 
the problems.



More information about the Haskell-llvm mailing list