From owner-freebsd-stable@FreeBSD.ORG Wed Aug 31 05:01:41 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3319E16A41F for ; Wed, 31 Aug 2005 05:01:41 +0000 (GMT) (envelope-from decibel@decibel.org) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C38A443D46 for ; Wed, 31 Aug 2005 05:01:38 +0000 (GMT) (envelope-from decibel@decibel.org) Received: by flake.decibel.org (Postfix, from userid 1001) id 09D75152BB; Wed, 31 Aug 2005 00:01:37 -0500 (CDT) Date: Wed, 31 Aug 2005 00:01:37 -0500 From: "Jim C. Nasby" To: Robert Backhaus Message-ID: <20050831050137.GQ77007@decibel.org> References: <55023220@srv.sem.ipt.ru> <20050828150947.GA58038@82-168-75-155-bbxl.xdsl.tiscali.nl> <4312B091.9090104@meijome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i Cc: stable@freebsd.org, Norberto Meijome Subject: Re: 6.0 and -O2 option X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 05:01:41 -0000 On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote: > > > Kernel and world seem to be ok with -O2, for ports it is not advised. > > > > Hi, > > I may have missed a thread or something (just let me know :) ) - why is > > -O2 not advised for ports on 6.0? > > cheers, > > Beto > > Simply because not every port works with -O2 optimisations. It caused > bad code in some circumstances. Is there an automated way to identify those ports so they can be forced not to use -O higer than -O1? -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"