From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4375 invoked by alias); 4 Dec 2001 21:21:51 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 4322 invoked from network); 4 Dec 2001 21:21:48 -0000 Received: from unknown (HELO linux.local) (64.164.37.215) by sources.redhat.com with SMTP; 4 Dec 2001 21:21:48 -0000 Received: from wantelbos (wantelbos.local [192.168.0.2]) by linux.local (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id fB4LHCl03492; Tue, 4 Dec 2001 13:17:12 -0800 Message-Id: <200112042117.fB4LHCl03492@linux.local> Content-Type: text/plain; charset="iso-8859-1" From: Waldo Bastian To: kde-core-devel@mail.kde.org Subject: Re: KDE hackers, please read (was [nathan@codesourcery.com: Re: GCC 3.0.3: Bugs to Fix]) (fwd) Date: Tue, 04 Dec 2001 13:21:00 -0000 X-Mailer: KMail [version 1.3.7] References: In-Reply-To: Cc: gcc@gcc.gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2001-12/txt/msg00169.txt.bz2 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 > To: > 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=20 asking for trouble. There is no way that we can guarantee that one part=20 doesn't by chance use the same name for some class/symbols as another part,= =20 since parts may get developed independently of each other. We are already running into trouble with the flash plugin colliding with=20 OpenGL (both define "DisplayList") and things like this aren't helping the= =20 situation. The alternative, banning RTTI from KDE, isn't very attractive either. Cheers, Waldo