KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC 3.0.3: Bugs to Fix]) (fwd)
Waldo Bastian
bastian@kde.org
Tue Dec 4 13:21:00 GMT 2001
On Tuesday 04 December 2001 04:40 am, Bernhard Rosenkraenzer wrote:
> FYI
>
> ---------- Forwarded message ----------
> Date: Mon, 3 Dec 2001 17:17:55 +0100
> From: Jakub Jelinek <jakub@redhat.com>
> To: <some-internal-list@redhat.com>
> Subject: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC
> 3.0.3: Bugs to Fix])
>
> Hi!
>
> If you want dynamic cast (and that's just one thing) to work with dlopen in
> gcc3+, you need to use RTLD_GLOBAL. (Don't get confused by Nathan not
> understanding what if and only if means).
That's pretty bad because loading (dlopen'ing) parts with RTLD_GLOBAL is
asking for trouble. There is no way that we can guarantee that one part
doesn't by chance use the same name for some class/symbols as another part,
since parts may get developed independently of each other.
We are already running into trouble with the flash plugin colliding with
OpenGL (both define "DisplayList") and things like this aren't helping the
situation.
The alternative, banning RTTI from KDE, isn't very attractive either.
Cheers,
Waldo
More information about the Gcc
mailing list