From owner-freebsd-stable Thu Mar 23 5: 0:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from trinity.skynet.be (trinity.skynet.be [195.238.2.38]) by hub.freebsd.org (Postfix) with ESMTP id 794BD37C496; Thu, 23 Mar 2000 05:00:12 -0800 (PST) (envelope-from blk@skynet.be) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by trinity.skynet.be (Postfix) with ESMTP id 9F1A71813F; Thu, 23 Mar 2000 13:59:00 +0100 (MET) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: In-Reply-To: <200003230820.AAA12969@screech.weirdnoise.com> References: <200003230820.AAA12969@screech.weirdnoise.com> Date: Thu, 23 Mar 2000 13:57:06 +0100 To: Ed Hall , Andrew Gallatin From: Brad Knowles Subject: Re: Compiler problems with -O2 (was Re: CVS Trouble, even under 4.0-RELEASE (alpha) HELP!) Cc: obrien@FreeBSD.ORG, Howard Leadmon , freebsd-alpha@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, edhall@screech.weirdnoise.com Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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, || 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-stable" in the body of the message