From owner-freebsd-gnome@FreeBSD.ORG Thu Nov 20 15:54:43 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98EB216A4CE for ; Thu, 20 Nov 2003 15:54:43 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 764A043FEA for ; Thu, 20 Nov 2003 15:54:41 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])hAKNscne034156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 Nov 2003 18:54:40 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) hAKNsPaJ083311; Thu, 20 Nov 2003 18:54:26 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: mi+mx@aldan.algebra.com Organization: Virtual Estates, Inc. To: Joe Marcus Clarke Date: Thu, 20 Nov 2003 18:54:24 -0500 User-Agent: KMail/1.5.3 References: <200311201454.56022@misha-mx.virtual-estates.net> <200311201511.08686@misha-mx.virtual-estates.net> <1069359499.783.65.camel@gyros> In-Reply-To: <1069359499.783.65.camel@gyros> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311201854.24666@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) cc: FreeBSD GNOME Users Subject: Re: Mozilla's xptcall X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 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, 20 Nov 2003 23:54:43 -0000 On Thu, 2003-11-20 at 15:11, mi+mx@aldan.algebra.com wrote: => On Thu, 2003-11-20 at 14:54, mi+mx@aldan.algebra.com wrote: => =mozilla and mozilla-devel build fine with -O2. => => regxpcom usually crashes for me unless built with -O. But I'm using => -march=pentium4 and -fomit-frame-pointer. =It's not the optimization level, but rather -march=pentium4 that causes =problems with Mozilla. This is a known issue. The patch I submitted will make this knowledge usefull to others and save everyone with the CPUTYPE defined the few hours I wasted on this yesterday. Please, consider. Thank you, =Everyone that has brought up compilation issues or crashers with Mozilla =has been pointed back to /etc/defaults/make.conf to read the section on =default CFLAGS. I think, committing my patch (with modification if need be) is much better. It lets people better optimize the rest of mozilla for their hardware and saves frustration and time spent dealing with the problem and e-mailing for support. The patch will definetly not do harm, as it will not change the default case (even bumping PORTREVISION is not needed). =However, -O2 has been tested, and does work. I did not use -O2... =There is even an option to enable it in the Mozilla Makefiles. [BTW, how about an option to use -lthr instead of -lc_r? I built Qt/KDE with that and it works terrific on a dual CPU machine).] =However, I do not think this was ever tested on mozilla-vendor, so you =may have something there. In that case, this would need to be applied =to OpenOffice as they have the last remaining mozilla-vendor bits. Yours, -mi