From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 21 22:09:54 2008 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 149E016A498; Mon, 21 Jan 2008 22:09:54 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 88B3D13C45A; Mon, 21 Jan 2008 22:09:53 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.1/8.14.1/ALCHEMY.FRANKEN.DE) with ESMTP id m0LM9pCp040713; Mon, 21 Jan 2008 23:09:51 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.1/8.14.1/Submit) id m0LM9pYi040712; Mon, 21 Jan 2008 23:09:51 +0100 (CET) (envelope-from marius) Date: Mon, 21 Jan 2008 23:09:50 +0100 From: Marius Strobl To: Joe Marcus Clarke Message-ID: <20080121220950.GA38360@alchemy.franken.de> References: <477AC2A4.8080708@sasktel.net> <20080117213604.GA91984@alchemy.franken.de> <1200698886.67472.85.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1200698886.67472.85.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.3i Cc: gnome@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: Seamonkey core dumps at start in nsACString_internal::~nsACString_internal X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 22:09:54 -0000 On Fri, Jan 18, 2008 at 06:28:06PM -0500, Joe Marcus Clarke wrote: > > On Thu, 2008-01-17 at 22:36 +0100, Marius Strobl wrote: > > On Tue, Jan 01, 2008 at 02:45:56PM -0800, Stephen Hurd wrote: > > > The current Seamonkey port is core dumping for me in > > > nsACString_internal::~nsACString_internal > > > > > > My options were: > > > # This file is auto-generated by 'make config'. > > > # No user-servicable parts inside! > > > # Options for seamonkey-1.1.7 > > > _OPTIONS_READ=seamonkey-1.1.7 > > > WITH_MAILNEWS=true > > > WITH_COMPOSER=true > > > WITHOUT_LDAP=true > > > WITH_CHATZILLA=true > > > WITH_JAVASCRIPT_DEBUGGER=true > > > WITHOUT_SMB=true > > > WITHOUT_DEBUG=true > > > WITHOUT_LOGGING=true > > > WITH_OPTIMIZED_CFLAGS=true > > > > > > Anyone have a set of options that does work? I expect that > > > WITHOUT_DEBUG and WITH_OPTIMIZED_CFLAGS at the very least should be frobbed. > > > > This seems to be due to a miscompilation or mislinkage problem > > causing two nsObsoleteAString::sCanonicalVTable and two > > nsObsoleteACString::sCanonicalVTable symbols shadowing each-other > > respectively. To me this smells a a least bit like "you get what > > you asked for" though; I'm surprised their string code actually > > works somewhere. See the attachement for a patch that works around > > the problem by omitting the code in question. > > Dear gnome@ maintainers, could you please commit the attached > > patch and bump the PORTREVISIONs of the affected ports (the > > problem also affects at least www/firefox) or approve committing > > such a change? > > Approved! Thanks! > Does this also apply to other Gecko ports, or just seamonkey? It's known to affect at least firefox and seamonkey, though the other xpcom consumers are also most likely affected. Marius