1 |
Hi Fabian,
|
2 |
|
3 |
The patch works for me. Thanks!
|
4 |
|
5 |
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?
|
6 |
|
7 |
[ 8%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o
|
8 |
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
|
9 |
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:
|
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/writer.h:10:
|
11 |
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:
|
12 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
|
13 |
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
|
14 |
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
|
15 |
^
|
16 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is here
|
17 |
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
|
18 |
^
|
19 |
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:
|
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/Directory.hxx:16:
|
21 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
|
22 |
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
|
23 |
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
|
24 |
^
|
25 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is here
|
26 |
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
|
27 |
^
|
28 |
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:
|
29 |
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:
|
30 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
|
31 |
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
|
32 |
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
|
33 |
^
|
34 |
/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:
|
35 |
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:
|
36 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
|
37 |
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
|
38 |
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
|
39 |
note ^
|
40 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is here
|
41 |
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
|
42 |
^
|
43 |
: previous declaration is here
|
44 |
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
|
45 |
^
|
46 |
1 error generated.
|
47 |
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:255: Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o] Error 1
|
48 |
make[2]: *** Waiting for unfinished jobs....
|
49 |
1 error generated.
|
50 |
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:231: Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error 1
|
51 |
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:
|
52 |
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:
|
53 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
|
54 |
'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
|
55 |
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
|
56 |
^
|
57 |
/Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous declaration is here
|
58 |
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
|
59 |
^
|
60 |
1 error generated.
|
61 |
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:279: Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o] Error 1
|
62 |
make[2]: Leaving directory '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
|
63 |
make[1]: *** [CMakeFiles/Makefile2:1026: Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
|
64 |
1 error generated.
|
65 |
make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:111: Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o] Error 1
|
66 |
1 error generated.
|
67 |
make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:87: Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o] Error 1
|
68 |
make[2]: Leaving directory '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
|
69 |
make[1]: *** [CMakeFiles/Makefile2:1431: Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/all] Error 2
|
70 |
make[1]: Leaving directory '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
|
71 |
make: *** [Makefile:161: all] Error 2
|
72 |
* ERROR: dev-util/cmake-3.6.1-r1::gentoo_prefix failed (compile phase):
|
73 |
* emake failed
|
74 |
*
|
75 |
* If you need support, post the output of `emerge --info '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`,
|
76 |
* the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`.
|
77 |
* The complete build log is located at '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/build.log'.
|
78 |
* The ebuild environment file is located at '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/environment'.
|
79 |
* Working directory: '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
|
80 |
* S: '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1' |