|
Boost-Build : |
Subject: Re: [Boost-build] Default threading model in Linux
From: Steve M. Robbins (steve_at_[hidden])
Date: 2008-11-09 12:30:23
On Sun, Nov 09, 2008 at 04:16:39PM +0000, Joaquin M Lopez Munoz wrote:
> No, I'm referring to the threading model assumed when, for instance,
> building a test with
>
> test-suite "foo" : [ run foo.cpp ] ;
>
> So, threading=single is assumed here, right? That poses a
> small problem, as on the other hand BOOST_HAS_THREADS and
> BOOST_HAS_PTHREADS seem to be unconditionally defined, which
> can lead to Pthreads being used by foo.cpp, but not linked
> by bjam.
I wonder if this is the same problem I have seen: the config_test
test suite fails to link because it needs -lpthread and -lrt.
See https://svn.boost.org/trac/boost/ticket/2421
-Steve
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk