I'm now testing Boost v1.54 from Ubuntu sources.
I've done:
sudo apt-get update
sudo apt-get install libboost-dev
sudo apt-get install libboost-all-dev
sudo apt-get install dpkg-dev
sudo apt-get build-dep boost1.54
apt-get source boost1.54
sudo apt-get build-dep boost1.54
cd boost1.54-1.54.0
sudo dpkg-buildpackage
cd status
../b2 2>&1 | tee ../../b2.TestAll.1.log
and I've got the following errors:
boost1.54-1.54.0/bin.v2/libs/tr1/test/run_random.test/gcc-4.8/debug/run_random.output - 201
boost1.54-1.54.0/bin.v2/libs/tr1/test/std_run_random.test/gcc-4.8/debug/std_run_random.output - 201
boost1.54-1.54.0/bin.v2/libs/context/test/test_context.test/gcc-4.8/debug/link-static/test_context.output - 139
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_inf_nan_test.test/gcc-4.8/debug/link-static/lexical_cast_inf_nan_test.output - 201
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_loopback_test.test/gcc-4.8/debug/link-static/lexical_cast_loopback_test.output - 201
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_float_types_test.test/gcc-4.8/debug/link-static/lexical_cast_float_types_test.output - 201
boost1.54-1.54.0/bin.v2/libs/filesystem/test/operations_test_static.test/gcc-4.8/debug/link-static/operations_test_static.output - 139
boost1.54-1.54.0/bin.v2/libs/coroutine/test/test_coroutine.test/gcc-4.8/debug/link-static/test_coroutine.output - 139
Looping : ../bin.v2/libs/flyweight/test/test_intermod_holder.test/gcc-4.8/debug/threading-multi/test_intermod_holder
Tests were blocked due to "test_intermod_holder" looping infinitely. I have to run the tests after this blocking test.
Results were compared to Boost results on page: http://beta.boost.org/development/tests/master/developer/summary.html .
Though some tests do fail on x86 platform, many tests should succeed and, for sure, should not core or run in an infinite loop.
So, these errors should be investigated and fixed.
First try to understand a core goes into libs C and C++.
About version 1.55, I also have many failures (test failed, core, infinite loop, plus bad memory access).
Tony
boost1.54-1.54.0/bin.v2/libs/tr1/test/run_random.test/gcc-4.8/debug/run_random.output :
Based on Boost DataBase, this test fails everywhere. Not a problem.
boost1.54-1.54.0/bin.v2/libs/tr1/test/std_run_random.test/gcc-4.8/debug/std_run_random.output:
Based on Boost DataBase, this test fails everywhere. Not a problem.
boost1.54-1.54.0/bin.v2/libs/context/test/test_context.test/gcc-4.8/debug/link-static/test_context.output:
Segmentation fault (core dumped)
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_inf_nan_test.test/gcc-4.8/debug/link-static/lexical_cast_inf_nan_test.output:
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(73): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-inf") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(74): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-INF") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(82): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-infinity") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(83): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-INFINITY") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(91): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-inFINITY") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(92): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>("-INFINITY") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(97): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>("-nan") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(98): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>("-NAN") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(106): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>("-nAn") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(107): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>("-NaN") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(117): error in "test_inf_nan_long_double": check lexical_cast<std::string>( (boost::math::changesign)(std::numeric_limits<test_t >::infinity())) == "-inf" failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(123): error in "test_inf_nan_long_double": check lexical_cast<std::string>( (boost::math::changesign)(std::numeric_limits<test_t >::quiet_NaN())) == "-nan" failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(130): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-inf") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(131): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-INF") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(139): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-infinity") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(140): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-INFINITY") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(145): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-infINIty") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(146): error in "test_inf_nan_long_double": check is_neg_inf( lexical_cast<test_t>(L"-INFiniTY") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(154): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>(L"-nan") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(155): error in "test_inf_nan_long_double": check is_neg_nan( lexical_cast<test_t>(L"-NAN") ) failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(165): error in "test_inf_nan_long_double": check lexical_cast<std::wstring>( (boost::math::changesign)(std::numeric_limits<test_t >::infinity())) == L"-inf" failed
../libs/conversion/test/lexical_cast_inf_nan_test.cpp(171): error in "test_inf_nan_long_double": check lexical_cast<std::wstring>( (boost::math::changesign)(std::numeric_limits<test_t >::quiet_NaN())) == L"-nan" failed
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_loopback_test.test/gcc-4.8/debug/link-static/lexical_cast_loopback_test.output :
../libs/conversion/test/lexical_cast_loopback_test.cpp(55): error in "test_round_conversion_double": check min_ == lexical_cast<T>(min_s) failed
These tests seem to fail on Windows and succeed on Linux.
boost1.54-1.54.0/bin.v2/libs/conversion/test/lexical_cast_float_types_test.test/gcc-4.8/debug/link-static/lexical_cast_float_types_test.output:
*** 9821 failures detected in test suite "Master Test Suite"
boost1.54-1.54.0/bin.v2/libs/filesystem/test/operations_test_static.test/gcc-4.8/debug/link-static/operations_test_static.output:
Segmentation fault (core dumped)
boost1.54-1.54.0/bin.v2/libs/coroutine/test/test_coroutine.test/gcc-4.8/debug/link-static/test_coroutine.output:
Segmentation fault (core dumped)
boost1.54-1.54.0/bin.v2/libs/flyweight/test/test_intermod_holder.test/gcc-4.8/debug/threading-multi/test_intermod_holder:
Runs in an infinite loop.
I forgot to say that this is on PPC/LE with alpha2 .