Boost logo

Boost :

Subject: Re: [boost] [thread] Mass test failures on clang
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-06-09 07:00:42


On Monday 09 June 2014 12:49:30 Vicente J. Botet Escriba wrote:
> 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-04
> > b-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-li
> nux-3.4/debug/threading-multi/future.o" "../libs/thread/src/future.cpp"

In my local run I got the following error on the latest develop:

./boost/thread/pthread/mutex.hpp:108:21: warning: unused variable 'res' [-
Wunused-variable]
          int const res = posix::pthread_mutex_destroy(&m);
                    ^
In file included from libs/thread/src/pthread/thread.cpp:19:
./boost/thread/future.hpp:3561:9: error: cannot convert 'boost::launch' to
'int' without a conversion operator
    if (int(policy) & int(launch::async)) {
        ^~~~~~~~~~
./boost/thread/future.hpp:3567:16: error: cannot convert 'boost::launch' to
'int' without a conversion operator
    } else if (int(policy) & int(launch::deferred)) {
               ^~~~~~~~~~
./boost/thread/future.hpp:3626:9: error: cannot convert 'boost::launch' to
'int' without a conversion operator
    if (int(policy) & int(launch::async)) {
        ^~~~~~~~~~
./boost/thread/future.hpp:3632:16: error: cannot convert 'boost::launch' to
'int' without a conversion operator
    } else if (int(policy) & int(launch::deferred)) {
               ^~~~~~~~~~
1 warning and 4 errors generated.

  "clang++" -c -x c++ -Wextra -Wno-long-long -Wno-pedantic -Wno-unused-
function -fsanitize=address -Wno-variadic-macros -Wunused-function -pedantic -
g -O3 -finline-functions -Wno-inline -Wall -pedantic -g -march=corei7-avx -
pthread -fPIC -m64 -Wextra -Wno-long-long -Wno-pedantic -Wno-unused-function -
fsanitize=address -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 -DNDEBUG -I"." -o
"bin.v2/libs/thread/build/clang-linux-3.4/release/address-model-64/debug-
symbols-on/instruction-set-sandy-bridge/threading-multi/pthread/thread.o"
"libs/thread/src/pthread/thread.cpp"


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