[Mesa-dev] [Bug 111102] lp_bld_misc.cpp:834:156: error: no matching function for call to ‘llvm::IRBuilder<>::CreateAtomicCmpXchg(llvm::Value*, llvm::Value*, llvm::Value*, llvm::AtomicOrdering, llvm::SynchronizationScope)’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 10 18:39:36 UTC 2019


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

            Bug ID: 111102
           Summary: lp_bld_misc.cpp:834:156: error: no matching function
                    for call to
                    ‘llvm::IRBuilder<>::CreateAtomicCmpXchg(llvm::Value*,
                    llvm::Value*, llvm::Value*, llvm::AtomicOrdering,
                    llvm::SynchronizationScope)’
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: airlied at freedesktop.org, sroland at vmware.com

Build error with llvm-3.8.

  Compiling src/gallium/auxiliary/gallivm/lp_bld_misc.cpp ...
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In function ‘LLVMOpaqueValue*
LLVMBuildAtomicCmpXchg(LLVMBuilderRef, LLVMValueRef, LLVMValueRef,
LLVMValueRef, LLVMAtomicOrdering, LLVMAtomicOrdering, LLVMBool)’:
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:834:156: error: no matching
function for call to ‘llvm::IRBuilder<>::CreateAtomicCmpXchg(llvm::Value*,
llvm::Value*, llvm::Value*, llvm::AtomicOrdering, llvm::SynchronizationScope)’
                                                           SingleThread ?
llvm::SynchronizationScope::SingleThread :
llvm::SynchronizationScope::CrossThread));
                                                                               
                                                                            ^


2a55acbc1de0b8d1901988ee4f17d5697519c2d2 is the first bad commit
commit 2a55acbc1de0b8d1901988ee4f17d5697519c2d2
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Jul 2 07:10:53 2019 +1000

    gallivm: add compare exchange wrapper

    This just pulls the wrapper from LLVM for older versions

    Reviewed-by: Roland Scheidegger <sroland at vmware.com>

:040000 040000 cee7aedaa0ddff70fc6ab1b45205ed5d9d7bf771
4aa821efcbb5ee85301518e72b79afb636a1fd0f M      src
bisect run success

-- 
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: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190710/d8b01f95/attachment.html>


More information about the mesa-dev mailing list