I think this is due to libcxx and friends not being updated.  I just
pushed some preliminary versions, I hope that will get things back on
track.

Fabian


On 06-09-2016 21:37:09 +0000, Han H. wrote:
> Hi Fabian,
> 
> The patch works for me. Thanks!
> 
> The emerge of llvm-3.8.1 is done, but after that I tried to emptytree the
> system. Then it ran into an error when I emerge cmake (and many others) with
> the following error message. It looks some way of declaration was recognized
> by old clang but not by the new one, and now it’s not possible to go back to
> old clang (with the same error message). Do you have an idea how to fix
> this?
> 
> [  8%] Building CXX object
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o
> 
> cd
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
> && /Users/abc/gentoo/usr/bin/x86_64-apple-darwin15-clang++ 
> -DKWSYS_NAMESPACE=cmsys
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
>   
> -DNDEBUG -march=native -O2 -pipe    -std=gnu++14 -o
> CMakeFiles/cmsys.dir/EncodingCXX.cxx.o -c
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:7:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/writer.h:10:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
> 
>       'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
> 
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
> 
>                                            ^
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
> 
>     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
> 
>                                        ^
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/Directory.cxx:13:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Directory.hxx:16:
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
> 
>       'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
> 
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
> 
>                                            ^
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
> 
>     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
> 
>                                        ^
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_value.cpp:8:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
> 
>       'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
> 
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
> 
>                                            ^
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: In file included
> from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/DynamicLoader.cxx:13:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/DynamicLoader.hxx:16:
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
> 
>       'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
> 
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
> 
> note                                           ^
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
> 
>     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
> 
>                                        ^
> 
> : previous declaration is here
> 
>     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
> 
>                                        ^
> 
> 1 error generated.
> 
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:255:
> Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o] Error 1
> 
> make[2]: *** Waiting for unfinished jobs....
> 
> 1 error generated.
> 
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:231:
> Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error 1
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx:20:
> 
> In file included from
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Encoding.hxx:16:
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
> specification
> 
>       'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
> 
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const
> allocator_type& __a)
> 
>                                            ^
> 
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
> declaration is here
> 
>     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
> __a)
> 
>                                        ^
> 
> 1 error generated.
> 
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:279:
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o] Error 1
> 
> make[2]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
> 
> make[1]: *** [CMakeFiles/Makefile2:1026:
> Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
> 
> 1 error generated.
> 
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:111:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o]
> Error 1
> 
> 1 error generated.
> 
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:87:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o]
> Error 1
> 
> make[2]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
> 
> make[1]: *** [CMakeFiles/Makefile2:1431:
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/all] Error 2
> 
> make[1]: Leaving directory
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
> 
> make: *** [Makefile:161: all] Error 2
> 
> * ERROR: dev-util/cmake-3.6.1-r1::gentoo_prefix failed (compile phase):
> 
> *   emake failed
> 
> *
> 
> * If you need support, post the output of `emerge --info
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`,
> 
> * the complete build log and the output of `emerge -pqv
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`.
> 
> * The complete build log is located at
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/build.log'.
> 
> * The ebuild environment file is located at
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/environment'.
> 
> * Working directory:
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
> 
> * S:
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1'
> 

-- 
Fabian Groffen
Gentoo on a different level

Attachment: signature.asc
Description: Digital signature

Reply via email to