From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 17 22:11:24 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6870B16A419 for ; Thu, 17 Jan 2008 22:11:24 +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 0729C13C45A for ; Thu, 17 Jan 2008 22:11:23 +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 m0HLa4RT092350; Thu, 17 Jan 2008 22:36:04 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.1/8.14.1/Submit) id m0HLa49Z092349; Thu, 17 Jan 2008 22:36:04 +0100 (CET) (envelope-from marius) Date: Thu, 17 Jan 2008 22:36:04 +0100 From: Marius Strobl To: Stephen Hurd Message-ID: <20080117213604.GA91984@alchemy.franken.de> References: <477AC2A4.8080708@sasktel.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <477AC2A4.8080708@sasktel.net> 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-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 22:11:24 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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? Marius --ZPt4rx8FFjLCG7dd Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="Makefile.common.diff" Index: Makefile.common =================================================================== RCS file: /usr/data/bsd/cvs/fbsd/ports/www/mozilla/Makefile.common,v retrieving revision 1.29 diff -u -r1.29 Makefile.common --- Makefile.common 6 Aug 2007 14:01:57 -0000 1.29 +++ Makefile.common 17 Jan 2008 20:39:24 -0000 @@ -249,6 +249,11 @@ LIB_BZ2= -lbz2 .endif +.if ${ARCH}=="sparc64" +# Work around miscompilation/mislinkage of the sCanonicalVTable hacks. +MOZ_OPTIONS+= --disable-v1-string-abi +.endif + post-patch: gecko-post-patch gecko-moz-pis-patch gecko-post-patch: --ZPt4rx8FFjLCG7dd--