[cfe-dev] Can't build clang yesterday & today

Reid Kleckner rnk at google.com
Thu Jan 15 14:01:38 PST 2015


You can find the email for the patch author in the cfe-commits archive,
usually.

I suspect that there is some bad interaction with this particular version
of libc++.

On Thu, Jan 15, 2015 at 1:51 PM, Sean McBride <sean at rogue-research.com>
wrote:

> So I still can't build today. :(
>
> I manually bisected, and found:
>  I can build r223247
>  I cannot build r223248
>
> The log was:
>
> ------------------------------------------------------------------------
> r223248 | alexfh | 2014-12-03 12:53:02 -0500 (Wed, 03 Dec 2014) | 9 lines
>
> Make ArgumentsAdjuster an std::function.
>
> Reviewers: klimek
>
> Reviewed By: klimek
>
> Subscribers: klimek, cfe-commits
>
> Differential Revision: http://reviews.llvm.org/D6505
> ------------------------------------------------------------------------
>
> Hopefully that'll be a clue to someone...
>
> Thanks,
>
> Sean
>
>
> On Wed, 14 Jan 2015 14:26:54 -0500, Sean McBride said:
>
> >Hi all,
> >
> >I have a little script that I use to build clang trunk every once in a
> >while.  It's worked for months.  I last used it to build r223115.  I'm
> >on OS X 10.8.5 using Xcode 5.0.2's clang and cmake 3.1 to build.  I
> >tried to build yesterday morning, but it failed.  I thought I maybe just
> >hit a bad svn revision but it still won't build this morning.  The error
> >is below.  Any hints what's going wrong?  Thanks. Sean
> >
> >Scanning dependencies of target clangBasic
> >In file included from /Users/builder/llvm/llvm/tools/clang/lib/Tooling/
> >ArgumentsAdjusters.cpp:15:
> >In file included from /Users/builder/llvm/llvm/tools/clang/include/clang/
> >Tooling/ArgumentsAdjusters.h:20:
> >In file included from /usr/bin/../lib/c++/v1/functional:465:
> >In file included from /usr/bin/../lib/c++/v1/memory:599:
> >/usr/bin/../lib/c++/v1/tuple:234:73: error: no matching constructor for
> >initialization of 'std::__1::__bind<s
> >td::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >      std::__1::allocator<std::__1::basic_string<char> > > (const
> >std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::placeholders::__ph<1> &>'
> >             _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) :
> >value()
> >                                                                        ^
> >/usr/bin/../lib/c++/v1/tuple:447:23: note: in instantiation of member
> >function 'std::__1::__tuple_leaf<0,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &>, false>::__tuple_leaf'
> >      requested here
> >    _LIBCPP_CONSTEXPR __tuple_impl()
> >                      ^
> >/usr/bin/../lib/c++/v1/tuple:550:23: note: in instantiation of member
> >function 'std::__1::__tuple_impl<std::__1::__tuple_indices<0>,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >::__tuple_impl' requested here
> >    _LIBCPP_CONSTEXPR tuple()
> >                      ^
> >/usr/bin/../lib/c++/v1/functional:1744:11: note: in instantiation of
> >member function
> >      'std::__1::tuple<std::__1::__bi
> >nd<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >::tuple' requested here
> >          __bound_args_(_VSTD::forward<_BA>(__bound_args)...) {}
> >          ^
> >/usr/bin/../lib/c++/v1/memory:2243:15: note: in instantiation of
> >function template specialization
> >      'std::__1::__bind<std::__1::fun
> >ction<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &>
> >      >::__bind<std::__1::__bind<std:
> >:__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >, , void>' requested here
> >              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
> >              ^
> >/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of
> >function template specialization
> >      'std::__1::__libcpp_compressed_
> >pair_imp<std::__1::__bind<std::__1::f
> >unction<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> >
> >      > (const std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >,
> >      std::__1::allocator<std::__1::_
> >_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > >,
> >      2>::__libcpp_compressed_pair_im
> >p<std::__1::__bind<std::__1::function
> ><std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > >
> >      (const std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > &&, , 0, >' requested here
> >            : base(__pc, _VSTD::move(__first_args),
> >_VSTD::move(__second_args),
> >              ^
> >/usr/bin/../lib/c++/v1/functional:992:11: note: in instantiation of
> >function template specialization
> >      'std::__1::__compressed_pair<st
> >d::__1::__bind<std::__1::function<std
> >::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >,
> >      std::__1::allocator<std::__1::_
> >_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > >
> >      >::__compressed_pair<std::__1::
> >__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > &&, >' requested here
> >        : __f_(piecewise_construct,
> _VSTD::forward_as_tuple(_VSTD::move(__f)),
> >          ^
> >/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of
> >member function
> >      'std::__1::__function::__func<s
> >td::__1::__bind<std::__1::function<st
> >d::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> >,
> >      std::__1::allocator<std::__1::_
> >_bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > >,
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >std::__1::vector<std::__1::basic_string<char>,
> >      std::__1::allocator<std::__1::basic_string<char> > > &)>::__func'
> >requested here
> >            ::new (__f_) _FF(_VSTD::move(__f));
> >                         ^
> >/Users/builder/llvm/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp:
> >81:10: note: in instantiation of function template specialization
> >      'std::__1::function<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >std::__1::vector<std::__1::basic_string<char>,
> >      std::__1::allocator<std::__1::basic_string<char> > >
> >&)>::function<std::__1::__bind<std::_
> >_1::function<std::__1::vector<std::__1::basic_string<char>,
> >      std::__1::allocator<std::__1::basic_string<char> > > (const
> >std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >      std::__1::__bind<std::__1::func
> >tion<std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > (const
> >      std::__1::vector<std::__1::basic_string<char>,
> >std::__1::allocator<std::__1::basic_string<char> > > &)> &,
> >std::__1::placeholders::__ph<1> &> > >' requested here
> >  return std::bind(Second, std::bind(First, std::placeholders::_1));
> >         ^
> >/usr/bin/../lib/c++/v1/functional:1742:16: note: candidate constructor
> >template not viable: requires at least argument '__f', but no arguments
> >were provided
> >      explicit __bind(_Gp&& __f, _BA&& ...__bound_args)
> >               ^
> >/usr/bin/../lib/c++/v1/functional:1694:7: note: candidate constructor
> >(the implicit copy constructor) not viable: requires 1 argument, but 0
> >were provided
> >class __bind
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150115/1f10d50e/attachment.html>


More information about the cfe-dev mailing list