Boost logo

Boost Users :

Subject: Re: [Boost-users] GCC 5.3.0 failing Features Check when building Boost
From: Carlos Ferreira (carlosmf.pt_at_[hidden])
Date: 2016-10-06 18:17:42


Just to provide some extra info, this is the output of the compiler when I
query for the __cpp* definitions

./staging_dir/toolchain-arm_arm1176jzf-s+vfp_gcc-5.3.0_musl-1.1.15_eabi/bin/arm-openwrt-linux-g++
> -dM -E -x c++ -std=c++14 /dev/null | fgrep __cpp
> #define __cpp_attributes 200809
> #define __cpp_aggregate_nsdmi 201304
> #define __cpp_static_assert 200410
> #define __cpp_binary_literals 201304
> #define __cpp_variadic_templates 200704
> #define __cpp_variable_templates 201304
> #define __cpp_delegating_constructors 200604
> #define __cpp_raw_strings 200710
> #define __cpp_ref_qualifiers 200710
> #define __cpp_rvalue_reference 200610
> #define __cpp_nsdmi 200809
> #define __cpp_initializer_lists 200806
> #define __cpp_lambdas 200907
> #define __cpp_unicode_characters 200704
> #define __cpp_decltype_auto 201304
> #define __cpp_rtti 199711
> #define __cpp_digit_separators 201309
> #define __cpp_unicode_literals 200710
> #define __cpp_sized_deallocation 201309
> #define __cpp_range_based_for 200907
> #define __cpp_return_type_deduction 201304
> #define __cpp_decltype 200707
> #define __cpp_inheriting_constructors 200802
> #define __cpp_runtime_arrays 198712
> #define __cpp_alias_templates 200704
> #define __cpp_constexpr 201304
> #define __cpp_exceptions 199711
> #define __cpp_generic_lambdas 201304
> #define __cpp_user_defined_literals 200809
> #define __cpp_init_captures 201304

On 6 October 2016 at 22:55, Carlos Ferreira <carlosmf.pt_at_[hidden]> wrote:

> Hello
>
> I'm having some issues regarding the features check, when build Boost
> using OpenWRT GCC 5.3.0 cross-compiler for armv7. I'm building against
> musl.
>
> I have passed -std=c++14 to the cxxflags, but it seems to have no effect.
>
> This is the features output
>
>> - 32-bit : yes
>> - arm : yes
>> - symlinks supported : yes
>> - C++11 mutex : yes
>> - lockfree boost::atomic_flag : no
>> - Boost.Config Feature Check: cxx11_auto_declarations : no
>> - Boost.Config Feature Check: cxx11_constexpr : no
>> - Boost.Config Feature Check: cxx11_defaulted_functions : no
>> - Boost.Config Feature Check: cxx11_final : no
>> - Boost.Config Feature Check: cxx11_hdr_tuple : no
>> - Boost.Config Feature Check: cxx11_lambdas : no
>> - Boost.Config Feature Check: cxx11_noexcept : no
>> - Boost.Config Feature Check: cxx11_nullptr : no
>> - Boost.Config Feature Check: cxx11_rvalue_references : no
>> - Boost.Config Feature Check: cxx11_template_aliases : no
>> - Boost.Config Feature Check: cxx11_thread_local : no
>> - Boost.Config Feature Check: cxx11_variadic_templates : no
>> - has_icu builds : no
>> warning: Graph library does not contain MPI-based parallel components.
>> note: to enable them, add "using mpi ;" to your user-config.jam
>> - zlib : yes
>> - iconv (libc) : no
>> - iconv (separate) : yes
>> - icu : no
>> - icu (lib64) : no
>> - native-atomic-int32-supported : yes
>> - pthread-supports-robust-mutexes : yes
>> - compiler-supports-visibility : yes
>> - gcc visibility : yes
>> - long double support : yes
>> - zlib : yes
>
>
> What am I missing, so that all those cxx_* features can be checked?
>
>
> --
>
> Carlos Miguel Ferreira
> Researcher at Telecommunications Institute
> Aveiro - Portugal
> Work E-mail - cmf_at_[hidden]
> Skype & GTalk -> carlosmf.pt_at_[hidden]
> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
>

-- 
Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - cmf_at_[hidden]
Skype & GTalk -> carlosmf.pt_at_[hidden]
LinkedIn -> http://www.linkedin.com/in/carlosmferreira


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