Recently, I saw a C++ program list both libstdc++ and libc++ in its dynamic section (readelf -d).
I’m confused because one is from GNU and the other from LLVM and they are both implementations of the STL. Then how can a program link both? What’s that mean?
How does it resolve a symbol (std::string, for example) that both provide, when linking?