Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12628: Build error with -no_single variant (macports)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-05 03:01:57
#12628: Build error with -no_single variant (macports)
-------------------------------+--------------------------
Reporter: anonymous | Owner: timblechmann
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: atomic
Version: Boost 1.59.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------
Changes (by andysem):
* status: new => closed
* resolution: => fixed
Comment:
The problem is that apparently Boost.Build cannot build both single and
multi-threaded versions of Boost libraries in one go. This is not specific
to Boost.Atomic, and I'm not sure whether this is an inherent Boost.Build
limitation or just the way it is used in Boost libraries. I think there
was a discussion of this problem on the ML some time ago.
In order to solve the problem you have to invoke `b2` twice - first with
`threading=single`, then with `threading=multi`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12628#comment:2> 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:20 UTC