[Mono-dev] LLVM with current Mono

Zoltan Varga vargaz at gmail.com
Thu Oct 20 11:39:46 EDT 2011


Hi,

  You should use the branch in the LLVM repo corresponding to your mono
version,
i.e. mono-2-10.

                Zoltan

2011/10/19 Konrad M. <konrad.kruczynski at gmail.com>

> Hi,
>  which branch of mono's LLVM repository should I use to compile mono
> 2.10.6 with --enabled-llvm? mono-2-10 one gives me:
> mini-llvm-cpp.cpp: In function ‘LLVMOpaqueExecutionEngine*
> mono_llvm_create_ee(LLVMOpaqueModuleProvider*, unsigned char*
> (*)(LLVMOpaqueValue*, int), void (*)(LLVMOpaqueValue*, void*, void*),
> void (*)(void*))’:
> mini-llvm-cpp.cpp:469: error: cannot allocate an object of abstract type
> ‘MonoJITMemoryManager’
> mini-llvm-cpp.cpp:59: note:   because the following virtual functions
> are pure within ‘MonoJITMemoryManager’:
> /usr/include/llvm/ExecutionEngine/JITMemoryManager.h:115: note:
> virtual
> void llvm::JITMemoryManager::deallocateFunctionBody(void*)
> /usr/include/llvm/ExecutionEngine/JITMemoryManager.h:131: note:
> virtual
> void llvm::JITMemoryManager::deallocateExceptionTable(void*)
>
> Regards,
>  Konrad
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111020/35e5f210/attachment.html 


More information about the Mono-devel-list mailing list