|
Boost-Build : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-23 00:27:35
"Vladimir Prus" <ghost_at_[hidden]> wrote in message
news:200710210917.33516.ghost_at_cs.msu.su...
> On Sunday 21 October 2007 13:32:48 Gennadiy Rozental wrote:
>>
>> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
>> news:ffca7m$7ss$1_at_ger.gmane.org...
>> > Gennadiy Rozental wrote:
>> >> Did BB missed iostream library?
>> >
>> > I don't know about any compiler where 'iostream library' has to
>> > be explicitly linked to.
>>
>> Sun CC for example
>
> Can you elaborate? I don't see anything in sun.jam to that effect.
With CC compiler you can specify with iostream lib to use using -library=
option
>> > Maybe, you've misinstalled borland, or it's somehow functionally
>> > limited
>> > version?
>>
>> It's regular Turbo C++ installation
>
> I'm afraid I don't know what's "Turbo C++", and if I understand discussion
> on boost-devel correctly, you did not know that Turbo C++ exists until
> recently as well. So, I have no idea what's "regular Turbo C++
> installation"
> is -- I think we might have to ask Borland experts.
What I meant is that I just downloaded one from net and installed with
default parameters
> Can you:
Before we go into further digging, here is another peice of info I just
uncovered:
It only failes for targets that link with Boost.Test statically. All the
tests that links with dll works fine. That's why regression tests works -
they all use dlls.
Here is an example of passed test:
----------------------------
borland.compile.c++
..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.obj
"C:\Compilers\Borland\BDS\4.0\Bin\bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx
-a8 -b- -v -Od -w-8080 -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1
-DBOOST_TEST_NO_AUTO_LINK=1 -I"..\..\.." -I"C:\Compilers\Borland\BDS\4.0/include/"
-o"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.obj""output_test_stream_test.cpp"output_test_stream_test.cpp:file..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.exe.rsp"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.obj""..\..\..\bin.v2\libs\test\build\borland-5.8.2\debug\boost_unit_test_framework-bcb-d-1_35.lib"borland.link..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.exe set "PATH=C:\Compilers\Borland\BDS\4.0/bin/;%PATH%" "C:\Compilers\Borland\BDS\4.0\Bin\bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM- -L"C:\Compilers\Borland\BDS\4.0/lib" -e"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.exe"@"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.exe.rsp"testing.ca
pture-output..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.run set Path=D:\SourceCode\boost-trunk\bin.v2\libs\test\build\borland-5.8.2\debug;C:\Compilers\Borland\BDS\4.0\bin;%Path% "..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.exe" >"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.output" 2>&1 set status=%ERRORLEVEL% echo. >>"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.output" echo EXIT STATUS: %status% >>"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.output" if %status% EQU 0 ( copy"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.output""..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.
run" ) set verbose=0 if %status% NEQ 0 ( set verbose=1 ) if %verbose% EQU 1 ( echo ====== BEGIN OUTPUT ====== type"..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.output" echo ====== END OUTPUT ====== ) exit %status% 1 file(s) copied.**passed**..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.test echo passed >..\..\..\bin.v2\libs\test\test\output_test_stream_test.test\borland-5.8.2\debug\output_test_stream_test.test------------------------------Here is failed:borland.compile.c++..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.obj "C:\Compilers\Borland\BDS\4.0\Bin\bcc32.exe" -j5 -g255 -q -c -P -Ve -Vx -a8 -b- -v -Od -w-8080 -tWC -tWR -tWC -WM- -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I"..\..\.." -I"C:\Compilers\Borland\BDS\4.0/include/" -o"..\..\..\bin.v2\libs\test\test\algorithms_test.test\b
orland-5.8.2\debug\algorithms_test.obj" "algorithms_test.cpp"algorithms_test.cpp:file..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.exe.rsp"..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.obj""..\..\..\bin.v2\libs\test\build\borland-5.8.2\debug\link-static\libboost_unit_test_framework-bcb-d-1_35.lib"borland.link..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.exe set "PATH=C:\Compilers\Borland\BDS\4.0/bin/;%PATH%" "C:\Compilers\Borland\BDS\4.0\Bin\bcc32.exe" -v -q -v -v -tWD -tWC -tWR -tWC -WM- -L"C:\Compilers\Borland\BDS\4.0/lib" -e"..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.exe"@"..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.exe.rsp"Error: Unresolved external '__rwstd::__rw_stdexcept_NoNamedException'referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STAT
IC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external '__rwstd::__rw_stdexcept_BadAllocException'referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::basic_stringstream<char,std::char_traits<char>, std::allocator<char> >::~basic_stringstream<char,std::char_traits<char>, std::allocator<char> >()' referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::basic_stringstream<char,std::char_traits<char>, std::allocator<char> >::basic_stringstream<char,std::char_traits<char>, std::allocator<char> >(int)' referenced fromD:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::basic_ist
ream<char, std::char_traits<char>>::operator >>(unsigned int&)' referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::ios_base::failure::~failure()' referencedfrom D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::ios_base::failure::what() const' referencedfrom D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external '__rwstd::rwse_failbit_set' referenced fromD:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external '__rwstd::rwse_badbit_set' referenced fromD:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\D
EBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external '__rwstd::rwse_eofbit_set' referenced fromD:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external'__rwstd::except_msg_string::except_msg_string(const char *, ...)'referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::basic_string<char, std::char_traits<char>,std::allocator<char> >::basic_string<char, std::char_traits<char>,std::allocator<char> >(const char *, const std::allocator<char>&)'referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parametersError: Unresolved external 'std::ios_base::failure::failure(conststd::basic_string<char, std::char_traits<c
har>, std::allocator<char> >&)'referenced from D:\SOURCECODE\BOOST-TRUNK\BIN.V2\LIBS\TEST\BUILD\BORLAND-5.8.2\DEBUG\LINK-STATIC\LIBBOOST_UNIT_TEST_FRAMEWORK-BCB-D-1_35.LIB|unit_test_parameters...skipped<p..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug>algorithms_test.run for lack of<p..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug>algorithms_test.exe......failed updating 1 target...> 1. Try building the tools/build/v2/example/hello with borland,> and see if same error appears.>> 2. If so, try to build it with all permutations of>> link=static/link=shared> runtime-link=static/runtime-link=shared> threading=single/threading=multi>> 3. If 'hello' does not fail, try building your target with> the same permutations.>> 4. Try building an .cpp files containing just empty> main by hand.
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