[GiNaC-list] Compiling GiNaC -> LLVM program

Alexei Sheplyakov alexei.sheplyakov at gmail.com
Wed Jun 2 00:04:59 CEST 2010

Hello, Martin,

On Mon, May 31, 2010 at 06:24:12PM +0200, Martin Ettl wrote:

> But running the compiled programm fails:
> $ ./ginac_jit bigex.txt bigex.ll
> ginac_jit: Instructions.cpp:1604: void
> llvm::BinaryOperator::init(llvm::Instruction::BinaryOps): Assertion `getType()->isIntOrIntVectorTy() && "Tried
> to create an integer operation on a non-integer type!"' failed.

> Any ideas why it does not work?

I'm unable to reproduce this error. I've tried compiling 32-bit version,
and... it works just fine. Perhaps the bug can be triggered only by some
specific (sub)expression. Or you use a different versions of LLVM. Could
you please post

- the `bigex.txt' file
- the output of the following command:
  dpkg -l llvm

Best regards,

More information about the GiNaC-list mailing list