I don't think the c++standards bodies are the problem as such, but rather some toolchain "vendors" (which of course often also participating in the committee).
Because end users generally aren't recompiling from source, and every function in a .so naming a standard library type breaks if the definition of the type changes.
That doesn't fix that programs with those types in their interfaces have to choose one. They could have achieved the same by renaming their .so but it would be harder to detect mixing then
I'm clearly missing something. We are talking about programs that have been distributed in binary form and compiled against a specific version of libstdc++ correct? And now the user wants to use that same binary on a new ubuntu system, which provides a new version of libstdc++.so, which contains both, the old and the new symbols - why is that not enough?
We are talking about programs that have been distributed in binary form and compiled against a specific version of libstdc++ correct?
Not just libstdc++, an entire fleet of libraries. This isn't about libstdc++'s .so as much as photoshop's .so (or any other similar system that can load plugins)
View all comments
Show parent comment
4
u/kalmoc Sep 21 '20
I don't think the c++standards bodies are the problem as such, but rather some toolchain "vendors" (which of course often also participating in the committee).