GCC 3.0.3: Bugs to Fix

Mark Mitchell mark@codesourcery.com
Mon Dec 3 09:27:00 GMT 2001



--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



More information about the Gcc mailing list