From owner-freebsd-questions Fri Mar 10 10:28:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from weeble.dyndns.org (ubppp248-169.dialin.buffalo.edu [128.205.248.169]) by hub.freebsd.org (Postfix) with ESMTP id DED9F37BA6A for ; Fri, 10 Mar 2000 10:28:41 -0800 (PST) (envelope-from cjm2@earthling.net) Received: from shithead (shithead.weeble.dyndns.org [10.0.0.2]) by weeble.dyndns.org (8.9.3/8.9.3) with SMTP id NAA12207; Fri, 10 Mar 2000 13:28:39 -0500 (EST) (envelope-from cjm2@earthling.net) From: "C J Michaels" To: , Subject: RE: Any major downside to using "-O3" when compiling? Date: Fri, 10 Mar 2000 13:28:38 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal In-Reply-To: <38C1422B.16524.3085E0@localhost> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I put -O3 in my /etc/make.conf probably 4 months ago, and have done several make world's with it and have had no problems. I am still err'ing on the side of caution with the kernel and have left that on -O2. As for performance increasing, I can't really say since I've never run any benchmarks between the 2. Also, from what I have read, anything over -O3 (e.g. -O4) is broken, do a search through the mailing list archives for more info. -Chris -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of wsanborn@uswest.net Sent: Saturday, March 04, 2000 8:05 PM To: questions@FreeBSD.ORG Subject: Any major downside to using "-O3" when compiling? After poking around the cc and gcc manpages, I noticed the "-O" option for optimization. I've now compiled a few items with that option and have noticed that: 1- It takes longer to compile (general resource hog. noticibly longer with -O3). 2- The binaries are larger (kernel size increased about %7) Is there any other downside? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message