1 |
I think this is due to libcxx and friends not being updated. I just |
2 |
pushed some preliminary versions, I hope that will get things back on |
3 |
track. |
4 |
|
5 |
Fabian |
6 |
|
7 |
|
8 |
On 06-09-2016 21:37:09 +0000, Han H. wrote: |
9 |
> Hi Fabian, |
10 |
> |
11 |
> The patch works for me. Thanks! |
12 |
> |
13 |
> The emerge of llvm-3.8.1 is done, but after that I tried to emptytree the |
14 |
> system. Then it ran into an error when I emerge cmake (and many others) with |
15 |
> the following error message. It looks some way of declaration was recognized |
16 |
> by old clang but not by the new one, and now it’s not possible to go back to |
17 |
> old clang (with the same error message). Do you have an idea how to fix |
18 |
> this? |
19 |
> |
20 |
> [ 8%] Building CXX object |
21 |
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o |
22 |
> |
23 |
> cd |
24 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys |
25 |
> && /Users/abc/gentoo/usr/bin/x86_64-apple-darwin15-clang++ |
26 |
> -DKWSYS_NAMESPACE=cmsys |
27 |
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source |
28 |
> -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys |
29 |
> -DNDEBUG -march=native -O2 -pipe -std=gnu++14 -o |
30 |
> CMakeFiles/cmsys.dir/EncodingCXX.cxx.o -c |
31 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx |
32 |
> |
33 |
> In file included from |
34 |
> /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: |
35 |
> |
36 |
> In file included from |
37 |
> /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: |
38 |
> |
39 |
> In file included from |
40 |
> /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: |
41 |
> |
42 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: |
43 |
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception |
44 |
> specification |
45 |
> |
46 |
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' |
47 |
> |
48 |
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const |
49 |
> allocator_type& __a) |
50 |
> |
51 |
> ^ |
52 |
> |
53 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous |
54 |
> declaration is here |
55 |
> |
56 |
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& |
57 |
> __a) |
58 |
> |
59 |
> ^ |
60 |
> |
61 |
> In file included from |
62 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/Directory.cxx:13: |
63 |
> |
64 |
> In file included from |
65 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Directory.hxx:16: |
66 |
> |
67 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: |
68 |
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception |
69 |
> specification |
70 |
> |
71 |
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' |
72 |
> |
73 |
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const |
74 |
> allocator_type& __a) |
75 |
> |
76 |
> ^ |
77 |
> |
78 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous |
79 |
> declaration is here |
80 |
> |
81 |
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& |
82 |
> __a) |
83 |
> |
84 |
> ^ |
85 |
> |
86 |
> In file included from |
87 |
> /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: |
88 |
> |
89 |
> In file included from |
90 |
> /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: |
91 |
> |
92 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: |
93 |
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception |
94 |
> specification |
95 |
> |
96 |
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' |
97 |
> |
98 |
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const |
99 |
> allocator_type& __a) |
100 |
> |
101 |
> ^ |
102 |
> |
103 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: In file included |
104 |
> from |
105 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/DynamicLoader.cxx:13: |
106 |
> |
107 |
> In file included from |
108 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/DynamicLoader.hxx:16: |
109 |
> |
110 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: |
111 |
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception |
112 |
> specification |
113 |
> |
114 |
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' |
115 |
> |
116 |
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const |
117 |
> allocator_type& __a) |
118 |
> |
119 |
> note ^ |
120 |
> |
121 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous |
122 |
> declaration is here |
123 |
> |
124 |
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& |
125 |
> __a) |
126 |
> |
127 |
> ^ |
128 |
> |
129 |
> : previous declaration is here |
130 |
> |
131 |
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& |
132 |
> __a) |
133 |
> |
134 |
> ^ |
135 |
> |
136 |
> 1 error generated. |
137 |
> |
138 |
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:255: |
139 |
> Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o] Error 1 |
140 |
> |
141 |
> make[2]: *** Waiting for unfinished jobs.... |
142 |
> |
143 |
> 1 error generated. |
144 |
> |
145 |
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:231: |
146 |
> Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error 1 |
147 |
> |
148 |
> In file included from |
149 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx:20: |
150 |
> |
151 |
> In file included from |
152 |
> /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Encoding.hxx:16: |
153 |
> |
154 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error: |
155 |
> 'basic_string<_CharT, _Traits, _Allocator>' is missing exception |
156 |
> specification |
157 |
> |
158 |
> 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)' |
159 |
> |
160 |
> basic_string<_CharT, _Traits, _Allocator>::basic_string(const |
161 |
> allocator_type& __a) |
162 |
> |
163 |
> ^ |
164 |
> |
165 |
> /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous |
166 |
> declaration is here |
167 |
> |
168 |
> _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& |
169 |
> __a) |
170 |
> |
171 |
> ^ |
172 |
> |
173 |
> 1 error generated. |
174 |
> |
175 |
> make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:279: |
176 |
> Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o] Error 1 |
177 |
> |
178 |
> make[2]: Leaving directory |
179 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build' |
180 |
> |
181 |
> make[1]: *** [CMakeFiles/Makefile2:1026: |
182 |
> Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2 |
183 |
> |
184 |
> 1 error generated. |
185 |
> |
186 |
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:111: |
187 |
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o] |
188 |
> Error 1 |
189 |
> |
190 |
> 1 error generated. |
191 |
> |
192 |
> make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:87: |
193 |
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o] |
194 |
> Error 1 |
195 |
> |
196 |
> make[2]: Leaving directory |
197 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build' |
198 |
> |
199 |
> make[1]: *** [CMakeFiles/Makefile2:1431: |
200 |
> Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/all] Error 2 |
201 |
> |
202 |
> make[1]: Leaving directory |
203 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build' |
204 |
> |
205 |
> make: *** [Makefile:161: all] Error 2 |
206 |
> |
207 |
> * ERROR: dev-util/cmake-3.6.1-r1::gentoo_prefix failed (compile phase): |
208 |
> |
209 |
> * emake failed |
210 |
> |
211 |
> * |
212 |
> |
213 |
> * If you need support, post the output of `emerge --info |
214 |
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`, |
215 |
> |
216 |
> * the complete build log and the output of `emerge -pqv |
217 |
> '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`. |
218 |
> |
219 |
> * The complete build log is located at |
220 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/build.log'. |
221 |
> |
222 |
> * The ebuild environment file is located at |
223 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/environment'. |
224 |
> |
225 |
> * Working directory: |
226 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build' |
227 |
> |
228 |
> * S: |
229 |
> '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1' |
230 |
> |
231 |
|
232 |
-- |
233 |
Fabian Groffen |
234 |
Gentoo on a different level |