2020-04-29

supertux -- CXXABI - ABI Policy and Guidelines



ABI Policy and Guidelines
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
3. Release versioning on the libstdc++.so binary,
It is versioned as follows:
GCC 4.6.0: libstdc++.so.6.0.15
GCC 4.6.1: libstdc++.so.6.0.16
GCC 4.7.0: libstdc++.so.6.0.17
GCC 4.8.0: libstdc++.so.6.0.18
GCC 4.8.3: libstdc++.so.6.0.19
GCC 4.9.0: libstdc++.so.6.0.20
GCC 5.1.0: libstdc++.so.6.0.21
GCC 6.1.0: libstdc++.so.6.0.22
GCC 7.1.0: libstdc++.so.6.0.23
GCC 7.2.0: libstdc++.so.6.0.24
GCC 8.0.0: libstdc++.so.6.0.25
GCC 9.1.0: libstdc++.so.6.0.26
GCC 9.2.0: libstdc++.so.6.0.27
GCC 9.3.0: libstdc++.so.6.0.28

4. Symbol versioning on the libstdc++.so binary.

GCC 4.6.0: GLIBCXX_3.4.15, CXXABI_1.3.5
GCC 4.6.1: GLIBCXX_3.4.16, CXXABI_1.3.5
GCC 4.7.0: GLIBCXX_3.4.17, CXXABI_1.3.6
GCC 4.8.0: GLIBCXX_3.4.18, CXXABI_1.3.7
GCC 4.8.3: GLIBCXX_3.4.19, CXXABI_1.3.7
GCC 4.9.0: GLIBCXX_3.4.20, CXXABI_1.3.8
GCC 5.1.0: GLIBCXX_3.4.21, CXXABI_1.3.9
GCC 6.1.0: GLIBCXX_3.4.22, CXXABI_1.3.10
GCC 7.1.0: GLIBCXX_3.4.23, CXXABI_1.3.11
GCC 7.2.0: GLIBCXX_3.4.24, CXXABI_1.3.11
GCC 8.0.0: GLIBCXX_3.4.25, CXXABI_1.3.11
GCC 9.0.0: GLIBCXX_3.4.26, CXXABI_1.3.11

slitaz-cooking
$ strings libstdc\+\+.so.6.0.16 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBC_2.0
GLIBC_2.3
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.1
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

$ strings libboost_locale.so.1.69.0 | grep GLIBCXX
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.7
GLIBCXX_3.4

VS.


slitaz-next

$ strings libboost_locale.so.1.68.0 | grep GLIBCXX | head
GLIBCXX_3.4.20
GLIBCXX_3.4.9
GLIBCXX_3.4.11
GLIBCXX_3.4.7
GLIBCXX_3.4
GLIBCXX_3.4.21
_ZNSt7__cxx1110moneypunctIcLb1EE24_M_initialize_moneypunctEP15__locale_structPKc@@GLIBCXX_3.4.21
_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecPKv@@GLIBCXX_3.4
_ZNSt7codecvtIcc11__mbstate_tEC2Ej@@GLIBCXX_3.4
_ZTINSt7__cxx117collateIwEE@@GLIBCXX_3.4.21

$ strings /usr/lib/libstdc\+\+.so.6.0.24 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.18
GLIBC_2.16
GLIBC_2.17
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH