./autogen.sh --prefix=/usr --disable-egl --enable-texture-float --enable-gallium-g3dvl --enable-r600-llvm-compiler --with-gallium-drivers=r600,swrast --with-dri-drivers= up to data tstellar/llvm. make[4]: Entering directory `/mnt/sdb1/Src64/Mesa-git/mesa/src/gallium/drivers/radeon' CXX radeon_llvm_emit.lo radeon_llvm_emit.cpp: In function 'void radeon_llvm_shader_type(LLVMValueRef, unsigned int)': radeon_llvm_emit.cpp:82:13: error: 'AttributeSet' has not been declared radeon_llvm_emit.cpp:87:35: error: no matching function for call to 'llvm::AttrBuilder::addAttribute(const char [11], char [2])' radeon_llvm_emit.cpp:87:35: note: candidate is: /usr/include/llvm/Attributes.h:207:16: note: llvm::AttrBuilder& llvm::AttrBuilder::addAttribute(llvm::Attributes::AttrVal) /usr/include/llvm/Attributes.h:207:16: note: candidate expects 1 argument, 2 provided radeon_llvm_emit.cpp:89:3: error: 'AttributeSet' was not declared in this scope radeon_llvm_emit.cpp:89:16: error: expected ';' before 'Set' radeon_llvm_emit.cpp:90:9: error: 'class llvm::Function' has no member named 'addAttributes' radeon_llvm_emit.cpp:90:28: error: 'Set' was not declared in this scope make[4]: *** [radeon_llvm_emit.lo] Error 1
The Mesa master branch requires the latest version of LLVM from the upstream repository. Can you try with that?
It builds OK with svn llvm.
I see the configure message is still saying - configure: WARNING: Please ensure you use the latest llvm tree from git://people.freedesktop.org/~tstellar/llvm master before submitting a bug
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.