[Mesa-dev] LLVM build issue on r299777
Eric Engestrom
eric.engestrom at imgtec.com
Fri Apr 28 11:08:31 UTC 2017
Hi,
I'm currently running llvm r299777 but I have no idea when this was
changed.
make[4]: Entering directory '/var/tmp/mesa-git/src/mesa/src/amd'
CXX common/common_libamd_common_la-ac_llvm_helper.lo
common/ac_llvm_helper.cpp: In function ‘void ac_add_attr_dereferenceable(LLVMValueRef, uint64_t)’:
common/ac_llvm_helper.cpp:53:83: error: no matching function for call to ‘llvm::Argument::addAttr(llvm::Attribute)’
A->addAttr(llvm::Attribute::getWithDereferenceableBytes(A->getContext(), bytes));
^
In file included from /usr/include/llvm/IR/Function.h:25:0,
from /usr/include/llvm/IR/Module.h:21,
from /usr/include/llvm/ExecutionEngine/ExecutionEngine.h:22,
from common/ac_llvm_helper.cpp:35:
/usr/include/llvm/IR/Argument.h:111:8: note: candidate: void llvm::Argument::addAttr(llvm::AttributeList)
void addAttr(AttributeList AS);
^~~~~~~
/usr/include/llvm/IR/Argument.h:111:8: note: no known conversion for argument 1 from ‘llvm::Attribute’ to ‘llvm::AttributeList’
/usr/include/llvm/IR/Argument.h:113:8: note: candidate: void llvm::Argument::addAttr(llvm::Attribute::AttrKind)
void addAttr(Attribute::AttrKind Kind) {
^~~~~~~
/usr/include/llvm/IR/Argument.h:113:8: note: no known conversion for argument 1 from ‘llvm::Attribute’ to ‘llvm::Attribute::AttrKind’
make[4]: *** [Makefile:1065: common/common_libamd_common_la-ac_llvm_helper.lo] Error 1
Cc'ing Marek and Nicolai as I've seen you fixing LLVM version issues in
the past :)
Cheers,
Eric
More information about the mesa-dev
mailing list