Dear all,
I'm trying to build LLVM with 64-bit mingw.
I use a MinGW build from ruben :
[...]/gcc-4.8-release/x86_64-w64-mingw32-gcc-4.8.0-win64_rubenvb.7z
LLVM is configured with:
./configure --disable-threads --prefix=/mingw/x86_64-w64-mingw32
--enable-targets=x86,x86_64 --host=x86_64-w64-mingw32
LLVM 3.4 compiles without issue, but I cannot manage to link with the libs.
The errors look like:
DynamicLibrary.cpp:-1: error: undefined reference to
`__imp_EnumerateLoadedModules64'
I have searched and found that a bug was filed short after the release :
http://comments.gmane.org/gmane.comp.compilers.llvm.bugs/27463
So I tried with LLVM 3.3
LLVM 3.3 does not compile and issues errors such as:
[...]/llvm-3.3/Release+Asserts/lib/libLLVMMCJIT.a(SectionMemoryManager.o):SectionMemoryManager.cpp:(.text+0x3b):
undefined reference to `__register_frame'
[...]/llvm-3.3/Release+Asserts/lib/libLLVMJIT.a(JIT.o
):JIT.cpp:(.text+0x65df): undefined reference to `__register_frame'
[...]/llvm-3.3/Release+Asserts/lib/libLLVMJIT.a(JIT.o
):JIT.cpp:(.text+0x65f0): undefined reference to `__deregister_frame'
Did someone manage to build LLVM with mingw?
Thanks in advance,
Etienne
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public