<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - swr fail to build with llvm-5.0.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102847">102847</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>swr fail to build with llvm-5.0.0
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/swr
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lordheavym@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>