Re: [Mono-dev] LLVM with current Mono

2011-10-20 Thread Zoltan Varga
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.kruczyn...@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] LLVM with current Mono

2011-10-20 Thread Konrad Kruczyński
Hi Zoltan,

2011/10/20 Zoltan Varga var...@gmail.com:
 Hi,
   You should use the branch in the LLVM repo corresponding to your mono
 version,
 i.e. mono-2-10.
                 Zoltan


Generally it was what I did. Specifically:
LLVM from mono-2-10 branch, last commit ab6947203a665efa0d7676f19cabf2fa70e3af60
configured with:
./configure --enable-optimized --enable-targets=x86 x86_64 --prefix=/usr/
Mono 2.10.5 tarball from mono site. Configured with:
./configure --prefix=/usr/ --enable-llvm=yes
LLVM compilation went fine, hovewer Mono's ended with error attached
in previous message.

--
Regards,
 Konrad
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] LLVM with current Mono

2011-10-20 Thread Zoltan Varga
Hi,

  I can't reproduce this.

Zoltan

2011/10/20 Konrad Kruczyński konrad.kruczyn...@gmail.com

 Hi Zoltan,

 2011/10/20 Zoltan Varga var...@gmail.com:
  Hi,
You should use the branch in the LLVM repo corresponding to your mono
  version,
  i.e. mono-2-10.
  Zoltan
 

 Generally it was what I did. Specifically:
 LLVM from mono-2-10 branch, last commit
 ab6947203a665efa0d7676f19cabf2fa70e3af60
 configured with:
 ./configure --enable-optimized --enable-targets=x86 x86_64 --prefix=/usr/
 Mono 2.10.5 tarball from mono site. Configured with:
 ./configure --prefix=/usr/ --enable-llvm=yes
 LLVM compilation went fine, hovewer Mono's ended with error attached
 in previous message.

 --
 Regards,
  Konrad

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list