<p dir="ltr">Breaking builds with existing libc++s isn't great. Is there a way to tweak your change so that this doesn't happen? If not, how important is your change?</p>
<div class="gmail_quote">On Jan 16, 2015 4:22 AM, "Alexander Kornienko" <<a href="mailto:alexfh@google.com">alexfh@google.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p dir="ltr">It's my commit and it looks like a problem with the compiler or the standard library. Is updating XCode an option for you?</p>
<div class="gmail_quote">On 15 Jan 2015 22:58, "Sean McBride" <<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So I still can't build today. :(<br>
<br>
I manually bisected, and found:<br>
 I can build r223247<br>
 I cannot build r223248<br>
<br>
The log was:<br>
<br>
------------------------------------------------------------------------<br>
r223248 | alexfh | 2014-12-03 12:53:02 -0500 (Wed, 03 Dec 2014) | 9 lines<br>
<br>
Make ArgumentsAdjuster an std::function.<br>
<br>
Reviewers: klimek<br>
<br>
Reviewed By: klimek<br>
<br>
Subscribers: klimek, cfe-commits<br>
<br>
Differential Revision: <a href="http://reviews.llvm.org/D6505" target="_blank">http://reviews.llvm.org/D6505</a><br>
------------------------------------------------------------------------<br>
<br>
Hopefully that'll be a clue to someone...<br>
<br>
Thanks,<br>
<br>
Sean<br>
<br>
<br>
On Wed, 14 Jan 2015 14:26:54 -0500, Sean McBride said:<br>
<br>
>Hi all,<br>
><br>
>I have a little script that I use to build clang trunk every once in a<br>
>while.  It's worked for months.  I last used it to build r223115.  I'm<br>
>on OS X 10.8.5 using Xcode 5.0.2's clang and cmake 3.1 to build.  I<br>
>tried to build yesterday morning, but it failed.  I thought I maybe just<br>
>hit a bad svn revision but it still won't build this morning.  The error<br>
>is below.  Any hints what's going wrong?  Thanks. Sean<br>
><br>
>Scanning dependencies of target clangBasic<br>
>In file included from /Users/builder/llvm/llvm/tools/clang/lib/Tooling/<br>
>ArgumentsAdjusters.cpp:15:<br>
>In file included from /Users/builder/llvm/llvm/tools/clang/include/clang/<br>
>Tooling/ArgumentsAdjusters.h:20:<br>
>In file included from /usr/bin/../lib/c++/v1/functional:465:<br>
>In file included from /usr/bin/../lib/c++/v1/memory:599:<br>
>/usr/bin/../lib/c++/v1/tuple:234:73: error: no matching constructor for<br>
>initialization of 'std::__1::__bind<s<br>
>td::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>      std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::placeholders::__ph<1> &>'<br>
>             _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) :<br>
>value()<br>
>                                                                        ^<br>
>/usr/bin/../lib/c++/v1/tuple:447:23: note: in instantiation of member<br>
>function 'std::__1::__tuple_leaf<0,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &>, false>::__tuple_leaf'<br>
>      requested here<br>
>    _LIBCPP_CONSTEXPR __tuple_impl()<br>
>                      ^<br>
>/usr/bin/../lib/c++/v1/tuple:550:23: note: in instantiation of member<br>
>function 'std::__1::__tuple_impl<std::__1::__tuple_indices<0>,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >::__tuple_impl' requested here<br>
>    _LIBCPP_CONSTEXPR tuple()<br>
>                      ^<br>
>/usr/bin/../lib/c++/v1/functional:1744:11: note: in instantiation of<br>
>member function<br>
>      'std::__1::tuple<std::__1::__bi<br>
>nd<std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >::tuple' requested here<br>
>          __bound_args_(_VSTD::forward<_BA>(__bound_args)...) {}<br>
>          ^<br>
>/usr/bin/../lib/c++/v1/memory:2243:15: note: in instantiation of<br>
>function template specialization<br>
>      'std::__1::__bind<std::__1::fun<br>
>ction<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &><br>
>      >::__bind<std::__1::__bind<std:<br>
>:__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >, , void>' requested here<br>
>              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)<br>
>              ^<br>
>/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of<br>
>function template specialization<br>
>      'std::__1::__libcpp_compressed_<br>
>pair_imp<std::__1::__bind<std::__1::f<br>
>unction<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> ><br>
>      > (const std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >,<br>
>      std::__1::allocator<std::__1::_<br>
>_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > >,<br>
>      2>::__libcpp_compressed_pair_im<br>
>p<std::__1::__bind<std::__1::function<br>
><std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > ><br>
>      (const std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > &&, , 0, >' requested here<br>
>            : base(__pc, _VSTD::move(__first_args),<br>
>_VSTD::move(__second_args),<br>
>              ^<br>
>/usr/bin/../lib/c++/v1/functional:992:11: note: in instantiation of<br>
>function template specialization<br>
>      'std::__1::__compressed_pair<st<br>
>d::__1::__bind<std::__1::function<std<br>
>::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >,<br>
>      std::__1::allocator<std::__1::_<br>
>_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > ><br>
>      >::__compressed_pair<std::__1::<br>
>__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > &&, >' requested here<br>
>        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),<br>
>          ^<br>
>/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of<br>
>member function<br>
>      'std::__1::__function::__func<s<br>
>td::__1::__bind<std::__1::function<st<br>
>d::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> >,<br>
>      std::__1::allocator<std::__1::_<br>
>_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > >,<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>std::__1::vector<std::__1::basic_string<char>,<br>
>      std::__1::allocator<std::__1::basic_string<char> > > &)>::__func'<br>
>requested here<br>
>            ::new (__f_) _FF(_VSTD::move(__f));<br>
>                         ^<br>
>/Users/builder/llvm/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp:<br>
>81:10: note: in instantiation of function template specialization<br>
>      'std::__1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>std::__1::vector<std::__1::basic_string<char>,<br>
>      std::__1::allocator<std::__1::basic_string<char> > ><br>
>&)>::function<std::__1::__bind<std::_<br>
>_1::function<std::__1::vector<std::__1::basic_string<char>,<br>
>      std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>      std::__1::__bind<std::__1::func<br>
>tion<std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > (const<br>
>      std::__1::vector<std::__1::basic_string<char>,<br>
>std::__1::allocator<std::__1::basic_string<char> > > &)> &,<br>
>std::__1::placeholders::__ph<1> &> > >' requested here<br>
>  return std::bind(Second, std::bind(First, std::placeholders::_1));<br>
>         ^<br>
>/usr/bin/../lib/c++/v1/functional:1742:16: note: candidate constructor<br>
>template not viable: requires at least argument '__f', but no arguments<br>
>were provided<br>
>      explicit __bind(_Gp&& __f, _BA&& ...__bound_args)<br>
>               ^<br>
>/usr/bin/../lib/c++/v1/functional:1694:7: note: candidate constructor<br>
>(the implicit copy constructor) not viable: requires 1 argument, but 0<br>
>were provided<br>
>class __bind<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>
</div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div>