[Mesa-dev] [Bug 56140] [Mesa-current] [clover] build failure in clvover/api/transfer.cpp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 19 02:29:16 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56140
--- Comment #2 from Francisco Jerez <currojerez at riseup.net> ---
Created attachment 68790
--> https://bugs.freedesktop.org/attachment.cgi?id=68790&action=edit
clover_simplify_is_zero.patch
(In reply to comment #0)
> ../../../../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
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] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53821
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121019/6708cb42/attachment-0001.html>
More information about the mesa-dev
mailing list