Hi Alexey Skidanov,
> Do you mean that these two versions [of libstdc++.so] are binary
incompatible?
No.
The C++ ABI itself is binary incompatible between GCC 3.4 and GCC 4.1.
Any libstdc++.so built with GCC 3.4 will have GCC 3.4 C++ ABI, and hence
incompatible with GCC 4.1. And vice versa.
The ABI is such things as: what order parameters are pushed on the
stack. How exception handling is done, including stack unwinding. How
names are mangled. Which registers are used. Whether the caller or
callee is responsible for cleaning the stack. The byte sizes of the
data types (char, short, int, long, wchar_t, bool, float, double, and
sometimes long long). Padding. Alignment.
Nothing to do with libstd++.so being version 6.0.3 or 6.0.8. Everything
to do with whether 6.0.3 or 6.0.8 was built with GCC 3.4 or GCC 4.1.
HTH,
--Eljay