[Mesa-dev] cant build mesa against current llvm(3.6 git)
Enrico Horn
farmboy0 at googlemail.com
Tue Aug 19 14:29:40 PDT 2014
Hi everyone,
tried to build mesa just now with llvm from git and get the following error:
gallivm/lp_bld_misc.cpp: In function 'LLVMBool
lp_build_create_jit_compiler_for_module(LLVMOpaqueExecutionEngine**,
lp_generated_code**, LLVMModuleRef, unsigned int, int, char**)':
gallivm/lp_bld_misc.cpp:424:35: error: no matching function for call to
'llvm::EngineBuilder::EngineBuilder(llvm::Module*)'
gallivm/lp_bld_misc.cpp:424:35: note: candidates are:
In file included from gallivm/lp_bld_misc.cpp:56:0:
/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:554:3: note:
llvm::EngineBuilder::EngineBuilder(std::unique_ptr<llvm::Module>)
/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:554:3: note: no
known conversion for argument 1 from 'llvm::Module*' to
'std::unique_ptr<llvm::Module>'
/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:531:7: note:
llvm::EngineBuilder::EngineBuilder(llvm::EngineBuilder&&)
/usr/include/llvm/ExecutionEngine/ExecutionEngine.h:531:7: note: no
known conversion for argument 1 from 'llvm::Module*' to
'llvm::EngineBuilder&&'
Is this a known problem?
And is there a workaround?
Thanks in advance
Enrico
More information about the mesa-dev
mailing list