Date: Tue, 18 Dec 2001 19:44:20 +0000 From: Sergei Golubchik <sergii@pisem.net> To: Maxim Sobolev <sobomax@freebsd.org> Cc: John Baldwin <jhb@freebsd.org>, Dirk Froemberg <dirk@freebsd.org>, cvs-all@freebsd.org, cvs-committers@freebsd.org Subject: Re: cvs commit: ports/databases/mysql323-server Makefile Message-ID: <20011218194420.A31061@serg.mysql.com> In-Reply-To: <1008630359.5329.2.camel@notebook>; from sobomax@freebsd.org on Tue, Dec 18, 2001 at 01:06:31AM %2B0200 References: <XFMail.011217145311.jhb@FreeBSD.org> <1008630359.5329.2.camel@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! I would like to jump in as these options were taken from our script. On Dec 18, Maxim Sobolev wrote: > On Tue, 2001-12-18 at 00:53, John Baldwin wrote: > > On 17-Dec-01 Dirk Froemberg wrote: > > > dirk 2001/12/17 14:50:46 PST ... > > > - 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. > > I agree with John - we should discourage anything above -O, not to > encourage it. Especially this applies to the databases, when the buggy > compiler output could do a lot of damage to the user's data. I think > BUILD_OPTIMIZED should be removed. Generally I agree. And I do prefer the program that works slow to the program that crashes fast. But these options were takes from the script that we (at MySQL AB) use to generate our official binaries. Every possible precausion is taken to ensure that our binaries are as stable is possible. So, -O3 is, most probably, very safe here. Regards, Sergei -- MySQL Development Team __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011218194420.A31061>