This is a strange issue; this works for me
clang -o hello hello.cpp -lstdc++
.
clang -o hello hello.cpp -lstdc++
.