From owner-freebsd-stable Mon Aug 14 23:44:56 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id BCBC537B62F for ; Mon, 14 Aug 2000 23:44:52 -0700 (PDT) (envelope-from jeff-ml@mountin.net) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id BAA24394; Tue, 15 Aug 2000 01:41:58 -0500 (CDT) (envelope-from jeff-ml@mountin.net) Received: from dial-66.max1.wa.cyberlynk.net(207.227.118.66) by peak.mountin.net via smap (V1.3) id sma024384; Tue Aug 15 01:41:41 2000 Message-Id: <4.3.2.20000815012111.00b58ee0@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Tue, 15 Aug 2000 01:38:59 -0500 To: lwh@pathcom.com, Tom From: "Jeffrey J. Mountin" Subject: Re: Make fails with mysql-3.22.32 Cc: Robert Banniza , freebsd-stable@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:27 AM 8/15/00 -0400, Luke Hollins wrote: >On Thu, 10 Aug 2000, Tom wrote: > > > Second, sql_yacc.cc can not be compiled with -O3, you must use -O1. > > The compiler will use all available memory to compile it. > > > > Tom > >it compiles ok with -O3 if you a load of ram/swap (biggest I've seen it is >@310MB). > >Its probably a good idea for the port maintainer to default it to run >configure --with-low-memory What for? The default is to compile sql_yacc.cc with -O0 (oh zero). Optimizations other than '-O -pipe' are really supported. True, some ports change this, but then they are full tested. When you start to f' around with how it compiles by default (ie delete patch-aq) live with it or Bill and others are going to ignore such complaints at the least and most likely use napalm. 8-) Oh yeah, this don't have squat to do with -stable either. Check in on -ports for additional bar-b-queing on this subject (and expect to be ignored and/or flamed). Nuff said. FWIW - I have compiled with '-O -pipe' but used up most of the 128MB RAM (fresh boot, stopped additional daemons) and about 94MB of swap. It also spent about triple the time it normally takes to compile and most of that was due to swapping. Bad idea for most to screw around, which show why the defaults are there. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message