Re: cvs-src summary for June 28 - July 5 (complete)

From: David Schultz <das_at_FreeBSD.ORG>
Date: Tue, 6 Jul 2004 19:44:37 -0700
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.
Received on Wed Jul 07 2004 - 00:45:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC