From: Jiann-Ming Su <js290@bellsouth.net>
To: axp-list@redhat.com
Subject: Re: mozilla 1.3 rpms
Date: Wed, 19 Mar 2003 02:25:33 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0303190224400.14484-100000@dhcp212139.library.emory.edu> (raw)
In-Reply-To: <20030318223939.45181f5b.ayoung@teleport.com>
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
next prev parent reply other threads:[~2003-03-19 7:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-16 1:09 Cheap hardware jon_on_alpha
2003-03-16 15:33 ` Iwao Makino
2003-03-16 16:03 ` Cheap hardware/clarification jon_on_alpha
2003-03-18 4:17 ` mozilla 1.3 rpms Jiann-Ming Su
2003-03-18 5:01 ` John Weez
2003-03-18 7:53 ` Alan Young
2003-03-19 6:04 ` Jiann-Ming Su
2003-03-19 6:39 ` Alan Young
2003-03-19 7:25 ` Jiann-Ming Su [this message]
2003-03-22 16:49 ` Jiann-Ming Su
2003-03-22 17:54 ` Alan Young
2003-03-23 0:03 ` Jiann-Ming Su
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox