Boost logo

Boost Users :

Subject: Re: [Boost-users] [release] Boost 1.62.0. Beta 2
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2016-09-14 18:29:26


On Wed, Sep 14, 2016 at 7:01 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:

> The packages for 1.62.0 beta 2 are now available:
>
> <https://sourceforge.net/projects/boost/files/boost/1.62.0.beta.2/>
>
> The SHA256 checksums are as follows:
>
> 95feae3620b3e604e93f14d97195fc04a4b67063692859af8df19657d41b82d5
> boost_1_62_0_b2.7z
> 27bc9b328ff73d7dbf80cd9d4b5f79b0878221e5d8e4b6c47444b135edc1080a
> boost_1_62_0_b2.tar.bz2
> 3939d5efa683449e87b374d7e92e3eeb6490063ddb2877919f0fad26e3a0f53e
> boost_1_62_0_b2.tar.gz
> cff9ab5db0928244c4c836cf3da5140e6e93db7756e2791ba99a21104ad3aa72
> boost_1_62_0_b2.zip
>
> As always, the release managers would appreciate it if you download
> the archive of your choice and give building and using it a try. Please
> report
> both success and failure, and anything else that is noteworthy.
>
>
On my Mac (10.11.6), I built with:
* Apple LLVM version 7.3.0 (clang-703.0.31)
* clang version 4.0.0 (trunk 281486)
* gcc 4.8.3

each one x4 (C++03/11/14/1z) except for gcc 4.8, which I didn't do
-std=c++1z

The only failure to build was Boost.Fiber with Apple's clang and C++11/14/1z
And that's because that compiler doesn't support thread-local variables.

clang-darwin.compile.c++
> bin.v2/libs/fiber/build/clang-darwin-11/release/link-static/threading-multi/context.o
> libs/fiber/src/context.cpp:54:12: error: thread-local storage is not
> supported for the current target
> static thread_local context * active_;
> ^
> libs/fiber/src/context.cpp:55:12: error: thread-local storage is not
> supported for the current target
> static thread_local std::size_t counter_;
> ^
> libs/fiber/src/context.cpp:133:1: error: thread-local storage is not
> supported for the current target
> thread_local context * context_initializer::active_;
> ^
> libs/fiber/src/context.cpp:134:1: error: thread-local storage is not
> supported for the current target
> thread_local std::size_t context_initializer::counter_;
> ^
> libs/fiber/src/context.cpp:143:5: error: thread-local storage is not
> supported for the current target
> thread_local static context_initializer ctx_initializer;
> ^
> 5 errors generated.
>

> "/usr/bin/clang++" -x c++ -std=c++11 -stdlib=libc++ -O3 -O3
> -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_DISABLE_ASSERTS
> -DBOOST_FIBERS_SOURCE -DNDEBUG -I"." -c -o
> "bin.v2/libs/fiber/build/clang-darwin-11/release/link-static/threading-multi/context.o"
> "libs/fiber/src/context.cpp"
>

...failed clang-darwin.compile.c++
> bin.v2/libs/fiber/build/clang-darwin-11/release/link-static/threading-multi/context.o...

--Marshall



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net