From owner-freebsd-stable@FreeBSD.ORG Sat Oct 22 15:44:49 2005 Return-Path: X-Original-To: freebsd-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 C2AD416A41F for ; Sat, 22 Oct 2005 15:44:49 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6354643D48 for ; Sat, 22 Oct 2005 15:44:49 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 962A05CF8; Sat, 22 Oct 2005 11:44:48 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16873-09; Sat, 22 Oct 2005 11:44:48 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-76-130.ny325.east.verizon.net [68.161.76.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id B9A0F5C90; Sat, 22 Oct 2005 11:44:47 -0400 (EDT) Message-ID: <435A5E70.1010304@mac.com> Date: Sat, 22 Oct 2005 11:44:48 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dick hoogendijk References: <20051022160723.5ba02ccd.dick@nagual.st> In-Reply-To: <20051022160723.5ba02ccd.dick@nagual.st> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-stable@freebsd.org Subject: Re: make.conf for 6.0 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: Sat, 22 Oct 2005 15:44:49 -0000 dick hoogendijk wrote: > My make.conf contains (fbsd-5.4) > CFLAGS= -O -pipe > COPTFLAGS= -O -pipe > > Are these settings the same for the upcoming release6 or do I need to > set -O2 in this new version? FreeBSD is moving towards "-O2 -fno-strict-aliasing" by default [1], but there is nothing wrong with using "-O" only. On most platforms, there isn't much difference between -O and -O2, although -O2 does help more with the x86 architecture. -- -Chuck [1] Or, if we get lucky, perhaps the local compiler guru will choose to make the strict-aliasing option in GCC default to being off. Also, not everybody seems to agree with this, which is probably not surprising. :-)