This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for throw/catch problems
- To: Richard Henderson <rth at redhat dot com>, David Lampell <david dot lampell at smarts dot com>
- Subject: Re: Patch for throw/catch problems
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 13 Aug 2001 20:29:41 -0700
- cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
--On Monday, August 13, 2001 04:25:31 PM -0700 Richard Henderson
<rth@redhat.com> wrote:
> That said, I can guess what the problem might be, since I've
> brought up the issue here before. Mark, Jason, is this
> commentary enough to jog your memory, or should I go track
> down the original discussions?
Oh, I understand that problem... :-)
You might want to look at the ABI web-site and see if the mailing list
archives say anything about this. I remember the committee discussing
this issue, and I thought that the consensus was to ban RTLD_LOCAL
in conjunction with C++. This is probably not the only place where
various parts of the ABI could/do stop working if you use RTLD_LOCAL.
For example, static data members probably won't get shared, and
neither will local static objects in template instantiations, for
example. I think the argument was that given all the problems, it
was better just to ban this usage, and then go fast by depending
on the pointer equality trick.
I don't remember what side I was on in this discussion or what Jason
thought.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com