Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 09:45:12 +1030 (CST)
From:      Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Bob Bishop <rb@gid.co.uk>, Mike Smith <mike@smith.net.au>, mi@aldan.algebra.com, current@FreeBSD.ORG
Subject:   Re: Buildworld fails on today 3.1-STABLE!
Message-ID:  <Pine.OSF.4.10.9902180937110.23655-100000@bragg>
In-Reply-To: <36CB3698.E28E4D95@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Feb 1999, Daniel C. Sobral wrote:

> Lucky you. -O2 *does* break world for many people. Eventually, it
> might break your world too, and there is a great chance you'll first
> spam -current before changing -O2 to -O and trying again. Or there
> would, if we stopped hitting on this nail. :-)

Odd..I've been running -O2 -mno-486 -pipe for at least a year now, without
noticing any world problems (or weird behaviour from binaries) other than the
commit-related breakage everyone else has seen due to legitimate bugs. What
would cause some people to have problems with -O2 and others not?

I also run my kernels -O3 because they work for me, but I understand the
potential problems with this and drop it back if I ever have problems.

This reminds me of something I need to benchmark a bit more: I was testing the
optimization of egcs 1.1.1 and found that -O3 produced executables which were
significantly slower than -O2, no matter what architecture settings I used.
From memory, for -O2 binaries I was getting ~20% speed improvements on my
simple test suite compiling with "-mpentium -march=pentium" compared to
"-mno-486" on GCC 2.7.2.3

Kris

> --
> Daniel C. Sobral			(8-DCS)
> dcs@newsguy.com
> dcs@freebsd.org
> 
> 	Well, as a computer geek, I have to believe in the binary universe.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

-----
(ASP) Microsoft Corporation (MSFT) announced today that the release of its 
productivity suite, Office 2000, will be delayed until the first quarter
of 1901.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9902180937110.23655-100000>