<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Mesa-current] [clover] build failure in clvover/api/transfer.cpp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56140#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Mesa-current] [clover] build failure in clvover/api/transfer.cpp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56140">bug 56140</a>
from <span class="vcard"><a class="email" href="mailto:currojerez@riseup.net" title="Francisco Jerez <currojerez@riseup.net>"> <span class="fn">Francisco Jerez</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=68790" name="attach_68790" title="clover_simplify_is_zero.patch">attachment 68790</a> <a href="attachment.cgi?id=68790&action=edit" title="clover_simplify_is_zero.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=56140&attachment=68790'>[review]</a>
clover_simplify_is_zero.patch
(In reply to <a href="show_bug.cgi?id=56140#c0">comment #0</a>)
<span class="quote">> ../../../../src/gallium/state_trackers/clover/.libs/libclover.a(lt8-
> libclover_la-kernel.o): In function `operator()':
> /home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:280:
> multiple definition of `std::function<bool (_cl_event* const&)>
> clover::is_zero<_cl_event*>()::{lambda(_cl_event*
> const&)#1}::_FUN(_cl_event* const&)'
> ../../../../src/gallium/state_trackers/clover/.libs/libclover.a(libclover_la-
> transfer.o):/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/
> base.hpp:280: first defined here
> ../../../../src/gallium/state_trackers/clover/.libs/libclover.a(lt8-
> libclover_la-kernel.o): In function `std::function<bool (_cl_event* const&)>
> clover::is_zero<_cl_event*>()::{lambda(_cl_event* const&)#1}::operator bool
> (*)(_cl_event* const&)() const':
> /home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:278:
> multiple definition of `std::function<bool (_cl_event* const&)>
> clover::is_zero<_cl_event*>()::{lambda(_cl_event* const&)#1}::operator bool
> (*)(_cl_event* const&)() const'
> ../../../../src/gallium/state_trackers/clover/.libs/libclover.a(libclover_la-
> transfer.o):/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/
> base.hpp:278: first defined here</span >
This looks like a compiler bug. Maybe [1]? In any case the attached patch
should work around it, can you try it out please?
[1] <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53821">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53821</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>