From owner-freebsd-stable Tue Jul 25 11:25: 6 2000 Delivered-To: freebsd-stable@freebsd.org Received: from entropy.tmok.com (entropy.tmok.com [204.17.163.11]) by hub.freebsd.org (Postfix) with ESMTP id 911C137B75C for ; Tue, 25 Jul 2000 11:24:16 -0700 (PDT) (envelope-from wonko@entropy.tmok.com) Received: (from wonko@localhost) by entropy.tmok.com (8.9.3/8.9.3) id OAA98614; Tue, 25 Jul 2000 14:27:22 -0400 (EDT) From: Brian Hechinger Message-Id: <200007251827.OAA98614@entropy.tmok.com> Subject: Re: Recommended compilation optimizations In-Reply-To: <20000724202712.A62709@relativity.student.utwente.nl> from Dave Boers at "Jul 24, 2000 8:27:12 pm" To: djb@ifa.au.dk Date: Tue, 25 Jul 2000 14:27:22 -0400 (EDT) Cc: mi@aldan.algebra.com, dl@tyfon.net, stable@FreeBSD.ORG Reply-To: wonko@entropy.tmok.com X-Useless-Header: why? because i can. X-Organization: The Ministry of Knowledge X-Dreams: an OpenWin that is based on current MIT X11 releases X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dave Boers drunkenly mumbled... > On Mon, Jul 24, 2000 at 10:03:40AM -0400, mi@aldan.algebra.com wrote: > > I've seen '-fexpensive-optimizations' break havoc in the squid binary, > > so I no longer use it for anything, but '-mcpu=i686 -march=i686' seems > > fine to me and tells the compiler that your only target processor is of > > the 686 class. If you are not planning to debug the thing, add > > '-fomit-frame-pointer'. > > You appear to be right. I just verified dat my 4.1-stable indeed builds > fine with -mcpu=686 and -march=i686 (on SMP dual Celeron). just to stir the pool a little bit more: -Os -pipe -march=pentiumpro -funroll-loops -fschedule-insns2 FreeBSD wintermute.half.com 4.1-RC FreeBSD 4.1-RC #0: Tue Jul 25 12:15:52 EST 2000 wonko@wintermute.half.com:/usr/obj/usr/src/sys/WINTERMUTE i386 for a while there, these didn't work with -stable, but now they work again. i still build my production boxes with -O -pipe, but my desktop takes a beating as i try and break it as much as i can. all in the name of scientific research of course. :) -b To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message