https://bugs.freedesktop.org/show_bug.cgi?id=61299
Priority: medium Bug ID: 61299 Assignee: mesa-dev@lists.freedesktop.org Summary: LLVM 3.2 fails to link with Mesa 9.0.2 on Windows; missing link libraries Severity: normal Classification: Unclassified OS: Windows (All) Reporter: keith.kriew...@attachmate.com Hardware: x86 (IA32) Status: NEW Version: 9.0 Component: Other Product: Mesa Linking of Mesa 9.0.2 with LLVM 3.2 fails with unresolved external symbol: LLVMJIT.lib(JITMemoryManager.obj) : error LNK2019: unresolved external symbol "p ublic: virtual __thiscall llvm::RTDyldMemoryManager::~RTDyldMemoryManager(void)" (??1RTDyldMemoryManager@llvm@@UAE@XZ) referenced in function "public: virtual _ _thiscall llvm::JITMemoryManager::~JITMemoryManager(void)" (??1JITMemoryManager@ llvm@@UAE@XZ) The problem appears to be that the link library list in \Mesa-9.0.2\scons\llvm.py is missing two LLVM libraries (LLVMRuntimeDyld and LLVMObject). Workaround is to modify llvm.py at line 95 to read: if llvm_version >= distutils.version.LooseVersion('3.0'): # 3.0 env.Prepend(LIBS = [ 'LLVMBitWriter', 'LLVMX86Disassembler', 'LLVMX86AsmParser', 'LLVMX86CodeGen', 'LLVMX86Desc', 'LLVMSelectionDAG', 'LLVMAsmPrinter', 'LLVMMCParser', 'LLVMX86AsmPrinter', 'LLVMX86Utils', 'LLVMX86Info', 'LLVMJIT', 'LLVMExecutionEngine', 'LLVMCodeGen', 'LLVMScalarOpts', 'LLVMInstCombine', 'LLVMTransformUtils', 'LLVMipa', 'LLVMAnalysis', 'LLVMTarget', 'LLVMMC', 'LLVMCore', 'LLVMSupport', 'LLVMRuntimeDyld', 'LLVMObject' ]) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev