Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 17:30:00 -0600
From:      "Jeffrey J. Mountin" <jeff-ml@mountin.net>
To:        obrien@FreeBSD.ORG, User URANIA <urania@iss.com.tw>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Problem with IBM Netfinity 5000 Server
Message-ID:  <3.0.3.32.20000224173000.00868970@207.227.119.2>
In-Reply-To: <20000224145121.C90075@dragon.nuxi.com>
References:  <Pine.BSF.4.20.0002231424210.16212-100000@iss.com.tw> <Pine.BSF.4.20.0002231424210.16212-100000@iss.com.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:51 PM 2/24/00 -0800, David O'Brien wrote:
>On Wed, Feb 23, 2000 at 02:27:31PM +0800, User URANIA wrote:
>>     I also set these flags at my /etc/make.conf
>> CFLAGS= -mpentiumpro -O6 -pipe -funroll-loops -fexpensive-optimizations
>> COPTFLAGS= -mpentiumpro -O6 -pipe -funroll-loops
>
>-O6 (any -O above 3) is nonsense with the base GCC compiler.
>I really have to wonder what people think they are getting by using such
>hight -O values.

Maybe due to things like the Apache ports' Makefile:

#
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
OPTIM+= -DBUFFERED_LOGS
CFLAGS+= -O6 -fomit-frame-pointer
.endif

... and not reading the man page or looking at the source.

Hey <program> does this, looks good, and so....

Also, the various optimization levels (et all) choice keeps coming up, but
-O6 is not mentioned in the man pages.  Must be magic then. ;)


Jeff Mountin - jeff@mountin.net
Systems/Network Administrator
FreeBSD - the power to serve



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?3.0.3.32.20000224173000.00868970>