[Mesa-dev] clover build fail with git llvm

Andy Furniss adf.lists at gmail.com
Sat Jan 24 07:06:29 PST 2015


Making all in state_trackers/clover
make[3]: Entering directory 
'/mnt/sdb1/Src64/Mesa-git/mesa/src/gallium/state_trackers/clover'
   CXX      llvm/libclllvm_la-invocation.lo
llvm/invocation.cpp: In function 'void 
{anonymous}::optimize(llvm::Module*, unsigned int, const 
std::vector<llvm::Function*>&)':
llvm/invocation.cpp:335:49: error: no matching function for call to 
'llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::Triple)'
              llvm::Triple(mod->getTargetTriple()));
                                                  ^
llvm/invocation.cpp:335:49: note: candidates are:
In file included from llvm/invocation.cpp:60:0:
/usr/include/llvm/Analysis/TargetLibraryInfo.h:785:3: note: 
llvm::TargetLibraryInfo::TargetLibraryInfo(llvm::TargetLibraryInfo&&)
    TargetLibraryInfo(TargetLibraryInfo &&TLI) : Impl(TLI.Impl) {}
    ^
/usr/include/llvm/Analysis/TargetLibraryInfo.h:785:3: note:   no known 
conversion for argument 1 from 'llvm::Triple' to 'llvm::TargetLibraryInfo&&'
/usr/include/llvm/Analysis/TargetLibraryInfo.h:784:3: note: 
llvm::TargetLibraryInfo::TargetLibraryInfo(const llvm::TargetLibraryInfo&)
    TargetLibraryInfo(const TargetLibraryInfo &TLI) : Impl(TLI.Impl) {}
    ^
/usr/include/llvm/Analysis/TargetLibraryInfo.h:784:3: note:   no known 
conversion for argument 1 from 'llvm::Triple' to 'const 
llvm::TargetLibraryInfo&'
/usr/include/llvm/Analysis/TargetLibraryInfo.h:781:12: note: 
llvm::TargetLibraryInfo::TargetLibraryInfo(const 
llvm::TargetLibraryInfoImpl&)
    explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl) : 
Impl(&Impl) {}
             ^
/usr/include/llvm/Analysis/TargetLibraryInfo.h:781:12: note:   no known 
conversion for argument 1 from 'llvm::Triple' to 'const 
llvm::TargetLibraryInfoImpl&'
Makefile:857: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
make[3]: *** [llvm/libclllvm_la-invocation.lo] Error 1
make[3]: Leaving directory 
'/mnt/sdb1/Src64/Mesa-git/mesa/src/gallium/state_trackers/clover'
Makefile:571: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src/gallium'
Makefile:656: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/sdb1/Src64/Mesa-git/mesa/src'
Makefile:599: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


More information about the mesa-dev mailing list