[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stdc++ symbol resolution on Solaris
From: |
hemant . ritu |
Subject: |
stdc++ symbol resolution on Solaris |
Date: |
Thu, 09 Aug 2007 07:06:18 -0700 |
User-agent: |
G2/1.0 |
We have a C++ shared library that statically links-in g++ 4.1.1 libstdc
++.a on Solaris 8. It is completely self-contained library; symbols
are resolved at link-time using the -Bdirect/-Bsymbolic option.
When this C++ shared library is loaded by an application (which has
pre-loaded g++ 3.2.3 libstdc++.so), the C++ symbols from the C++
shared library seem to get resolved to the C++ symbols from libstdc+
+.so. Given that the C++ shared library has been compiled w/ -Bdirect/-
Bsymbolic, this resolution seems to be unexpected. Any ideas?
- stdc++ symbol resolution on Solaris,
hemant . ritu <=