This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0.3: Bugs to Fix
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, "hubbard at ilm dot com" <hubbard at ilm dot com>, "jyost at ilm dot com" <jyost at ilm dot com>, "kainz at ilm dot com" <kainz at ilm dot com>, "bramsh at acm dot org" <bramsh at acm dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 03 Dec 2001 09:21:38 -0800
- Subject: Re: GCC 3.0.3: Bugs to Fix
--On Monday, December 03, 2001 09:56:37 AM +0000 Nathan Sidwell
<nathan@codesourcery.com> wrote:
> Franz Sirl wrote:
>>
>> On Thursday 29 November 2001 22:53, Mark Mitchell wrote:
>> > Here are some bugs that it would be nice, although not imperative,
>> > to fix before 3.0.3:
>>
>> What about PR3993? Another KDE2 blocking bug...
> Is there a reason that dlopen ("foo", RTLD_NOW | RTLD_GLOBAL)
> is unacceptable?
>
> The ABI was designed on the assumption that it is possible at link
> or load time to collapse objects with the same name to a single address,
> and thus use address comparisons to determine equality. Loading without
> RTLD_GLOBAL break that.
When the ABI was designed, the committee made a conscious decision not
to support any kind of dynamic linking that did not merge names. I do
not think we should revisit this at this point.
Therefore, if that is what this bug concerns, the bug should simply
be closed with a note explaining the issue. For bonus points, an
entry should be added to the FAQ.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com