Bug 36054 - -export-symbols and -export-symbols-regex are not implemented properly for C++ code
Summary: -export-symbols and -export-symbols-regex are not implemented properly for C+...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libtool_2.4 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 36045
  Show dependency tree
 
Reported: 2019-02-06 23:58 MSK by Dmitry V. Levin
Modified: 2019-02-07 11:37 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry V. Levin 2019-02-06 23:58:29 MSK
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.
Comment 1 Dmitry V. Levin 2019-02-07 00:25:34 MSK
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
Comment 2 Repository Robot 2019-02-07 11:37:14 MSK
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).