[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

Nathan Howell nathan.d.howell at gmail.com
Tue May 1 01:28:49 BST 2012


On Mon, Apr 30, 2012 at 2:35 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
> I have cloned git://github.com/alphaHeavy/llvm.git, and after the move of
> @llvm_cppflags@ to CC-Options I can compile llvm-base and llvm, but I cannot
> compile the examples. :-(

I haven't updated the examples or test code. Since a bunch of pull
requests are sitting over at bos/llvm I haven't bothered cleaning up
any additional patches. The alphaHeavy/llvm/llvm30 branch is just what
we run over here (without our internal test suite).

> Can you explain what changes you are making and in what direction you are
> moving?

1) Removing concepts that are no longer needed, such as the
ModuleProvider abstraction (it's deprecated in LLVM 3.0) and the
EngineAccess monad (multiple JITs are allowed per process since LLVM
~2.8).

2) Adding or exposing LLVM functions that I find useful or
necessary... like exposing llvm::DisablePrettyStackTrace, which allows
one to disable LLVM's default assert behavior of calling exit().

3) Getting rid of the type-level package. I have a few modules that
take 10-20 minutes each and >4GB of ram to build mostly due to
type-level... and this is after reducing the number of cases
supported. I'm hoping GHC's type-nats are faster.

4) Providing better/easier support for emitting debug symbols.

-n



More information about the Haskell-llvm mailing list