[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 19 06:08:34 UTC 2017


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

            Bug ID: 102847
           Summary: swr fail to build with llvm-5.0.0
           Product: Mesa
           Version: 17.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/swr
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: lordheavym at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Log output:

  CXX      libmesaswr_la-swr_clear.lo
  CXX      libmesaswr_la-swr_context.lo
  CXX      libmesaswr_la-swr_draw.lo
  CXX      libmesaswr_la-swr_screen.lo
  CXX      libmesaswr_la-swr_state.lo
  CXX      libmesaswr_la-swr_tex_sample.lo
  CXX      libmesaswr_la-swr_scratch.lo
  CXX      libmesaswr_la-swr_shader.lo
  CXX      libmesaswr_la-swr_fence.lo
  CXX      libmesaswr_la-swr_fence_work.lo
  CXX      libmesaswr_la-swr_query.lo
  CXX      rasterizer/common/libmesaswr_la-formats.lo
  CXX      rasterizer/common/libmesaswr_la-os.lo
In file included from ./rasterizer/jitter/builder.h:74:0,
                 from swr_shader.cpp:34:
./rasterizer/jitter/gen_builder.hpp:504:43: error: ‘SynchronizationScope’ has
not been declared
 FenceInst* FENCE(AtomicOrdering Ordering, SynchronizationScope SynchScope =
CrossThread, const Twine &Name = "")
                                           ^~~~~~~~~~~~~~~~~~~~
./rasterizer/jitter/gen_builder.hpp:509:136: error: ‘SynchronizationScope’ has
not been declared
 AtomicCmpXchgInst* ATOMIC_CMP_XCHG(Value *Ptr, Value *Cmp, Value *New,
AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering,
SynchronizationScope SynchScope = CrossThread)
                                                                               
                                                        ^~~~~~~~~~~~~~~~~~~~
./rasterizer/jitter/gen_builder.hpp:514:101: error: ‘SynchronizationScope’ has
not been declared
 AtomicRMWInst* ATOMIC_RMW(AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val,
AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread)
                                                                               
                     ^~~~~~~~~~~~~~~~~~~~
./rasterizer/jitter/gen_builder.hpp:504:77: error: ‘CrossThread’ was not
declared in this scope
 FenceInst* FENCE(AtomicOrdering Ordering, SynchronizationScope SynchScope =
CrossThread, const Twine &Name = "")
                                                                            
^~~~~~~~~~~
./rasterizer/jitter/gen_builder.hpp:509:170: error: ‘CrossThread’ was not
declared in this scope
 AtomicCmpXchgInst* ATOMIC_CMP_XCHG(Value *Ptr, Value *Cmp, Value *New,
AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering,
SynchronizationScope SynchScope = CrossThread)
                                                                               
                                                                               
          ^~~~~~~~~~~
./rasterizer/jitter/gen_builder.hpp:514:135: error: ‘CrossThread’ was not
declared in this scope
 AtomicRMWInst* ATOMIC_RMW(AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val,
AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread)
                                                                               
                                                       ^~~~~~~~~~~
  CXX      rasterizer/common/libmesaswr_la-rdtsc_buckets.lo
  CXX      rasterizer/common/libmesaswr_la-swr_assert.lo
  CXX      rasterizer/codegen/libmesaswr_la-gen_knobs.lo
  CXX      libmesaswr_la-swr_loader.lo
make[5]: *** [Makefile:2441: libmesaswr_la-swr_shader.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory
'/build/mesa/src/mesa-17.2.1/src/gallium/drivers/swr'
make[4]: *** [Makefile:1503: all] Error 2
make[4]: Leaving directory
'/build/mesa/src/mesa-17.2.1/src/gallium/drivers/swr'
make[3]: *** [Makefile:601: all-recursive] Error 1
make[3]: Leaving directory '/build/mesa/src/mesa-17.2.1/src/gallium'
make[2]: *** [Makefile:853: all-recursive] Error 1
make[2]: Leaving directory '/build/mesa/src/mesa-17.2.1/src'
make[1]: *** [Makefile:644: all] Error 2
make[1]: Leaving directory '/build/mesa/src/mesa-17.2.1/src'
make: *** [Makefile:649: all-recursive] Error 1

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


More information about the mesa-dev mailing list