From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 10 17:44:01 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 3BD4E16A41F for ; Mon, 10 Oct 2005 17:44:01 +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 EBE9E43D45 for ; Mon, 10 Oct 2005 17:44:00 +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 C4A991A3C2C; Mon, 10 Oct 2005 10:44:00 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5BE8651A05; Mon, 10 Oct 2005 13:43:59 -0400 (EDT) Date: Mon, 10 Oct 2005 13:43:59 -0400 From: Kris Kennaway To: Claus Guttesen Message-ID: <20051010174358.GA34176@xor.obsecurity.org> References: <20051010072456.GA52280@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org, Kris Kennaway Subject: Re: /etc/make.conf flags for Intel 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: Mon, 10 Oct 2005 17:44:01 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 10, 2005 at 09:46:49AM +0200, Claus Guttesen wrote: > > > > Hey, how should I tune my /etc/make.conf file for my Intel Xeon (EM= 64) Box? > > > > Running 6.0 B5 > > > > > > march=3Dnocona > > You misspelled 'CPUTYPE' >=20 > My bad. >=20 > > > Change CFLAGS line from -O to -O2. > > > > It *is* the default. >=20 > /usr/share/examples/etc/make.conf is set to -O. The setting in trumps this documentation file, but you're right, this should be updated there. Could you please send a PR? > Copy /usr/share/examples/etc/make.conf to /etc if make.conf is > missing/empty and make the changes below. >=20 > CPUTYPE=3Dnocona > CFLAGS=3D -O2 -pipe > COPTFLAGS=3D -O2 -pipe COPTFLAGS=3D-O2 is a bad idea if your kernel panics and you need assistance, because it often munges the debugging backtraces to the point of uselessness. Kris --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDSqheWry0BWjoQKURAgbDAKCKisRTub6McMz61cHFbR+a35JgpwCgvGuW 6aBbF3SjRjYnz4jcYQjASWU= =ikak -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--