From owner-freebsd-stable@FreeBSD.ORG Tue Sep 12 19:39:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 004FA16A47E for ; Tue, 12 Sep 2006 19:39:32 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D0A243D70 for ; Tue, 12 Sep 2006 19:39:30 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060912193915m9100smpuie>; Tue, 12 Sep 2006 19:39:15 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k8CJcwlN049675; Tue, 12 Sep 2006 14:38:58 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k8CJcvdN049667; Tue, 12 Sep 2006 14:38:57 -0500 (CDT) (envelope-from brooks) Date: Tue, 12 Sep 2006 14:38:57 -0500 From: Brooks Davis To: "Marc G. Fournier" Message-ID: <20060912193856.GA49540@lor.one-eyed-alien.net> References: <20060912161603.R1031@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20060912161603.R1031@ganymede.hub.org> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: optimization levels for 6-STABLE build{kernel,world} X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 19:39:33 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 12, 2006 at 04:22:51PM -0300, Marc G. Fournier wrote: >=20 > What are ppl currently using for CFLAGS/COPTFLAGS in /etc/make.conf for= =20 > building kernel/world? I know awhile back it wasn't recommended to go=20 > above -O2, for instance, but suspect that has changed ... ? Nothing above -O2 is supported. Period. If you try another value and something breaks, don't report it unless you can verify it happens with -O or -O2. For many applications, -O2 will perform better than -O3 so you need to benchmark individual applications. For most applications, there's simply no point. -- Brooks --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBwzQXY6L6fI4GtQRAr+WAJ4rWEsmLHEYk1jkv1om7X+JV716dACfbDDM pdPRE8w9/OqhGdl9fGmAD20= =+UK3 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--