Subject: Re: [boost] [Test][Thread] Regression since 9 December?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-01-26 02:23:25


On Sunday 25 January 2015 22:57:49 Gennadiy Rozental wrote:
> Andrey Semashev <andrey.semashev <at> gmail.com> writes:
> > Something is still not right. Boost.Atomic tests are still failing:
> http://www.boost.org/development/tests/develop/developer/output/BP%20x86_64%
> 2 0C++11-boost-bin-v2-libs-atomic-test-atomicity-test-clang-linux-3-
> 5~c14_libc++-debug-debug-symbols-off-threading-multi.html
>
> I cannot open this link. It says there is some kind of error.

It seems some testers have cycled. Here is the report from another one that
hasn't:

Compile [2015-01-25 09:57:43 UTC]: succeed

"clang++-3.4" -c -x c++ -Wno-c99-extensions -O0 -g -fno-inline -Wall -g -
pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -
DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -
DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TEST_DYN_LINK=1 -
DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -
DBOOST_THREAD_USE_DLL=1 -DBOOST_TIMER_DYN_LINK=1 -I".." -o
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/test/atomicity.test/clang-
linux-3.4/debug/threading-multi/atomicity.o"
"../libs/atomic/test/atomicity.cpp"

            

Link [2015-01-25 09:57:43 UTC]: fail

    "clang++-3.4" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/build/clang-
linux-3.4/debug/threading-multi" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/chrono/build/clang-
linux-3.4/debug/threading-multi" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/system/build/clang-
linux-3.4/debug/threading-multi" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/test/build/clang-
linux-3.4/debug/threading-multi" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/thread/build/clang-
linux-3.4/debug/threading-multi" -Wl,-R -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/timer/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/chrono/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/system/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/test/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/thread/build/clang-
linux-3.4/debug/threading-multi" -Wl,-rpath-link -
Wl,"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/timer/build/clang-
linux-3.4/debug/threading-multi" -o
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/test/atomicity.test/clang-
linux-3.4/debug/threading-multi/atomicity" -Wl,--start-group
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/test/atomicity.test/clang-
linux-3.4/debug/threading-multi/atomicity.o"
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/chrono/build/clang-
linux-3.4/debug/threading-multi/libboost_chrono.so.1.58.0"
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/thread/build/clang-
linux-3.4/debug/threading-multi/libboost_thread.so.1.58.0"
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/atomic/build/clang-
linux-3.4/debug/threading-multi/libboost_atomic.so.1.58.0"
"/home/tomkent/teeks99-03/j/results/boost/bin.v2/libs/system/build/clang-
linux-3.4/debug/threading-multi/libboost_system.so.1.58.0" -Wl,-Bstatic -
Wl,-Bdynamic -lrt -Wl,--end-group -g -pthread

/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
            

http://www.boost.org/development/tests/develop/developer/output/teeks99-03j-Ubuntu12-04-64-boost-bin-v2-libs-atomic-test-atomicity-test-clang-linux-3-4-debug-threading-multi.html

> > Were there other changes which removed main() definition from Boost.Test?
>
> There were no changes in Boost.Test. All the changes that were done to
> upgrade to newer boost.timer were reverted.

Strange. Boost.Atomic tests also didn't change but were working before.