[haskell-llvm] 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

Ilias Tsitsimpis iliastsi at hotmail.com
Mon Apr 30 20:18:27 BST 2012

On 04/30/2012 08:54 PM, Henning Thielemann wrote:
> 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.

I would suggest to clone the whole repo from alphaHeavy and not only the
commit specified above. You can do this with `git clone


More information about the Haskell-llvm mailing list