From owner-freebsd-gnome@FreeBSD.ORG Thu Nov 20 18:26:05 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 E63F716A4CE for ; Thu, 20 Nov 2003 18:26:04 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5489E43FBD for ; Thu, 20 Nov 2003 18:26:03 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hAL2Pwse009557; Thu, 20 Nov 2003 21:25:58 -0500 (EST) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) hAL2PTuY036404; Thu, 20 Nov 2003 21:25:29 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: mi+mx@aldan.algebra.com In-Reply-To: <200311201854.24666@misha-mx.virtual-estates.net> References: <200311201454.56022@misha-mx.virtual-estates.net> <200311201511.08686@misha-mx.virtual-estates.net> <1069359499.783.65.camel@gyros> <200311201854.24666@misha-mx.virtual-estates.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dnY0XT9lHS+9PG8fKGj1" Organization: MarcusCom, Inc. Message-Id: <1069381546.93149.68.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 20 Nov 2003 21:25:47 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com 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: Fri, 21 Nov 2003 02:26:05 -0000 --=-dnY0XT9lHS+9PG8fKGj1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-11-20 at 18:54, mi+mx@aldan.algebra.com wrote: > On Thu, 2003-11-20 at 15:11, mi+mx@aldan.algebra.com wrote: > =3D> On Thu, 2003-11-20 at 14:54, mi+mx@aldan.algebra.com wrote: > =20 > =3D> =3Dmozilla and mozilla-devel build fine with -O2. > =3D>=20 > =3D> regxpcom usually crashes for me unless built with -O. But I'm using > =3D> -march=3Dpentium4 and -fomit-frame-pointer. >=20 > =3DIt's not the optimization level, but rather -march=3Dpentium4 that cau= ses > =3Dproblems with Mozilla. This is a known issue. >=20 > 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, I think this patch will work. Except it would be nice to preserve the -Ox level. > =3DEveryone that has brought up compilation issues or crashers with Mozil= la > =3Dhas been pointed back to /etc/defaults/make.conf to read the section o= n > =3Ddefault CFLAGS. >=20 > I think, committing my patch (with modification if need be) is much bette= r. > 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 f= or > support. The patch will definetly not do harm, as it will not change the > default case (even bumping PORTREVISION is not needed). Agreed. Can you come up with something that keeps, for example, -O2 if that's specified? >=20 > =3DHowever, -O2 has been tested, and does work. >=20 > I did not use -O2... >=20 > =3DThere is even an option to enable it in the Mozilla Makefiles. >=20 > [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).] I've fixed all the explicit references to -pthread, you you should just have to set PTHREAD_LIBS to -lthr, and off you go. Joe >=20 > =3DHowever, I do not think this was ever tested on mozilla-vendor, so you > =3Dmay have something there. In that case, this would need to be applied > =3Dto OpenOffice as they have the last remaining mozilla-vendor bits. >=20 > Yours, >=20 > -mi >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-dnY0XT9lHS+9PG8fKGj1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/vXeqb2iPiv4Uz4cRAjtzAKCSxXQbl9/CAoiOahgHv8XGOTt7swCeOjtR ogbmrUuKT4iCTTah0lAiUcU= =51sy -----END PGP SIGNATURE----- --=-dnY0XT9lHS+9PG8fKGj1--