Bug 1585515 - boost compute with gcc 8.1 doesn't work
Summary: boost compute with gcc 8.1 doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wakely
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-03 23:44 UTC by Dave Airlie
Modified: 2018-06-09 20:41 UTC (History)
3 users (show)

Fixed In Version: boost-1.66.0-7.fc28
Clone Of:
Environment:
Last Closed: 2018-06-09 20:41:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Airlie 2018-06-03 23:44:12 UTC
Description of problem:

In file included from /usr/include/boost/compute/detail/meta_kernel.hpp:37,
                 from /usr/include/boost/compute/algorithm/reduce.hpp:18,
                 from /usr/include/boost/compute/algorithm/accumulate.hpp:19,
                 from /usr/include/boost/compute/algorithm.hpp:18,
                 from /usr/include/boost/compute.hpp:14,
                 from /home/airlied/devel/compute/trisycl/include/CL/sycl/detail/global_config.hpp:53,
                 from /home/airlied/devel/compute/trisycl/include/CL/sycl.hpp:31,
                 from /home/airlied/devel/compute/trisycl/tests/2014-04-21-HPC-GPU_Meetup/slide_26.cpp:5:
/usr/include/boost/compute/memory/svm_ptr.hpp: In member function ‘boost::compute::context& boost::compute::svm_ptr<T>::get_context() const’:
/usr/include/boost/compute/memory/svm_ptr.hpp:131:16: error: binding reference of type ‘boost::compute::context&’ to ‘const boost::compute::context’ discards qualifiers
         return m_context;
                ^~~~~~~~~


Fix is to backport:
https://github.com/boostorg/compute/commit/fdbdb94db64e888fce90fe519be23c2a4396a82e

Comment 1 Fedora Update System 2018-06-05 15:32:22 UTC
boost-1.66.0-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4ed35b8c4f

Comment 2 Fedora Update System 2018-06-06 15:01:55 UTC
boost-1.66.0-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4ed35b8c4f

Comment 3 Fedora Update System 2018-06-09 20:41:16 UTC
boost-1.66.0-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.