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 488043EA26 for ; Wed, 19 Mar 2003 01:40:20 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2J6eK028113 for axp-list@listman.redhat.com; Wed, 19 Mar 2003 01:40:20 -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 h2J6eKV28109 for ; Wed, 19 Mar 2003 01:40:20 -0500 Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2J6eKQ13108 for ; Wed, 19 Mar 2003 01:40:20 -0500 Received: from fish.marketsquarehero.org ([4.47.71.95]) by pop016.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030319064014.BELL8278.pop016.verizon.net@fish.marketsquarehero.org> for ; Wed, 19 Mar 2003 00:40:14 -0600 Date: Tue, 18 Mar 2003 22:39:39 -0800 From: Alan Young To: axp-list@redhat.com Subject: Re: mozilla 1.3 rpms Message-Id: <20030318223939.45181f5b.ayoung@teleport.com> In-Reply-To: References: <20030317235351.041372e7.ayoung@teleport.com> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; alphaev56-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop016.verizon.net from [4.47.71.95] at Wed, 19 Mar 2003 00:40:14 -0600 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 X-Reply-To: ayoung@teleport.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, 19 Mar 2003 01:04:11 -0500 (EST) Jiann-Ming Su wrote: > > I haven't tried that patch, I don't think. But, wouldn't that problem > cause the code not to compile and link properly at all? The rpm builds > I've been doing seem to complete successfully. > If you have not applied the patch mozilla will compile, but it will not run correctly. 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. Alan