[bug-notifications] [gcc4g++rt 0003694]: libstdc++.so.6.0.10 doesn't see libgcc_s.so.1
Mantis Bug Tracker
noreply at opencsw.org
Thu Mar 4 02:57:01 CET 2010
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=3694
======================================================================
Reported By: kamilradz
Assigned To: mwatters
======================================================================
Project: gcc4g++rt
Issue ID: 3694
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2009-05-29 10:20 CEST
Last Modified: 2010-03-04 02:57 CET
======================================================================
Summary: libstdc++.so.6.0.10 doesn't see libgcc_s.so.1
Description:
/opt/csw/gcc4/lib/libstdc++.so.6.0.10 looks for libgcc_s.so.1 dependency in
system runtime linking environment, instead of linking to
/opt/csw/gcc4/lib/libgcc_s.so.1
======================================================================
----------------------------------------------------------------------
(0007596) hson (reporter) - 2010-03-04 02:57
http://www.opencsw.org/mantis/view.php?id=3694#c7596
----------------------------------------------------------------------
Well, the problem isn't that small.
As seen below, a binary, correctly linked to libstdc++ with correct
RUNPATH, can't find libgcc_s.so.1
ldd mono/mini/mono
/usr/lib/secure/s8_preload.so.1
libstdc++.so.6 => /opt/csw/gcc4/lib/libstdc++.so.6
libgthread-2.0.so.0 => /opt/csw/lib/sparcv8/libgthread-2.0.so.0
libthread.so.1 => /usr/lib/libthread.so.1
libglib-2.0.so.0 => /opt/csw/lib/sparcv8/libglib-2.0.so.0
libintl.so.8 => /opt/csw/lib/sparcv8/libintl.so.8
librt.so.1 => /usr/lib/librt.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libxnet.so.1 => /usr/lib/libxnet.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libm.so.1 => /usr/lib/libm.so.1
libsunmath.so.1 => /opt/csw/lib/sparcv8/libsunmath.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => (file not found)
libiconv.so.2 => /opt/csw/lib/sparcv8/libiconv.so.2
libsec.so.1 => /usr/lib/libsec.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
>dump -Lv mono/mini/mono
mono/mini/mono:
**** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag Value
[1] NEEDED libstdc++.so.6
[2] NEEDED libgthread-2.0.so.0
[3] NEEDED libthread.so.1
[4] NEEDED libglib-2.0.so.0
[5] NEEDED libintl.so.8
[6] NEEDED librt.so.1
[7] NEEDED libdl.so.1
[8] NEEDED libsocket.so.1
[9] NEEDED libnsl.so.1
[10] NEEDED libxnet.so.1
[11] NEEDED libpthread.so.1
[12] NEEDED libm.so.1
[13] NEEDED libsunmath.so.1
[14] NEEDED libc.so.1
[15] INIT 0x1e1058
[16] FINI 0x1e1074
[17] RUNPATH
/opt/csw/gcc4/lib:/opt/csw/X11/lib/$ISALIST:/opt/csw/X11/lib:/opt/csw/lib/$ISALIST:/opt/csw/lib
[18] RPATH
/opt/csw/gcc4/lib:/opt/csw/X11/lib/$ISALIST:/opt/csw/X11/lib:/opt/csw/lib/$ISALIST:/opt/csw/lib
More information about the bug-notifications
mailing list