Date: Thu, 23 Mar 2000 13:57:06 +0100 From: Brad Knowles <blk@skynet.be> To: Ed Hall <edhall@screech.weirdnoise.com>, Andrew Gallatin <gallatin@cs.duke.edu> Cc: obrien@FreeBSD.ORG, Howard Leadmon <howardl@account.abs.net>, freebsd-alpha@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, edhall@screech.weirdnoise.com Subject: Re: Compiler problems with -O2 (was Re: CVS Trouble, even under 4.0-RELEASE (alpha) HELP!) Message-ID: <v04220800b4ffc416c92d@[195.238.1.121]> In-Reply-To: <200003230820.AAA12969@screech.weirdnoise.com> References: <200003230820.AAA12969@screech.weirdnoise.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:20 AM -0800 2000/3/23, Ed Hall wrote: > I'm frankly astonished that it has been suggested that higher optimizations > be disabled. Blindly compiling the world at -O2 may be folly, but using > optimization can be quite useful for selected applications. In all seriousness, I'd be just as happy to have extremely strong warnings against using anything but -O by default (i.e., setting it in /etc/make.conf or setting "makeoptions" in your kernel configuration), with the caveat that the potential consequences can be exceptionally dire (such as having your entire machine toasted, etc...) if you decide that you want to take the risk and build your kernel with "-O2 -march=pentium" or whatever. People should be able to use whatever optimization they want on userland programs, and if they're stupid enough to aim thermonuclear weapons at their feet when doing the same with the kernel, well then maybe the Darwin effect will help the rest of us get a little more sleep. ;-) -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, <blk@skynet.be> || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04220800b4ffc416c92d>