Subject: [Boost-bugs] [Boost C++ Libraries] #6354: PGI: Compiler threading support is not turned on
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-03 17:07:18
#6354: PGI: Compiler threading support is not turned on
-------------------------------------+--------------------------------------
Reporter: viboes | Owner: viboes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: build threading=multi |
-------------------------------------+--------------------------------------
The following tester is reporting this compile error
{{{
Test output: Sandia-pgi-11.9 - thread - test_barrier / pgi-11.9
Rev 76218 / Thu, 29 Dec 2011 17:44:28 +0000
Report Time: Tue, 3 Jan 2012 15:45:59 +0000
Compile [2011-12-29 19:29:47 UTC]: fail
"pgCC" -INLINE:none -Kieee -fpic -fPIC -gopt -Minform=warn
-DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX
-DBOOST_THREAD_USE_DLL=1 -D__need_IOV_MAX -I".." -c -o
"/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_barrier.test/pgi-11.9/debug
/threading-multi/test_barrier.o" "../libs/thread/test/test_barrier.cpp"
"../boost/config/requires_threads.hpp", line 86: catastrophic error:
#error
directive: "Compiler threading support is not turned on. Please
consult your compiler's documentation for the appropriate
options to
use"
# error "Compiler threading support is not turned on. Please consult
your compiler's documentation for the appropriate options to use"
^
1 catastrophic error detected in the compilation of
"../libs/thread/test/test_barrier.cpp".
Compilation terminated.
}}}
Maybe the build is setting threading=single and Boost.Thread doesn't force
threading=multi or the selection in the config file doesn't takes in
account the PGI compiler.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6354> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC