The first couple are too long to reference. I get this error when I try to compile clang++ -stdlib=libc++ ../main.cc ...
with clang and libc++ from the SVN.
Here's what works for me with the Ubuntu Vivid packages for clang and libc++:
clang++ -std=c++11 -stdlib=libc++
It is important that the object files come before the -l
flags, e.g. when you use exceptions. Obviously, this still will not link if you use libraries compiled against libstdc++ and use any STL types in those interfaces.