[Bug 1821803] Re: FTBFS with gcc-8
Launchpad Bug Tracker
1821803 at bugs.launchpad.net
Thu Apr 4 09:00:31 UTC 2019
This bug was fixed in the package boost1.67 - 1.67.0-7ubuntu0.1
---------------
boost1.67 (1.67.0-7ubuntu0.1) cosmic; urgency=medium
* d/p/boostorg-program_options-pull-59.patch: pulled in patch from disco to
fix regression (vs 1.66.0 and older) to allow argc == 0 (LP: #1821762)
* d/p/fix-boost-compute-gcc8-ftbfs.patch: Fix FTBFS in boost.compute with
GCC-8 (LP: #1821803)
-- Andreas Hasenack <andreas at canonical.com> Tue, 26 Mar 2019 17:06:29
-0300
** Changed in: boost1.67 (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to boost1.67 in Ubuntu.
https://bugs.launchpad.net/bugs/1821803
Title:
FTBFS with gcc-8
Status in boost1.67 package in Ubuntu:
Fix Released
Status in boost1.67 source package in Cosmic:
Fix Released
Status in boost1.67 package in Debian:
Fix Released
Bug description:
[Impact]
There is an FTBFS with boost1.67 in cosmic that is fixed in disco
already via this patch[1].
This FTBFS prevents boost1.67 in cosmic from ever being SRUed. Such an
SRU need has showed up[2].
[Test Case]
Build boost1.67 in cosmic. Without this fix, the build fails.
[Regression Potential]
Patch is applied upstream and in disco already. Bug was caused by newly introduced gcc8 checks, and one such check is being fixed.
[Other Info]
Not at this time.
[Original Description]
There is an FTBFS with boost1.67 in cosmic that is fixed in disco via
this patch[1]:
From fdbdb94db64e888fce90fe519be23c2a4396a82e Mon Sep 17 00:00:00 2001
From: pradeep <pradeep at arrayfire.com>
Date: Tue, 8 May 2018 14:53:38 +0530
Subject: [PATCH 1/2] Fix return var qualifier in svm_ptr::get_context
Lack of `const` qualifier is throwing errors with GCC 8.1
---
include/boost/compute/memory/svm_ptr.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/boost/compute/memory/svm_ptr.hpp b/include/boost/compute/memory/svm_ptr.hpp
index c8753f5b..56cf1268 100644
--- a/libs/compute/include/boost/compute/memory/svm_ptr.hpp
+++ b/libs/compute/include/boost/compute/memory/svm_ptr.hpp
@@ -126,7 +126,7 @@ class svm_ptr
return m_ptr - other.m_ptr;
}
- context& get_context() const
+ const context& get_context() const
{
return m_context;
}
1. https://git.launchpad.net/~usd-import-team/ubuntu/+source/boost1.67/tree/debian/patches/fix-boost-compute-gcc8-ftbfs.patch?h=ubuntu/disco-devel
2. https://bugs.launchpad.net/ubuntu/+source/boost1.67/+bug/1821762
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.67/+bug/1821803/+subscriptions
More information about the foundations-bugs
mailing list