cvs commit: src/share/examples/etc make.conf

Kris Kennaway kris at obsecurity.org
Sat Jul 3 22:16:09 PDT 2004


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
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     share/examples/etc   make.conf 
> >   Log:
> >   The -O2 bugs are in libalias(3), not ppp(8).
> 
> 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.
> 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040703/a683281f/attachment.bin


More information about the cvs-all mailing list