Boost logo

Boost :

Subject: Re: [boost] [thread] Mass test failures on clang
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-06-09 06:53:31


Le 09/06/14 12:49, Vicente J. Botet Escriba a écrit :
> Le 09/06/14 12:25, Andrey Semashev a écrit :
>> Hi,
>>
>> I'm seeing mass test failures in Atomic and Log both in develop and master.
>> E.g.:
>>
>> http://www.boost.org/development/tests/develop/developer/atomic.html
>> http://www.boost.org/development/tests/master/developer/atomic.html
>>
>> The logs are not descriptive (as usual) but point to Thread compilation:
>>
>> http://www.boost.org/development/tests/develop/developer/output/teeks99-04b-Ubuntu12-04-64-boost-bin-v2-libs-log-test-attr_attribute_set-test-clang-linux-3-4-debug-threading-multi.html
>>
>> Could this be resolved? The freeze deadline is nearing, so I'd like to see my
>> test results at least once before it is reached.
>>
>>
>>
>
> I would like to, but with the following log, I'm unable to :(
>
> Vicente
>
> Test output:
> boost/bin.v2/libs/thread/build/clang-linux-3.4/debug/threading-multi
> Rev b932921a8ebf5d42337f0b48f46ac77b072f35e7 / Sun, 08 Jun 2014
> 17:24:48 +0000
> Compile [2014-06-08 21:05:30 UTC]: succeed
> "clang++-3.4" -c -x c++ -Wextra -Wno-long-long -Wno-variadic-macros -Wunused-function -pedantic -O0 -g -fno-inline -Wall -pedantic -g -pthread -fPIC -Wextra -Wno-long-long -Wno-variadic-macros -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_THREAD_POSIX -I".." -o "/home/tomkent/teeks99-04/b/results/boost/bin.v2/libs/thread/build/clang-linux-3.4/debug/threading-multi/future.o" "../libs/thread/src/future.cpp"
>
>
>
Otherwise, I know why the following is failing

http://www.boost.org/development/tests/develop/developer/output/jasonr-Ubuntu13-10-intel-12-1-6-boost-bin-v2-libs-thread-test-async__async_p-test-intel-linux-12-1-6-debug-threading-multi.html

../boost/thread/future.hpp(3561): error: no suitable conversion function from "boost::launch" to "int" exists
       if (int(policy) & int(launch::async)) {
               ^

../boost/thread/future.hpp(3567): error: no suitable conversion function from "boost::launch" to "int" exists
       } else if (int(policy) & int(launch::deferred)) {
                      ^

../boost/thread/future.hpp(3626): error: no suitable conversion function from "boost::launch" to "int" exists
       if (int(policy) & int(launch::async)) {
               ^

../boost/thread/future.hpp(3632): error: no suitable conversion function from "boost::launch" to "int" exists
       } else if (int(policy) & int(launch::deferred)) {
                   

Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk