Bug 969183

Summary: RHEL 6 boost not compatible with DTS gcc
Product: Red Hat Enterprise Linux 6 Reporter: Petr Machata <pmachata>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED ERRATA QA Contact: Miroslav Franc <mfranc>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: law, mcermak, mfranc, mnewsome, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 02:22:21 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1056252    
Description Flags
Fix for this issue none

Description Petr Machata 2013-05-30 16:28:10 EDT
Created attachment 755041 [details]
Fix for this issue

Description of problem:
Boost as shipped with RHEL 6 fails to detect threading support in recent GCC's (such as those shipped with DTS).  See this for more details:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Attempt to build boost with recent (post-4.7) GCC.
2. Compile the following program against recent Boost headers:

Actual results:
#include <boost/thread.hpp>
In file included from ./boost/thread/detail/platform.hpp:17:0,
                 from ./boost/thread/thread.hpp:12,
                 from ./boost/thread.hpp:13,
                 from ../x.cc:1:
./boost/config/requires_threads.hpp:29:4: ошибка: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"

Expected results:
Comment 3 errata-xmlrpc 2014-10-14 02:22:21 EDT
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.