From owner-cvs-all Mon Dec 17 15: 7:15 2001 Delivered-To: cvs-all@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id E8D7137B41E; Mon, 17 Dec 2001 15:06:31 -0800 (PST) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.11.6/8.11.6) id fBHN6Uh50942; Tue, 18 Dec 2001 00:06:30 +0100 (CET) (envelope-from ibex) Date: Tue, 18 Dec 2001 00:06:30 +0100 From: Dirk Froemberg To: John Baldwin Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org Subject: Re: cvs commit: ports/databases/mysql323-server Makefile Message-ID: <20011218000630.C48802@physik.TU-Berlin.DE> References: <200112172250.fBHMokO35514@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@freebsd.org on Mon, Dec 17, 2001 at 02:53:11PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi John! On Mon, Dec 17, 2001 at 02:53:11PM -0800, John Baldwin wrote: > > On 17-Dec-01 Dirk Froemberg wrote: > > dirk 2001/12/17 14:50:46 PST > > > > Modified files: > > databases/mysql323-server Makefile > > Log: > > - CXX=${CC} to get rid of libstdc++ in order to improve stability > > under heavy load > > > > - add BUILD_STATIC option to link mysqld statically > > > > - add BUILD_OPTIMIZED to add -mcpu=pentiumpro -O3 -fno-omit-frame-pointer > > to CFLAGS (and thus to CXXFLAGS) > > You should not use -O3, it is known to produce buggy code. Use -O only, not > even -O2. Really, still? That's what MySQL AB uses to build their offical binaries. I ran a mysqld with these flags for about a day under heavy load. But in fact this doesn't have to mean anything... 8-) Since it isn't enabled by default it isn't too dangerous IMHO, so I think I'll leave it in for now. Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message