https://bugs.freedesktop.org/show_bug.cgi?id=56140
--- Comment #2 from Francisco Jerez <curroje...@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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev