This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problem with `string', threading and shared libraries.
- To: gcc-bugs at gcc dot gnu dot org, carlo at alinoe dot com, libstdc++ at gcc dot gnu dot org
- Subject: Re: Problem with `string', threading and shared libraries.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 28 Sep 2001 12:31:20 -0700
Hey Carlos. Good question. I don't see how it's possible, currently. I
suspect the default allocator design (mangling) should be changed, so
this is not an issue. That's my own personal preference though.
Loren might have some ideas. Gaby wanted to actually version the
shared library (using ELF versioning, I'm assuming)
http://www.cygnus.com/~drepper/symbol-versioning
In any case, the documentation should address this point.
I believe there are other macros that also switch the ABI (USE_MALLOC,
for instance.) There is also the troubling bug report in GNATS about
libtool-related versioning symbols changing between minor releases...
This is a discussion that libstdc++@gcc.gnu.org should probably be cc'd on.
Versioning wasn't something that was in the gcc-3.0 release: it has to
be in gcc-3.1.
-benjamin