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: Joe Buck <jbuck at synopsys dot COM>
- To: mark at codesourcery dot com (Mark Mitchell)
- Cc: nathan at codesourcery dot com (Nathan Sidwell),Franz dot Sirl-kernel at lauterbach dot com (Franz Sirl),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),gcc at gcc dot gnu dot org (gcc at gcc dot gnu dot org)
- Date: Mon, 3 Dec 2001 09:40:23 -0800 (PST)
- Subject: Re: GCC 3.0.3: Bugs to Fix
Franz Sirl wrote:
> >> What about PR3993? Another KDE2 blocking bug...
<nathan@codesourcery.com> wrote:
> > 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.
Mark Mitchell:
> 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.
But someone claimed that this problem doesn't exist in the 3.1 branch.
So how can that be right, if this is right? Or am I confused again?
Joe