From owner-freebsd-gnome@FreeBSD.ORG Sun May 1 21:05:42 2005 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 E3DBC16A4CE for ; Sun, 1 May 2005 21:05:42 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBC143D45 for ; Sun, 1 May 2005 21:05:42 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j41L60hW092204; Sun, 1 May 2005 17:06:00 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Stuart Chalmers In-Reply-To: <20050501210230.20876.qmail@web50205.mail.yahoo.com> References: <20050501210230.20876.qmail@web50205.mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DPWhXIngbMAA4fPtIWEy" Organization: MarcusCom, Inc. Date: Sun, 01 May 2005 17:05:23 -0400 Message-Id: <1114981523.60197.29.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port cc: freebsd-gnome@freebsd.org Subject: Re: CPUTYPE and CFLAGS when building Gnome 2.10.1 on FreeBSD 5.4 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: Sun, 01 May 2005 21:05:43 -0000 --=-DPWhXIngbMAA4fPtIWEy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-05-01 at 22:02 +0100, Stuart Chalmers wrote: > Hi. >=20 > I'm going to be rebuilding Gnome 2.10.1 from ports > once FreeBSD 5.4 is released. It's all too easy to > get too involved with CPUTYPE and CFLAGS in > /etc/make.conf, but I was wondering what the general > opinion/experience on these was when building Gnome. Use the default, and you will not encounter any problems. >=20 > I'm less concerned with CFLAGS as the 'standard' > advice seems to be that moving from -O to -02 has > little effect, but is changing CPUTYPE likely to make > much difference in performance? Is there a 'highest' > (i.e. newest) CPUTYPE (say, i686) that I can use > before the Gnome ports start failing to build or > become unstable during runtime. Actually, changing CFLAGS to -O2 has a huge effect. IF you do that (knowing it's unsupported), you will also have to add -fno-strict-aliasing. As for CPUTYPE, I had luck with p3 in the past, but I have since reverted to the default. All Pentium 4 types are known to cause problems as are some Athlon types. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-DPWhXIngbMAA4fPtIWEy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCdUSTb2iPiv4Uz4cRAmidAKCrSR+l/WWNggaQjrSK4WiZ4xdiiwCeLlp/ 0ncguoYM7jfFtSxD10glwk4= =Pap7 -----END PGP SIGNATURE----- --=-DPWhXIngbMAA4fPtIWEy--