From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id A87553ED65 for ; Wed, 19 Mar 2003 02:25:34 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2J7PZX01516 for axp-list@listman.redhat.com; Wed, 19 Mar 2003 02:25:35 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2J7PYV01512 for ; Wed, 19 Mar 2003 02:25:34 -0500 Received: from dhcp212139.library.emory.edu (dhcp212139.library.emory.edu [170.140.212.139]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2J7PYQ19459 for ; Wed, 19 Mar 2003 02:25:34 -0500 Received: from localhost (js1@localhost) by dhcp212139.library.emory.edu (8.11.6/8.11.6) with ESMTP id h2J7PXD14496 for ; Wed, 19 Mar 2003 02:25:34 -0500 X-Authentication-Warning: dhcp212139.library.emory.edu: js1 owned process doing -bs Date: Wed, 19 Mar 2003 02:25:33 -0500 (EST) From: Jiann-Ming Su X-X-Sender: js1@dhcp212139.library.emory.edu To: axp-list@redhat.com Subject: Re: mozilla 1.3 rpms In-Reply-To: <20030318223939.45181f5b.ayoung@teleport.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Tue, 18 Mar 2003, Alan Young wrote: > > GCC 3.x changed the application binary interface (ABI) of the C++ > symbols. It is not compatible with GCC 2.x ABI format. > Mozilla does it's own resolving of the C++ function labels in the > shared libraries that it loads. This is in the xpcom logic in > mozilla/xpcom/reflect/xptcall directories. Stock mozilla only > supports GCC 2.x. The assembler code in the xptcall directories > are setup for that. When a GCC 3.x compiled mozilla is run, > most things work until mozilla trys to resolve one of the new > format function names or if it trys to call a vtable function. > Since the vtable offset changed and/or the symbol is probably not > getting resolved correcty, a bad address is loaded by the assembler > code. Depending on where the address points to, mozilla may run > and just do nothing or it spontaneously crashes - in my experience > anyway. The patch adds logic to the assembler code code to > recognize these differences when mozilla is compiled with GCC 3.x. > Okay, good info. I should probably try compiling with gcc-2.96 and see how that binary performs. -- Jiann-Ming Su js290@bellsouth.net "Convictions are more dangerous enemies of truth than lies." --F. Nietzche