[Bug 1821803] [NEW] FTBFS with gcc-8
Andreas Hasenack
andreas at canonical.com
Tue Mar 26 19:59:15 UTC 2019
Public bug reported:
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
** Affects: boost1.67 (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: boost1.67 (Ubuntu Cosmic)
Importance: High
Assignee: Andreas Hasenack (ahasenack)
Status: In Progress
** Affects: boost1.67 (Debian)
Importance: Unknown
Status: Unknown
** Also affects: boost1.67 (Ubuntu Cosmic)
Importance: Undecided
Status: New
** Changed in: boost1.67 (Ubuntu)
Status: New => Fix Released
** Changed in: boost1.67 (Ubuntu Cosmic)
Assignee: (unassigned) => Andreas Hasenack (ahasenack)
** Changed in: boost1.67 (Ubuntu Cosmic)
Status: New => In Progress
** Changed in: boost1.67 (Ubuntu Cosmic)
Importance: Undecided => High
** Bug watch added: Debian Bug tracker #921247
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921247
** Also affects: boost1.67 (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921247
Importance: Unknown
Status: Unknown
--
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:
In Progress
Status in boost1.67 package in Debian:
Unknown
Bug 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
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