Boost logo

Boost-Build :

Subject: Re: [Boost-build] sun CC 5.10 stlport stdcxx on opensolaris
From: Karun Gahlawat (karun.gahlawat_at_[hidden])
Date: 2009-08-01 11:00:13


Volodya- with your help, partial success :) this is the farthest i
have ever been .. here are the details..

The bootstrap bjam does not recognizes the sun toolset and the
userconfig has no signs of sun CC. So i built bjam for sun from
source. that worked...almost..

with all the libraries listed in the getting started guide, i have .a
and .so for all of them except as shown under:

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?

bjam build command line:
pfexec ./bjam toolset=sun stdlib=sun-stlport address-model=64
--build-dir=/tmp/boost threading=multi --build-type=complete -d+2
--debug-configuration --debug-building --debug-generator | pfexec tee
2 boost.log 2>&1

Thread.o
sun.compile.c++
/tmp/boost/boost/bin.v2/libs/thread/build/sun/debug/address-model-64/stdlib-sun-stlport/threading-multi/pthread/thread.o

    "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.

Pasting first few lines of the configuration logs..
maybe helpful..
notice: Loading user-config configuration file user-config.jam from
/opt/boost_1_39_0/tools/build/v2/user-config.jam .
notice: [cmdline-cfg] Detected command-line request for sun: toolset=
sun version=
notice: [cmdline-cfg] toolset sun not previously configured;
attempting to auto-configure now
notice: will use 'CC' for sun, condition <toolset>sun
notice: iostreams: using prebuilt zlib
notice: iostreams: using prebuilt bzip2
notice: [python-cfg] Configuring python...
notice: [python-cfg] Checking interpreter command "python"...
notice: [python-cfg] running command '"python" -c "from sys import *;
print 'version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'
% (version_info[0],version_info[1],platform,prefix,exec_prefix,executable)"
2>&1'
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "python"
notice: [python-cfg] include path: "/usr/include/python2.4"
notice: [python-cfg] library path: "/usr/lib/python2.4/config" "/usr/lib"
building project Jamfile</opt/boost_1_39_0>
('object(project-target)@29') with <address-model>64
<stdlib>sun-stlport <threading>multi <toolset>sun

On Thu, Jul 30, 2009 at 1:13 PM, Vladimir Prus<ghost_at_[hidden]> wrote:
> On Thursday 30 July 2009 Karun Gahlawat wrote:
>
>> cool thanks. I'll try this tonight. This bjam is custom built (build
>> separately from source) or should I use the one generated from
>> bootstrap? Please forgive the ignorance. It takes a while to complete
>> this build so asking before hand..
>
> The one generated by bootstrap.sh should be fine.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

-- 
Karun - +1 (347) 885-1336

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