<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 8, 2014 at 2:16 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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello Alexey,<br>
    <br>
    Do you mean we should not fix it in the mainline?<br></div></blockquote><div><br></div><div>No, I'm perfectly fine if you want to change the buildbot scripts as appropriate for your use case.</div><div> <br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    By coincidence the code the buildbot was failing on is rewritten in
    r208131:<br>
    <br>
    <a href="http://lab.llvm.org:8011/changes/57427" target="_blank">http://lab.llvm.org:8011/changes/57427</a><br>
    <br>
    It seems there were similar problems with building LLVM on Windows
    so probably no more need to fix it on the buildbot.<div><div class="h5"><br>
    <br>
    <div>On 05/06/2014 01:53 AM, Alexey Samsonov
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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/waterfall?show=sanitizer_x86_64-freeBSD9.2</a><br>
              <br>
              with this:<br>
              <br>
              ---<br>
              <br>
              In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/lib/CodeGen/LexicalScopes.cpp:17:<br>
              In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/CodeGen/LexicalScopes.h:20:<br>
              In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/ADT/ArrayRef.h:14:<br>
              In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/ADT/SmallVector.h:22:<br>
              In file included from /usr/include/c++/v1/algorithm:627:<br>
              In file included from /usr/include/c++/v1/memory:603:<br>
              /usr/include/c++/v1/tuple:320: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: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<_Indx...>,
              _Tp...><br>
                     ^<br>
              /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/lib/CodeGen/LexicalScopes.cpp:161:36:
              note: in instantiation of function template specialization
              'std::__1::forward_as_tuple<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/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><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>
    </blockquote>
    <br></div></div>
    -- <br>
    <br>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Alexey Samsonov, Mountain View, CA</div></div>
</div></div>