Date: Tue, 12 Sep 2006 15:31:20 -0400 From: Michael Butler <imb@protected-networks.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: <45070B08.6010507@protected-networks.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
Marc G. Fournier wrote: > What are ppl currently using for CFLAGS/COPTFLAGS in /etc/make.conf for > building kernel/world? I know awhile back it wasn't recommended to go > above -O2, for instance, but suspect that has changed ... ? CFLAGS=-O2 -pipe -fno-strict-aliasing COPTFLAGS=-O2 -pipe -fno-strict-aliasing CPUTYPE?=prescott .. just works(tm) for an Intel T-2300 dual core ;-) Using -O3 will get you into bother with the amount of inlining the compiler wants to do to the kernel, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45070B08.6010507>