<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I’m also curious what exact test failed for you with the "can't find iostream” error.  AFAIK, you should currently receive the explaining message instead.</div><div class=""><br class=""></div><div class="">But anyway, I’d also like to see libcxx[abi] mentioned in the Getting started page.</div><div class=""><br class=""></div><div class="">Kuba</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 04 Sep 2015, at 23:07, Yuri Gribov <<a href="mailto:tetra2005@gmail.com" class="">tetra2005@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Oh, nice so this was actually done by Kuba to fix sanitizer unittests:<div class=""><div class=""><br class=""></div><div class="">      "echo '#include <iostream>' | ${COMPILER_RT_TEST_COMPILER} -E -x c++ - > /dev/null"</div><div class="">      "if [ $? != 0 ] "</div><div class="">      "  then echo"</div><div class="">      "  echo 'Your just-built clang cannot find C++ headers, which are needed to build and run compiler-rt tests.'"</div><div class="">      "  echo 'You should copy or symlink your system C++ headers into ${LLVM_BINARY_DIR}/include/c++'"</div><div class="">      "  if [ -d $(dirname $(dirname $(xcrun -f clang)))/include/c++ ]"</div><div class="">      "    then echo 'e.g. with:'"</div><div class="">      "    echo '  cp -r' $(dirname $(dirname $(xcrun -f clang)))/include/c++ '${LLVM_BINARY_DIR}/include/'"</div><div class="">      "  elif [ -d $(dirname $(dirname $(xcrun -f clang)))/lib/c++ ]"</div><div class="">      "    then echo 'e.g. with:'"</div><div class="">      "    echo '  cp -r' $(dirname $(dirname $(xcrun -f clang)))/lib/c++ '${LLVM_BINARY_DIR}/include/'"</div><div class="">      "  fi"</div><div class="">      "  echo 'This can also be fixed by checking out the libcxx project from <a href="http://llvm.org/" class="">llvm.org</a> and installing the headers'"</div><div class="">      "  echo 'into your build directory:'"</div><div class="">      "  echo '  cd ${LLVM_SOURCE_DIR}/projects && svn co <a href="http://llvm.org/svn/llvm-project/libcxx/trunk" class="">http://llvm.org/svn/llvm-project/libcxx/trunk</a> libcxx'"</div><div class="">      "  echo '  cd ${LLVM_BINARY_DIR} && make -C ${LLVM_SOURCE_DIR}/projects/libcxx installheaders HEADER_DIR=${LLVM_BINARY_DIR}/include'"</div><div class="">      "  echo"</div><div class="">      "  false"</div><div class="">      "fi"</div></div><div class=""><br class=""></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">What I mean is that we should either fix the tests, or describe precisely the scenario in which libcxx+libcxxabi is needed.... because it's not always needed. I suspect it's just needed when testing the sanitizers (but I might be wrong).<br class=""></blockquote><div class=""><br class=""></div><div class="">What if I s/mandatory on OS X, optional otherwise/required to run tests on OS X/ ?</div><div class=""><br class=""></div><div class="">-Y</div></div></div></div>
</div></blockquote></div><br class=""></body></html>