Boost logo

Boost-Build :

Subject: Re: [Boost-build] sun CC 5.10 stlport stdcxx on opensolaris
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-01 11:07:38


On Saturday 01 August 2009 Karun Gahlawat wrote:

> Volodya- with your help, partial success :) this is the farthest i
> have ever been .. here are the details..
>
> 1. Thread: NONE (I'll paste errors below).
> 2. Wave: have .a but no .so. (is this normal? I don't see any errors
> on wave in the logs..)
>
> At the end of the run, it said 6 target failed. I am pasting the
> command lines and errors from the log.
>
> If i need to rebuilt thread with some probable modifications, do I
> need to rebuild everything again?

Karun,
in general, you can (re)build specific library using the --with option,
e.g:

        --with-thread

> "CC" +d -library=stlport4 -g -mt -m64 -KPIC -DBOOST_ALL_NO_LIB=1
> -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -I"." -c -o
> "/tmp/boost/boost/bin.v2/libs/thread/build/sun/debug/a
> ddress-model-64/stdlib-sun-stlport/threading-multi/pthread/thread.o"
> "libs/thread/src/pthread/thread.cpp"
>
> "./boost/thread/detail/thread.hpp", line 344: Error:
> boost::thread::thread(boost::thread&) is not accessible from
> boost::move(boost::detail::thread_move_t<boost::thread>).
> 1 Error(s) detected.

This error message suggests Boost.Thread uses too advanced C++ for Sun
compiler to handle. Looking at

        http://www.boost.org/development/tests/trunk/developer/thread.html

I see this is a general problem, not something specific to your configuration
or Boost.Build setup, so I suggest you raise the matter
on the Boost mailing list. (boost_at_[hidden])

> The bootstrap bjam does not recognizes the sun toolset

You mean, "./bootstrap.sh" fails? Can you provide the error messages,
so that we have a chance to address this matter?

- Volodya


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