[Mesa-dev] [Bug 92705] [clover] fail to build with llvm-svn/clang-svn 3.8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 28 02:02:26 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92705

            Bug ID: 92705
           Summary: [clover] fail to build with llvm-svn/clang-svn 3.8
           Product: Mesa
           Version: git
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: lordheavym at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

The output:
  CXX      llvm/libclllvm_la-invocation.lo
  CXXLD    libcltgsi.la
ar: `u' modifier ignored since `D' is the default (see `U')
llvm/invocation.cpp: In function 'llvm::Module*
{anonymous}::compile_llvm(llvm::LLVMContext&, const string&, const header_map&,
const string&, const string&, const string&, const string&, unsigned int
(&)[7], unsigned int&, std::string&)':
llvm/invocation.cpp:250:26: error: 'class clang::CodeGenOptions' has no member
named 'LinkBitcodeFile'
       c.getCodeGenOpts().LinkBitcodeFile = libclc_path;
                          ^
llvm/invocation.cpp: In function 'llvm::MDNode*
{anonymous}::node_from_op_checked(const llvm::MDOperand&, llvm::StringRef,
unsigned int)':
llvm/invocation.cpp:388:12: warning: unused variable 'str_node'
[-Wunused-variable]
       auto str_node = llvm::cast<llvm::MDString>(node->getOperand(0));
            ^
Makefile:868: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
make[3]: *** [llvm/libclllvm_la-invocation.lo] Error 1
make[3]: Leaving directory
'/build/mesa-git/src/mesa/src/gallium/state_trackers/clover'
Makefile:588: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

it's related to the following clang change:
https://github.com/llvm-mirror/clang/commit/d40c9d5c5ac1cfe4493652f3d0e3bfbded161840#diff-eea4b935785994d2ac7145014a13e9c0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151028/2d405574/attachment.html>


More information about the mesa-dev mailing list