Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost Exception test failures
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-07-15 16:46:42


Can someone confirm that libs/exception/test/Jamfile.v2 correctly
defines the dependence of two of its test targets on boost thread?
They look like this:

run copy_exception_test.cpp /boost//thread : : : <threading>multi ;

Noel, once again thanks for the support.

Thanks,
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode

On Thu, Jul 15, 2010 at 12:18 PM, Belcourt, Kenneth <kbelco_at_[hidden]> wrote:
> Hi Emil,
>
> On Jul 14, 2010, at 8:58 PM, Emil Dotchevski wrote:
>
>> This smells like a compiler bug
>
> Here's a link to the bug.
>
>    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42159
>
> I re-linked the binary with -lpthread and cloning_test runs without error.
>
> I guess the solution is to configure the darwin-4.4 toolset to explicitly
> pass -lpthread as a <linkflag>-lpthread though I did notice that some of the
> exception tests do depend on the thread library.  Not sure ...
>
> I've patched user-config.jam to forcibly pass -lpthread for now.  I'm open
> to other ideas on how to fix this.
>
> -- Noel
>
> using darwin
>  : 4.4
>  : /opt/local/bin/g++-mp-4.4
>  : <linkflags>-lpthread
>  ;


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