From owner-freebsd-stable@FreeBSD.ORG Tue Oct 25 17:16:03 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 584FE16A41F for ; Tue, 25 Oct 2005 17:16:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E2043D46 for ; Tue, 25 Oct 2005 17:16:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id ED4481A3C28; Tue, 25 Oct 2005 10:16:02 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2C0CF511FD; Tue, 25 Oct 2005 13:16:02 -0400 (EDT) Date: Tue, 25 Oct 2005 13:16:01 -0400 From: Kris Kennaway To: Chris Message-ID: <20051025171601.GA33303@xor.obsecurity.org> References: <20051022160723.5ba02ccd.dick@nagual.st> <435A5E70.1010304@mac.com> <3aaaa3a0510241257l5678e810k@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <3aaaa3a0510241257l5678e810k@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: dick hoogendijk , 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: Tue, 25 Oct 2005 17:16:03 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 24, 2005 at 08:57:27PM +0100, Chris wrote: > On 22/10/05, Chuck Swiger wrote: > > 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 > > > Hmm so using "-O2" is bad in 5.4 and it should be "-O2 -fno-strict-aliasing"? If you use any third-party software, yes. i.e. FreeBSD itself is fine, but not ports. Kris --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDXmhRWry0BWjoQKURAmOyAKCy+Pk339430JNwdoDGcZqgFnRL8wCfbzDA 4edKngZQYpP9992Q8lH/8t4= =ek3j -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--