Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2006 14:38:57 -0500
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "Marc G. Fournier" <freebsd@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: optimization levels for 6-STABLE build{kernel,world}
Message-ID:  <20060912193856.GA49540@lor.one-eyed-alien.net>
In-Reply-To: <20060912161603.R1031@ganymede.hub.org>
References:  <20060912161603.R1031@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060912193856.GA49540>