<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 5, 2014 at 2:17 AM, Ivan A. Kosarev <span dir="ltr"><<a href="mailto:ikosarev@accesssoftek.com" target="_blank">ikosarev@accesssoftek.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Alexey,<br>
<br>
The FreeBSD 9.2 buildbot fails on the bootstrapping phase:<br>
<br>
<a href="http://lab.llvm.org:8011/waterfall?show=sanitizer_x86_64-freeBSD9.2" target="_blank">http://lab.llvm.org:8011/<u></u>waterfall?show=sanitizer_x86_<u></u>64-freeBSD9.2</a><br>
<br>
with this:<br>
<br>
---<br>
<br>
In file included from /home/buildslave/slave_as-<u></u>bldslv5/sanitizer_x86_64-<u></u>freeBSD9.2/llvm.src/lib/<u></u>CodeGen/LexicalScopes.cpp:17:<br>
In file included from /home/buildslave/slave_as-<u></u>bldslv5/sanitizer_x86_64-<u></u>freeBSD9.2/llvm.src/include/<u></u>llvm/CodeGen/LexicalScopes.h:<u></u>20:<br>
In file included from /home/buildslave/slave_as-<u></u>bldslv5/sanitizer_x86_64-<u></u>freeBSD9.2/llvm.src/include/<u></u>llvm/ADT/ArrayRef.h:14:<br>
In file included from /home/buildslave/slave_as-<u></u>bldslv5/sanitizer_x86_64-<u></u>freeBSD9.2/llvm.src/include/<u></u>llvm/ADT/SmallVector.h:22:<br>
In file included from /usr/include/c++/v1/algorithm:<u></u>627:<br>
In file included from /usr/include/c++/v1/memory:<u></u>603:<br>
/usr/include/c++/v1/tuple:320:<u></u>11: error: rvalue reference to type 'llvm::DIDescriptor' cannot bind to lvalue of type 'llvm::DIDescriptor'<br>
: value(__t.get())<br>
^ ~~~~~~~~~<br>
/usr/include/c++/v1/tuple:444:<u></u>8: note: in instantiation of member function 'std::__1::__tuple_leaf<1, llvm::DIDescriptor &&, false>::__tuple_leaf' requested here<br>
struct __tuple_impl<__tuple_indices<_<u></u>Indx...>, _Tp...><br>
^<br>
/home/buildslave/slave_as-<u></u>bldslv5/sanitizer_x86_64-<u></u>freeBSD9.2/llvm.src/lib/<u></u>CodeGen/LexicalScopes.cpp:161:<u></u>36: note: in instantiation of function template specialization 'std::__1::forward_as_tuple<<u></u>llvm::LexicalScope *&, llvm::DIDescriptor, nullptr_t, bool>' requested here<br>
std::forward_as_tuple(Parent, DIDescriptor(Scope),<br>
^<br>
<br>
---<br>
<br>
The problem is that the libcxx version installed on the host seems to be too old as adding "-I<build-dir>/projects/<u></u>libcxx/include" solves the issue.<br>
<br>
I thought that since the buildbot scripts prescribe to checkout libcxx and libcxxabi, they probably should force the just-build clang to use these libs during the bootstrap phase and not the ones installed on the host system?<br>
</blockquote><div><br></div><div>Sure, I think it makes sense to use just-built libcxx in a bootstrap. Can you fix the scripts on that buildbot to do it?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Please let me know what you think.<br>
<br>
Thanks.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Alexey Samsonov, Mountain View, CA</div></div>
</div></div>