From bug #327575: I tried to build Boost.Thread with clang and it looks like clang can't find #include <cxxabi.h> in file ($BOOST_ROOT)/boost/exception/detail/type_info.hpp:18 After checking on my system, this file is located in /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include The directory is not present in clang executable. As the header is included C-style (with .h), clang may filter it out (the USE flag only sets C++ headers path)
(In reply to comment #0) Yes, just to be precise, I built "clang" with the system-cxx-headers USE flag. It might not be obvious reading my previous post.
Without system-cxx-headers, you would not have gone that far ;) I found the problem, clang also has a --with-c-include-dirs option, which needs a GCC correct path. clang-2.8-r2 now sets it, and emerge with clang now goes to the end Thanks for the report!
(In reply to comment #2) Many thx for the fix Bernard :)