Red Hat Bugzilla – Bug 969183
RHEL 6 boost not compatible with DTS gcc
Last modified: 2016-01-31 21:28:23 EST
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):
Steps to Reproduce:
1. Attempt to build boost with recent (post-4.7) GCC.
2. Compile the following program against recent Boost headers:
In file included from ./boost/thread/detail/platform.hpp:17:0,
./boost/config/requires_threads.hpp:29:4: ошибка: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
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.