RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1108268 - devtoolset-gcc not compatible with boost
Summary: devtoolset-gcc not compatible with boost
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: boost
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: alpha
: 6.6
Assignee: Petr Machata
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1167383
TreeView+ depends on / blocked
 
Reported: 2014-06-11 16:08 UTC by Bryan Totty
Modified: 2019-03-22 07:13 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Prior to this update, a number of boost libraries were not compatible with the GNU Compiler Collection (GCC) provided with Red Hat Developer Toolset. A fix has been implemented to address this problem and the affected libraries now properly work with Red Hat Developer Toolset GCC.
Clone Of:
: 1167383 (view as bug list)
Environment:
Last Closed: 2014-10-14 06:22:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1440 0 normal SHIPPED_LIVE boost bug fix and enhancement update 2014-10-14 01:05:56 UTC

Internal Links: 1170010

Description Bryan Totty 2014-06-11 16:08:28 UTC
Description of problem:

Some boost libraries are not compatible with devtoolset.

For example, one cannot use C++11 features and #include boost/filesystem/operations.hpp, see below.


~$ rpm -q boost-filesystem devtoolset-2-gcc
boost-filesystem-1.41.0-18.el6.x86_64
devtoolset-2-gcc-4.8.2-15.el6.x86_64

~$ cat boost_filesystem.cc 
#include <boost/filesystem/operations.hpp>

~$ scl enable devtoolset-2 'g++ -c -std=c++0x boost_filesystem.cc'
In file included from /usr/include/boost/filesystem/path.hpp:23:0,
                 from /usr/include/boost/filesystem/operations.hpp:17,
                 from boost_filesystem.cc:1:
/usr/include/boost/throw_exception.hpp: In instantiation of \u2018void boost::throw_exception(const E&) [with E = boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits> >]\u2019:
/usr/include/boost/filesystem/operations.hpp:281:55:   required from \u2018typename boost::enable_if<boost::filesystem::is_basic_path<Path>, boost::filesystem::file_status>::type boost::filesystem::symlink_status(const Path&) [with Path = boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits>; typename boost::enable_if<boost::filesystem::is_basic_path<Path>, boost::filesystem::file_status>::type = boost::filesystem::file_status]\u2019
/usr/include/boost/filesystem/operations.hpp:287:45:   required from here
/usr/include/boost/throw_exception.hpp:64:56: error: use of deleted function \u2018boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits> > > >::clone_impl(const boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<char>, boost::filesystem::path_traits> > > >&)\u2019

(... many more errors ...)

Comment 4 errata-xmlrpc 2014-10-14 06:22:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1440.html

Comment 5 Kirby Zhou 2014-12-09 10:22:50 UTC
The bug is not fixed completely.
Please look at:
https://bugzilla.redhat.com/show_bug.cgi?id=1108268

Comment 6 Kirby Zhou 2014-12-09 10:23:37 UTC
The bug is not fixed completely.
Please look at:

https://bugzilla.redhat.com/show_bug.cgi?id=1170010


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