https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63781
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu.org --- Comment #8 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- As far as I understand, libitm is supposed to be used with either C or C++. As such, it contains some C++ code which requires libstdc++, but doesn't link to it by default. That way, if someone compiles C code with libitm, it doesn't use need the C++ libitm code, and doesn't pull libstdc++. And when one compiles C++ code, libstdc++ is linked in anyway, so it's no problem. In short, I'm afraid I don't understand what you think the problem is :) Do you have a "real" testcase that fails to link?