| 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 | Reporter: | Vinson Lee <vlee> |
| Component: | Mesa core | Assignee: | mesa-dev |
| Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
| Severity: | normal | ||
| Priority: | medium | CC: | airlied, sroland |
| Version: | git | Keywords: | bisected, regression |
| Hardware: | x86-64 (AMD64) | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Should be fixed by 74baeacafc7c2e9bae0f4db9651b0c664d33f5ac. |
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.
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@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@vmware.com> :040000 040000 cee7aedaa0ddff70fc6ab1b45205ed5d9d7bf771 4aa821efcbb5ee85301518e72b79afb636a1fd0f M src bisect run success