From owner-freebsd-amd64@FreeBSD.ORG Sun Oct 9 04:58:46 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AC6916A420 for ; Sun, 9 Oct 2005 04:58:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE5E43D45 for ; Sun, 9 Oct 2005 04:58:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [70.30.70.180]) by elvis.mu.org (Postfix) with ESMTP id 8402A1A3C1B; Sat, 8 Oct 2005 21:58:45 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 95B88513EE; Sun, 9 Oct 2005 00:58:43 -0400 (EDT) Date: Sun, 9 Oct 2005 00:58:43 -0400 From: Kris Kennaway To: ray@redshift.com Message-ID: <20051009045843.GA93028@xor.obsecurity.org> References: <3.0.1.32.20051008202606.00a74ba8@pop.redshift.com> <3.0.1.32.20051008202606.00a74ba8@pop.redshift.com> <3.0.1.32.20051008215252.00a74ba8@pop.redshift.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <3.0.1.32.20051008215252.00a74ba8@pop.redshift.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org, Kris Kennaway Subject: Re: /etc/make.conf X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 04:58:46 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 08, 2005 at 09:52:52PM -0700, ray@redshift.com wrote: > At 11:53 PM 10/8/2005 -0400, Kris Kennaway wrote: > | On Sat, Oct 08, 2005 at 08:26:06PM -0700, ray@redshift.com wrote: > | > Hi, > | >=20 > | > anyone have any settings for CPUTYPE and CFALGS in /etc/make.conf w= hen > running > | > AMD64 5.4-release on a dual AMD Opteron server? I'm moving over from= i386, so > | > just want to make sure I get the right stuff in there before compiling > | > everything. I'm thinking something along these lines:=20 > | >=20 > | > CPUTYPE=3Dk8 > | > CFLAGS=3D-O2 -pipe -funroll-loops march=3Dk8 > |=20 > | Don't try to use elite home-grown CFLAGS unless you know precisely > | what you're doing. Just set CPUTYPE and use the default CFLAGS. > |=20 > | Kris > |=20 > | Attachment Converted: "c:\eudora2\ATTACH\Re etcmake.conf" > |=20 >=20 > I set CPUTYPE=3Dopteron and CFLAGS=3D-O2 -pipe -funroll-loops >=20 > seems to be working well. Thanks! OK, so you chose to ignore my advice. When you run into problems, please remember not to report them before reverting to the default CFLAGS setting. Kris --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDSKODWry0BWjoQKURAnUxAJ4ovNZfxxfKtTK8n+Yi2ytURRy1TwCfWRBE RH4w6AfWEwgSxcjuNzW6Jmw= =EtDi -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--