running the regression tests with SunCC 5.9

"/home/meerkoef/boost_regression/results/bjam.log" 2>&1)... # Running Boost.Build tests Traceback (most recent call last): File "run.py", line 60, in ? runner(root) File "/home/meerkoef/boost_regression/tools_regression_src/regression.py",
"/home/meerkoef/boost_regression/results/bjam.log" 2>&1)... # Running Boost.Build tests Traceback (most recent call last): File "run.py", line 60, in ? runner(root) File "/home/meerkoef/boost_regression/tools_regression_src/regression.py",
Hello, I am trying to run the regression tests for boost on a SunSparc machine with the SunCC 5.9. As i am trying to evaluate a certain version of boost i provide a local tarball. python run.py --runner meerkoetter --toolsets=sun --user= --local=../boost/boost_1_42_0.tar.bz2 The tests sits for a few minutes at this line. Before it fails. # Starting tests ("/home/meerkoef/boost_regression/tools_bjam/bin.solarissparc/bjam" "-sBOOST_BUILD_PATH=/home/meerkoef/boost_regression:/home/meerkoef/boost_regression/tools_bb" "-sBOOST_ROOT=/home/meerkoef/boost_regression/boost" "--boost=/home/meerkoef/boost_regression/boost" "--boost-build=/home/meerkoef/boost_regression/tools_bb" "--debug-configuration" -l300 sun -d2 preserve-test-targets=off --dump-tests "--build-dir=/home/meerkoef/boost_regression/results" line 193, in __init__ self.main() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 551, in main getattr(self,action_m)() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 516, in command_regression self.command_test() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 317, in command_test self.command_test_boost_build() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 354, in command_test_boost_build "boost/bin.v2/libs/any/test/any_test.test")); OSError: [Errno 2] No such file or directory: '/home/meerkoef/boost_regression/results/boost/bin.v2/libs/any/test/any_test.test' The last few lines in bjam.log show: [...] boost-test(RUN) "config/no_void_returns_pass" : "libs/config/test/no_void_returns_pass.cpp" boost-test(COMPILE_FAIL) "config/no_void_returns_fail" : "libs/config/test/no_void_returns_fail.cpp" boost-test(RUN) "config/no_wchar_t_pass" : "libs/config/test/no_wchar_t_pass.cpp" boost-test(COMPILE_FAIL) "config/no_wchar_t_fail" : "libs/config/test/no_wchar_t_fail.cpp" don't know how to make <e>sun ...found 1 target... ...can't find 1 target... Any ideas how i can fix this? btw. i noticed that the tools are build using the gcc and not the sun compiler. Is this correct? In the end i don't care what compiler is used to create the regression testing tools but still it makes me wonder if the tests are compiled with the right compiler? Here is the complete log: # Running regressions in /home/meerkoef/boost_regression... # Creating regression scripts at /home/meerkoef/boost_regression/tools_regression_src... # Dowloading regression scripts from http://svn.boost.org/svn/boost/trunk/tools/regression/src... # Getting Boost.Build v2... # Downloading "http://beta.boost.org/development/snapshot.php/trunk/tools/build/v2" to "/home/meerkoef/boost_regression"... # Looking for old unpacked archives... # Unpacking boost tarball ("/home/meerkoef/boost_regression/tools_bb.tar.bz2")... # Unpacked into directory "/home/meerkoef/boost_regression/boost-trunk-2010-04-26-09-02-11-EDT" # Deleting "tools_bb" directory... # Renaming "/home/meerkoef/boost_regression/boost-trunk-2010-04-26-09-02-11-EDT" into "tools_bb" # Getting Boost.Jam... # Downloading "http://beta.boost.org/development/snapshot.php/tags/tools/jam/Boost_Jam_3_1_..." to "/home/meerkoef/boost_regression"... # Looking for old unpacked archives... # Unpacking boost tarball ("/home/meerkoef/boost_regression/tools_bjam.tar.bz2")... # Unpacked into directory "/home/meerkoef/boost_regression/boost-tags-2010-04-26-09-02-30-EDT" # Deleting "tools_bjam" directory... # Renaming "/home/meerkoef/boost_regression/boost-tags-2010-04-26-09-02-30-EDT" into "tools_bjam" # Getting regression tools an utilities... # Downloading "http://beta.boost.org/development/snapshot.php/trunk/tools/regression" to "/home/meerkoef/boost_regression"... # Looking for old unpacked archives... # Unpacking boost tarball ("/home/meerkoef/boost_regression/tools_regression.tar.bz2")... # Unpacked into directory "/home/meerkoef/boost_regression/boost-trunk-2010-04-26-09-02-51-EDT" # Deleting "tools_regression" directory... # Renaming "/home/meerkoef/boost_regression/boost-trunk-2010-04-26-09-02-51-EDT" into "tools_regression" # Getting boost-build.jam... # Using local file "../boost/boost_1_42_0.tar.bz2" # Tag: "boost_1_42_0" # Looking for old unpacked archives... # Unpacking boost tarball ("../boost/boost_1_42_0.tar.bz2")... # Unpacked into directory "/home/meerkoef/boost_regression/boost_1_42_0" # Deleting "/home/meerkoef/boost_regression/boost" directory... # Renaming "/home/meerkoef/boost_regression/boost_1_42_0" into "/home/meerkoef/boost_regression/boost" # Preinstalled "/home/meerkoef/boost_regression/bjam" is not found; building one... # Found "bjam" source directory "/home/meerkoef/boost_regression/tools_bjam" # Building "bjam" (./build.sh )... ### ### Using 'gcc' toolset. ### rm -rf bootstrap mkdir bootstrap gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean ...found 1 target... ...updating 1 target... ...updated 1 target... ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= ...found 48 targets... ...updating 2 targets... [MKDIR] bin.solarissparc [COMPILE] bin.solarissparc/bjam ...updated 2 targets... # Searching for "bjam" in "/home/meerkoef/boost_regression/tools_bjam"... # bjam succesfully built in "/home/meerkoef/boost_regression/tools_bjam/bin.solarissparc/bjam" location # Preinstalled "/home/meerkoef/boost_regression/process_jam_log" is not found; building one... # Found "process_jam_log" source directory "/home/meerkoef/boost_regression/tools_regression/build" # Building "process_jam_log" ("/home/meerkoef/boost_regression/tools_bjam/bin.solarissparc/bjam" "-sBOOST_BUILD_PATH=/home/meerkoef/boost_regression:/home/meerkoef/boost_regression/tools_bb" "-sBOOST_ROOT=/home/meerkoef/boost_regression/boost" "--boost=/home/meerkoef/boost_regression/boost" "--boost-build=/home/meerkoef/boost_regression/tools_bb" "--debug-configuration" process_jam_log -d2 -l300)... notice: found boost-build.jam at /home/meerkoef/boost_regression/boost-build.jam notice: loading Boost.Build from /home/meerkoef/boost_regression/tools_bb notice: Searching /etc /home/meerkoef /home/meerkoef/boost_regression/tools_bb /home/meerkoef/boost_regression /home/meerkoef/boost_regression/tools_bb /home/meerkoef/boost_regression/tools_bb/kernel /home/meerkoef/boost_regression/tools_bb/util /home/meerkoef/boost_regression/tools_bb/build /home/meerkoef/boost_regression/tools_bb/tools /home/meerkoef/boost_regression/tools_bb/contrib /home/meerkoef/boost_regression/tools_bb/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from /home/meerkoef/boost_regression/tools_bb/site-config.jam . notice: Searching /home/meerkoef /home/meerkoef/boost_regression/tools_bb /home/meerkoef/boost_regression /home/meerkoef/boost_regression/tools_bb /home/meerkoef/boost_regression/tools_bb/kernel /home/meerkoef/boost_regression/tools_bb/util /home/meerkoef/boost_regression/tools_bb/build /home/meerkoef/boost_regression/tools_bb/tools /home/meerkoef/boost_regression/tools_bb/contrib /home/meerkoef/boost_regression/tools_bb/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from /home/meerkoef/boost_regression/tools_bb/user-config.jam . 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" warning: No toolsets are configured. warning: Configuring default toolset "gcc". warning: If the default is wrong, your build may not work correctly. warning: Use the "toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html notice: will use 'g++' for gcc, condition <toolset>gcc-3.4.3 notice: using gcc libraries :: <toolset>gcc-3.4.3 :: /usr/sfw/bin /usr/sfw/lib /usr/sfw/lib32 /usr/sfw/lib64 notice: using gcc archiver :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ar notice: using gcc ranlib :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ranlib warning: toolset gcc initialization: can not find tool windres warning: initialized from notice: using rc compiler :: <toolset>gcc-3.4.3 :: as ...patience... ...found 487 targets... ...updating 27 targets... common.mkdir bin mkdir -p "bin" common.mkdir bin/gcc-3.4.3 mkdir -p "bin/gcc-3.4.3" common.mkdir bin/gcc-3.4.3/release mkdir -p "bin/gcc-3.4.3/release" gcc.compile.c++ bin/gcc-3.4.3/release/process_jam_log.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -I"/home/meerkoef/boost_regression/boost" -c -o "bin/gcc-3.4.3/release/process_jam_log.o" "../src/process_jam_log.cpp" ../src/process_jam_log.cpp: In function `int main(int, char**)': ../src/process_jam_log.cpp:692: warning: comparison between signed and unsigned integer expressions gcc.compile.c++ bin/gcc-3.4.3/release/tiny_xml.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -D_CRT_SECURE_NO_WARNINGS -I"/home/meerkoef/boost_regression/boost" -c -o "bin/gcc-3.4.3/release/tiny_xml.o" "../src/detail/tiny_xml.cpp" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2 mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3 mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static" gcc.compile.c++ /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/operations.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/meerkoef/boost_regression/boost" -c -o "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/operations.o" "/home/meerkoef/boost_regression/boost/libs/filesystem/src/operations.cpp" gcc.compile.c++ /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/path.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/meerkoef/boost_regression/boost" -c -o "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/path.o" "/home/meerkoef/boost_regression/boost/libs/filesystem/src/path.cpp" gcc.compile.c++ /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/portability.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/meerkoef/boost_regression/boost" -c -o "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/portability.o" "/home/meerkoef/boost_regression/boost/libs/filesystem/src/portability.cpp" gcc.compile.c++ /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/utf8_codecvt_facet.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/meerkoef/boost_regression/boost" -c -o "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/utf8_codecvt_facet.o" "/home/meerkoef/boost_regression/boost/libs/filesystem/src/utf8_codecvt_facet.cpp" RmTemps /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a(clean) rm -f "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a" gcc.archive /home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a "/usr/sfw/sparc-sun-solaris2.10/bin/ar" rc "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/operations.o" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/path.o" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/portability.o" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/utf8_codecvt_facet.o" "/usr/sfw/sparc-sun-solaris2.10/bin/ranlib" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/system mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/system" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3 mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release" common.mkdir /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static mkdir -p "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static" gcc.compile.c++ /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/error_code.o "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"/home/meerkoef/boost_regression/boost" -c -o "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/error_code.o" "/home/meerkoef/boost_regression/boost/libs/system/src/error_code.cpp" RmTemps /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a(clean) rm -f "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a" gcc.archive /home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a "/usr/sfw/sparc-sun-solaris2.10/bin/ar" rc "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a" "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/error_code.o" "/usr/sfw/sparc-sun-solaris2.10/bin/ranlib" "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a" gcc.link bin/gcc-3.4.3/release/process_jam_log "g++" -o "bin/gcc-3.4.3/release/process_jam_log" "bin/gcc-3.4.3/release/process_jam_log.o" "bin/gcc-3.4.3/release/tiny_xml.o" "/home/meerkoef/boost_regression/boost/bin.v2/libs/filesystem/build/gcc-3.4.3/release/link-static/libboost_filesystem.a" "/home/meerkoef/boost_regression/boost/bin.v2/libs/system/build/gcc-3.4.3/release/link-static/libboost_system.a" -mimpure-text ...updated 27 targets... # Searching for "process_jam_log" in "/home/meerkoef/boost_regression/tools_regression/build"... # process_jam_log succesfully built in "/home/meerkoef/boost_regression/tools_regression/build/bin/gcc-3.4.3/release/process_jam_log" location # Making "/home/meerkoef/boost_regression/results" directory... # Starting tests ("/home/meerkoef/boost_regression/tools_bjam/bin.solarissparc/bjam" "-sBOOST_BUILD_PATH=/home/meerkoef/boost_regression:/home/meerkoef/boost_regression/tools_bb" "-sBOOST_ROOT=/home/meerkoef/boost_regression/boost" "--boost=/home/meerkoef/boost_regression/boost" "--boost-build=/home/meerkoef/boost_regression/tools_bb" "--debug-configuration" -l300 sun -d2 preserve-test-targets=off --dump-tests "--build-dir=/home/meerkoef/boost_regression/results" line 193, in __init__ self.main() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 551, in main getattr(self,action_m)() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 516, in command_regression self.command_test() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 317, in command_test self.command_test_boost_build() File "/home/meerkoef/boost_regression/tools_regression_src/regression.py", line 354, in command_test_boost_build "boost/bin.v2/libs/any/test/any_test.test")); OSError: [Errno 2] No such file or directory: '/home/meerkoef/boost_regression/results/boost/bin.v2/libs/any/test/any_test.test'

Hi Frank, On Apr 26, 2010, at 12:09 PM, Frank Meerkötter wrote:
I am trying to run the regression tests for boost on a SunSparc machine with the SunCC 5.9.
python run.py --runner meerkoetter --toolsets=sun --user= --local=../boost/boost_1_42_0.tar.bz2
don't know how to make <e>sun
Any ideas how i can fix this?
There's no toolset description for sun in your user-config.jam. Notice this message:
configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from /home/meerkoef/boost_regression/tools_bb/user-config.jam .
and this.
warning: No toolsets are configured. warning: Configuring default toolset "gcc". warning: If the default is wrong, your build may not work correctly. warning: Use the "toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html notice: will use 'g++' for gcc, condition <toolset>gcc-3.4.3 notice: using gcc libraries :: <toolset>gcc-3.4.3 :: /usr/sfw/bin /usr/sfw/lib /usr/sfw/lib32 /usr/sfw/lib64 notice: using gcc archiver :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ar notice: using gcc ranlib :: <toolset>gcc-3.4.3 :: /usr/sfw/sparc-sun-solaris2.10/bin/ranlib warning: toolset gcc initialization: can not find tool windres warning: initialized from notice: using rc compiler :: <toolset>gcc-3.4.3 :: as ...patience...
Basically Boost.Build is saying there's no user-config.jam so it's defaulting to gcc (your system's default gcc seems to be version 3.4.3). Here's what some of my user-config.jam look like (and you may need to implement a patch_boost script to copy user-config.jam into the correct locations). using gcc : 3.4.6 : /usr/local/bin/g++ : <cflags>"-mcpu=v9" <cxxflags>"-mcpu=v9" <linkflags>"-mcpu=v9" <linker-type>sun ; using sun : 5.10 : /opt/sunstudio12.1/bin/CC : <cflags>"-features=tmplife -features=tmplrefstatic" <cxxflags>"-features=tmplife -features=tmplrefstatic" <linkflags>"-features=tmplife -features=tmplrefstatic" ; Hope that helps. -- Noel

On Mon, Apr 26, 2010 at 8:26 PM, Belcourt, Kenneth <kbelco@sandia.gov> wrote: [...]
Basically Boost.Build is saying there's no user-config.jam so it's defaulting to gcc (your system's default gcc seems to be version 3.4.3).
Here's what some of my user-config.jam look like (and you may need to implement a patch_boost script to copy user-config.jam into the correct locations).
using gcc : 3.4.6 : /usr/local/bin/g++ : <cflags>"-mcpu=v9" <cxxflags>"-mcpu=v9" <linkflags>"-mcpu=v9" <linker-type>sun ;
using sun : 5.10 : /opt/sunstudio12.1/bin/CC : <cflags>"-features=tmplife -features=tmplrefstatic" <cxxflags>"-features=tmplife -features=tmplrefstatic" <linkflags>"-features=tmplife -features=tmplrefstatic" ;
Thank you. Now it works. btw. no that the complete test suite has build i would like to have a look at a number of failed tests before starting the whole regression test suite again. Can you tell me how i would, for example, just run the unit tests for asio (or any other library)? I assume i do this by going to the test directory of a given library and executing a certain bjam target? For the asio case i can find a JamFile and a JamFile.v2 which should i pick? Will it pick up my user-config.jam i have placed in my $HOME? Thanks! KR, Frank

Frank Meerkötter wrote:
On Mon, Apr 26, 2010 at 8:26 PM, Belcourt, Kenneth <kbelco@sandia.gov> wrote: [...] Thank you. Now it works.
btw. no that the complete test suite has build i would like to have a look at a number of failed tests before starting the whole regression test suite again. Can you tell me how i would, for example, just run the unit tests for asio (or any other library)? I assume i do this by going to the test directory of a given library and executing a certain bjam target?
For the asio case i can find a JamFile and a JamFile.v2 which should i pick? Will it pick up my user-config.jam i have placed in my $HOME?
There is one on libs/asio/test
cd libs/asio/test bjam
Best, Vicente -- View this message in context: http://old.nabble.com/running-the-regression-tests-with-SunCC-5.9-tp28368256... Sent from the Boost - Dev mailing list archive at Nabble.com.
participants (3)
-
Belcourt, Kenneth
-
Frank Meerkötter
-
Vicente Botet Escriba