Some patches to Boost 1.60.0 RC1 are required to build my software with GCC 4.4.7 and GCC 4.8.2 on CentOS 6 with the following CXXFLAGS:

 

GCC 4.4.7: -Wall -Wextra -Werror -std=gnu++98 -g -O3 -mtune=native -ffast-math -funroll-loops  -DNDEBUG -m64

 

GCC 4.8.2: -Wall -Wextra -Werror -std=gnu++98 -g -O3 -mtune=native -ffast-math -funroll-loops  -DNDEBUG 

-Wno-unused-local-typedefs -Wstrict-null-sentinel -Woverloaded-virtual -m64

 

The patches we need are:

1.      boost/property_tree/detail/json_parser/standard_callbacks.hpp, adding a "return new_tree();" after the "assert(false);" on line 131. This is https://svn.boost.org/trac/boost/ticket/11501 but my co-worker chose to use the return rather than std::abort()

2.      boost/property_tree/detail/json_parser_write.hpp which is previously reported as https://svn.boost.org/trac/boost/ticket/5598

3.      boost/lexical_cast.hpp, effectively restoring the file to the version released in 1.59.0. See my previous posting: http://lists.boost.org/boost-users/2015/12/85396.php

 

I'm glad to see some of the issues I reported with Beta 1 have been addressed.

 

Thanks,

Shane Turner

 

From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Marshall Clow
Sent: Monday, December 14, 2015 11:57 AM
To: boost@lists.boost.org List <boost@lists.boost.org>; boost-users@lists.boost.org
Subject: Re: [Boost-users] Boost 1.60.0 rc1 is now available

 

On Mon, Dec 14, 2015 at 7:54 AM, Marshall Clow <mclow.lists@gmail.com> wrote:

Release candidate files for 1.60.0 are available at: http://boost.cowic.de/rc/

 

As always, the release managers would appreciate it if you download

the candidate of your choice and give building it a try. Please report

both success and failure, and anything else that is noteworthy.

 

 

I have built the RC on Mac OS X with the following results:

 

* Apple clang C++03: Success

* Apple clang C++11: Success

* Apple clang C++14: Boost.Context failed to build

* gcc 4.9.2 C++03: Success

* gcc 4.9.2 C++11: Success

* gcc 4.9.2 C++14: Success

 

====

clang-darwin.compile.c++ bin.v2/libs/context/build/clang-darwin-14/release/threading-multi/execution_context.o

In file included from libs/context/src/execution_context.cpp:11:

In file included from ./boost/context/execution_context.hpp:10:

./boost/context/execution_context.ipp:61:5: error: thread-local storage is not supported for the current target

    thread_local static ptr_t   current_rec;

    ^

libs/context/src/execution_context.cpp:23:1: error: thread-local storage is not supported for the current target

thread_local

^

libs/context/src/execution_context.cpp:28:1: error: thread-local storage is not supported for the current target

thread_local static std::size_t counter;

^

libs/context/src/execution_context.cpp:48:5: error: thread-local storage is not supported for the current target

    thread_local static detail::activation_record_initializer initializer;

    ^

4 errors generated.

 

    "/usr/bin/clang++" -x c++ -std=c++1y -stdlib=libc++ -O3 -O3 -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/clang-darwin-14/release/threading-multi/execution_context.o" "libs/context/src/execution_context.cpp"

 

 

-- Marshall