Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 19:44:37 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Mark Johnston <mjohnston@skyweb.ca>
Cc:        current@FreeBSD.ORG
Subject:   Re: cvs-src summary for June 28 - July 5 (complete)
Message-ID:  <20040707024437.GA52072@VARK.homeunix.com>
In-Reply-To: <200407061055.29337.mjohnston@skyweb.ca>
References:  <200407061055.29337.mjohnston@skyweb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040707024437.GA52072>