This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Minimal GCC/Linux shared lib + EH bug example
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>, David Abrahams <david dot abrahams at rcn dot com>
- Cc: "python-dev at python dot org" <python-dev at python dot org>, "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>, "Martin v. Loewis" <martin at v dot loewis dot de>
- Date: Sun, 12 May 2002 11:29:44 -0700
- Subject: Re: Minimal GCC/Linux shared lib + EH bug example
> I find this testcase somewhat persuasive, as the offending dlopen call is
> not in the C++ code. What do others think?
I agree with your other statement: RTLD_LOCAL and C++ don't really make
sense.
I think we're running down a slippery slope; once EH works, people
*will* wonder why things involving inlines and templates don't.
If, for example, you have *two* Python modules in C++, each of which
uses a nice package for managing global resources, and you can load
either module just fine, but loading both causes subtle runtime
problems, ...
We will have given people a bigger bazooka, but it will be aimed at
their own feet.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com