From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11682 invoked by alias); 3 Dec 2001 20:06:15 -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 11638 invoked from network); 3 Dec 2001 20:06:12 -0000 Received: from unknown (HELO gandalf.codesourcery.com) (66.60.148.227) by sources.redhat.com with SMTP; 3 Dec 2001 20:06:12 -0000 Received: from gandalf.codesourcery.com (IDENT:mitchell@localhost [127.0.0.1]) by gandalf.codesourcery.com (8.11.6/8.11.6) with ESMTP id fB3K0M818035; Mon, 3 Dec 2001 12:00:22 -0800 Date: Mon, 03 Dec 2001 12:06:00 -0000 From: Mark Mitchell To: Florian Kainz cc: Nathan Sidwell , Franz Sirl , "hubbard@ilm.com" , "jyost@ilm.com" , "bramsh@acm.org" , "gcc@gcc.gnu.org" Subject: Re: GCC 3.0.3: Bugs to Fix Message-ID: <118260000.1007409622@gandalf.codesourcery.com> In-Reply-To: <3C0BDA84.15024A6C@lucasdigital.com> X-Mailer: Mulberry/2.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-SW-Source: 2001-12/txt/msg00074.txt.bz2 > But > > dlopen ("foo", RTLD_NOW | RTLD_GLOBAL) > > should work, right? Well, it doesn't; dynamic_cast still > returns 0 when it shouldn't, at least with gcc-3.0.2 and > gcc-3.0.1. Yes, that should work. > Bug #4292 has already been closed, so I am going to re-submit > it, with an updated example that uses RTLD_GLOBAL. Thanks. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com