From owner-freebsd-stable Tue May 8 16:28:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 470D237B423 for ; Tue, 8 May 2001 16:28:27 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f48NRr010665; Tue, 8 May 2001 16:27:53 -0700 (PDT) Date: Tue, 8 May 2001 16:27:53 -0700 From: Alfred Perlstein To: Juha Saarinen Cc: chad@DCFinc.com, kris@obsecurity.org, nuno.mailinglists@pt-quorum.com, guilherme@nortenet.pt, freebsd-stable@FreeBSD.ORG Subject: Re: CFLAGS Optimization Message-ID: <20010508162753.O18676@fw.wintelcom.net> References: <200105082305.QAA04771@freeway.dcfinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from juha@saarinen.org on Wed, May 09, 2001 at 11:23:07AM +1200 X-all-your-base: are belong to us. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Juha Saarinen [010508 16:24] wrote: > :: Perhaps you'd be more comfortable if we changed the documentation to > :: remove all references to any -O switch with a number attached? > > Dunno. In my experience, any -O switch with a number attached creates > problems when compiling the kernel/userland on FreeBSD, so it seems > pointless to have those options. OTOH Jordan pointed out that there are some > instances for which the optflags can be useful. > > I don't know why the optflags produce broken code on FreeBSD, but not with > Linux. They can produce broken code on Linux. Please see the pgcc page that explains that -O3 includes optimizations that "can cause problems". > Aren't we sick of this thread yet? I was sick of it that last 5 times it came up. :( -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message