libtool properly implements -export-symbols option for C code by generating a version script. This is not the case for C++ where libtool erroneously falls back to using unsuitable ld -retain-symbols-file option. It should use the same method for C++ code instead.
This affects at least the following packages: arm-none-eabi-gcc-7.3.1-alt3 atril-gtk-1.21.1-alt1 audiofile-0.3.6-alt3 avr-gcc-1:7.2.0-alt1_1 calf-0.90.1-alt2 ctemplate-2.3-alt1.svn20140319.1 dirac-1.0.2-alt2.1 gcc5-5.3.1-alt5.1 gcc6-6.3.1-alt3.1 gcc7-7.3.1-alt7 gcc8-8.2.1-alt3 gperftools-2.6.3-alt1 libextractor-1.8-alt1 librarian-0.8.1-alt6 libschroedinger-1.0.11-alt1 libvidcap-0.2.1-alt1_18 scim-anthy-1.2.7-alt3 scim-array-1.0.1-alt1.qa2 scim-hangul-0.3.2-alt1.2.qa1_24 scim-m17n-0.2.3-alt2.qa1 scim-pinyin-0.5.92-alt2.qa1 scim-thai-0.1.3-alt1_5 unixODBC-compat-2.2.12-alt11 xfce4-hardware-monitor-plugin-1.6.0-alt1 xmms-in-cdparanoia-0.1-alt3.qa1 xmms-in-mac-0.3.1-alt3.qa1
libtool_2.4-2.4.2-alt8 -> sisyphus: Wed Feb 06 2019 Dmitry V. Levin <ldv@altlinux> 2.4.2-alt8 - libtool.m4: fixed -export-symbols option for C++ code (closes: #36054).