FreeBSD buildbot failure
Ivan A. Kosarev
ikosarev at accesssoftek.com
Mon May 5 02:17:12 PDT 2014
The FreeBSD 9.2 buildbot fails on the bootstrapping phase:
In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/lib/CodeGen/LexicalScopes.cpp:17:
In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/CodeGen/LexicalScopes.h:20:
In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/ADT/ArrayRef.h:14:
In file included from /home/buildslave/slave_as-bldslv5/sanitizer_x86_64-freeBSD9.2/llvm.src/include/llvm/ADT/SmallVector.h:22:
In file included from /usr/include/c++/v1/algorithm:627:
In file included from /usr/include/c++/v1/memory:603:
/usr/include/c++/v1/tuple:320:11: error: rvalue reference to type 'llvm::DIDescriptor' cannot bind to lvalue of type 'llvm::DIDescriptor'
/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
struct __tuple_impl<__tuple_indices<_Indx...>, _Tp...>
/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
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.
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
Please let me know what you think.
More information about the llvm-commits