cvs-src summary for June 28 - July 5 (complete)
David Schultz
das at FreeBSD.ORG
Tue Jul 6 19:45:06 PDT 2004
On Tue, Jul 06, 2004, Mark Johnston wrote:
> Compiling the system and ports with -O2
> ---------------------------------------
> Dag-Erling Smorgrav (des) made a change to make.conf, correcting a comment
> that said that -O2 exposed bugs in ppp to mention libalias instead.
>
> David Schultz (das) replied, saying "I've been compiling most things with
> -O2 for a while (to find -O2 bugs, not for speed) and haven't noticed many
> problems", except that "-O2 breaks floating-point exceptions in libm".
> He suggested that "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."
>
> Kris Kennaway (kris) responded "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."
>
> David answered "99% of the ports that "may break" build with -O2 on Linux
^^^^^
> (as -O2 is their default). What is different about us vs. Linux for these
> ports?"
That was David O'Brien, not me. ;-)
> David responded "Because most everything in the ports collection was
> developed on Linux using -O2. The bugs are in our code, not gcc's -O2."
Likewise.
More information about the freebsd-current
mailing list