Re: boost1.63-nopython fails validation

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 1/11/17 5:37 AM, Derek Homeier wrote:
> On 11 Jan 2017, at 12:28 pm, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>>> + LIBDIR2=
>>> + ./b2 -d2 'cxxflags=-std=c++11 -MD -I/sw/include' -j4 --without-python --prefix=/sw --libdir=/sw/opt/boost-1_63/lib --includedir=/sw/opt/boost-1_63/include/boost --compatibility_version=1.63.0 --current_version=1.63.0 --build-type=complete --layout=tagged variant=release threading=single,multi link=shared
>>> Performing configuration checks
>>>
>>>    - 32-bit                   : no
>>>    - 64-bit                   : yes
>>>    - arm                      : no
>>>    - mips1                    : no
>>>    - power                    : no
>>>    - sparc                    : no
>>>    - x86                      : yes
>>>
>>> Building the Boost C++ Libraries.
>>>
>>>
>>>    - symlinks supported       : yes
>>>    - C++11 mutex              : yes
>>>    - lockfree boost::atomic_flag : yes
>>>    - Boost.Config Feature Check: cxx11_auto_declarations : yes
>>>    - Boost.Config Feature Check: cxx11_constexpr : yes
>>>    - Boost.Config Feature Check: cxx11_defaulted_functions : yes
>>>    - Boost.Config Feature Check: cxx11_final : yes
>>>    - Boost.Config Feature Check: cxx11_hdr_mutex : yes
>>>    - Boost.Config Feature Check: cxx11_hdr_tuple : yes
>>>    - Boost.Config Feature Check: cxx11_lambdas : yes
>>>    - Boost.Config Feature Check: cxx11_noexcept : yes
>>>    - Boost.Config Feature Check: cxx11_nullptr : yes
>>>    - Boost.Config Feature Check: cxx11_rvalue_references : yes
>>>    - Boost.Config Feature Check: cxx11_template_aliases : yes
>>>    - Boost.Config Feature Check: cxx11_thread_local : yes
>>
>> The only difference in output is that my build doesn't find cxx11_thread_local.
>>
>> I wonder if it's a clang version issue (I have Xcode 7.3). Does the command
>>
>> /usr/bin/clang++ -dM -E -x c++ -std=c++14 /dev/null | grep thread
>>
>> output anything?
>>
> Nope, nothing. I think I have Xcode 8 on the El Capitan machine, but not the command
> line tools (which are not available for 10.11 iirc); but I cannot connect to it to check right now.
>

The build difference is definitely due to thread_local_storage that 
didn't make it into Xcode until v8.0 [1]. Since 10.9 and 10.10 have no 
chance of getting Xcode8, the options are to either build the package 
differently for non-Xcode8 systems or disable the boost_fiber library 
everywhere. How criticial is boost_fiber for everyday usage of the Boost 
library collection?

Hanspeter

[1] https://svn.boost.org/trac/boost/ticket/11687


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.