|
Boost-Build : |
From: Michael van der Westhuizen (r1mikey_at_[hidden])
Date: 2006-06-07 19:10:21
Hi John,
On 6/7/06, John Maddock <john_at_[hidden]> wrote:
> There are quite a few failures showing up in the test matrix that are caused
> by the Sunpro toolset not being set up correctly for multi-threaded builds,
> see for example:
>
http://engineering.meta-comm.com/boost-regression/CVS-RC_1_34_0/developer/output/OSL4-V2-boost-bin-v2-libs-thread-test-test_thread_lib-test-sun-5-8-debug-threading-multi_release.html
>
> Probably it just needs the right linker options adding.
>
The linker command looks right (has -mt etc.). The missing symbols
come from librt.so, so the mutithreaded config needs to link -lrt (but
not pthread!).
There's a wealth of information on Sun's boost effort on this blog:
http://blogs.sun.com/roller/page/sga
This includes patches and command-line options which should be used.
Michael
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