From owner-cvs-all@FreeBSD.ORG Sun Jul 4 05:16:09 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976D616A4CF; Sun, 4 Jul 2004 05:16:09 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5652943D2D; Sun, 4 Jul 2004 05:16:09 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i645G5CZ000807; Sun, 4 Jul 2004 01:16:05 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CC1C054940; Sat, 3 Jul 2004 22:16:07 -0700 (PDT) Date: Sat, 3 Jul 2004 22:16:07 -0700 From: Kris Kennaway To: Dag-Erling Smorgrav , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20040704051607.GA78676@xor.obsecurity.org> References: <200407030941.i639fwt8078389@repoman.freebsd.org> <20040704032139.GA93138@VARK.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20040704032139.GA93138@VARK.homeunix.com> User-Agent: Mutt/1.4.2.1i Subject: Re: cvs commit: src/share/examples/etc make.conf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 05:16:09 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 03, 2004 at 08:21:39PM -0700, David Schultz wrote: > On Sat, Jul 03, 2004, Dag-Erling Smorgrav wrote: > > des 2004-07-03 09:41:58 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > share/examples/etc make.conf=20 > > Log: > > The -O2 bugs are in libalias(3), not ppp(8). >=20 > FWIW, I've been compiling most things with -O2 for a while (to > find -O2 bugs, not for speed) and haven't noticed many problems. > The only significant one I know of is that -O2 breaks > floating-point exceptions in libm because gcc doesn't support the > FENV_ACCESS pragma. I think for some routines like rint(3), it > may even give the wrong answer due to incorrect optimizations, but > I'd have to check that again. >=20 > AFAIK, the necessary functionality to make gcc's optimizer treat > floating-point code in a sane manner isn't on the horizon, so > maybe -O2 should be automatically turned off while compiling libm > (and perhaps libalias as well). That would make it more > easily justifiable to make -O2 the default at some future point. I don't think we can ever make it the default since there's likely to be a lot of software in ports that would be broken too. Kris --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA55KXWry0BWjoQKURAnozAKCd0+rQVwfbcc0V0utyc4Vu173+ZQCfXYcX l/fOIIjajc7zm3oq5ZfPyfk= =Ev6T -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--