Date: Thu, 17 Jan 2008 22:36:04 +0100 From: Marius Strobl <marius@alchemy.franken.de> To: Stephen Hurd <shurd@sasktel.net> Cc: gnome@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: Seamonkey core dumps at start in nsACString_internal::~nsACString_internal Message-ID: <20080117213604.GA91984@alchemy.franken.de> In-Reply-To: <477AC2A4.8080708@sasktel.net> References: <477AC2A4.8080708@sasktel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080117213604.GA91984>
