This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Duplicate data objects in shared libraries
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: "Martin v. Loewis" <martin at v dot loewis dot de>, David Abrahams <david dot abrahams at rcn dot com>, "H . J . Lu" <hjl at lucon dot org>, "drepper at redhat dot com" <drepper at redhat dot com>, "Ralf W. Grosse-Kunstleve" <rwgk at cci dot lbl dot gov>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 20 May 2002 09:38:49 -0700
- Subject: Re: Duplicate data objects in shared libraries
> A good point, though we could handle this by decorating the RTTI name for
> S with the unnamed namespace qualifier. I suppose this sort of thing is
> what leads people to want to remove internal linkage entirely.
We're clearly in the land of corner cases, but changing the RTTI name for
S would be an incompatible ABI change.
I'm not sure what to say here overall.
I guess my top-level opinion is that this is a good discussion, but that
we should keep it as a discussion -- rather than an implementation -- for
some time to come. We should bring in other vendors too; if we do one
thing, and HP and IBM and Sun and EDG and so forth and so on do another,
that won't be good for people.
I guess I think we have bigger fish to fry than making RTLD_LOCAL work
with C++... :-)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com