From owner-cvs-all Mon Dec 17 15: 7: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 8D01337B63C; Mon, 17 Dec 2001 15:06:27 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id BAA80478; Tue, 18 Dec 2001 01:06:24 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from h144.234.dialup.iptcom.net (h144.234.dialup.iptcom.net [212.9.234.144]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id BAA86614; Tue, 18 Dec 2001 01:06:21 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Subject: RE: cvs commit: ports/databases/mysql323-server Makefile From: Maxim Sobolev To: John Baldwin Cc: Dirk Froemberg , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8UDgE9u1TUGzfuz0Aumj" Message-Id: <1008630359.5329.2.camel@notebook> Mime-Version: 1.0 X-Mailer: Evolution/1.0 (Preview Release) Date: 18 Dec 2001 01:06:31 +0200 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 --=-8UDgE9u1TUGzfuz0Aumj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2001-12-18 at 00:53, John Baldwin wrote: >=20 > On 17-Dec-01 Dirk Froemberg wrote: > > dirk 2001/12/17 14:50:46 PST > >=20 > > Modified files: > > databases/mysql323-server Makefile=20 > > Log: > > - CXX=3D${CC} to get rid of libstdc++ in order to improve stability > > under heavy load > > =20 > > - add BUILD_STATIC option to link mysqld statically > > =20 > > - add BUILD_OPTIMIZED to add -mcpu=3Dpentiumpro -O3 -fno-omit-frame-p= ointer > > to CFLAGS (and thus to CXXFLAGS) >=20 > 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. -Maxim --=-8UDgE9u1TUGzfuz0Aumj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA8HnpWoNu5t4iCBa8RApDnAJ4lQ6wDJvKbTNn6uUUXyIYThITrggCdFycv lOpzfOZDgVk65P9E9pPcIB4= =6E+r -----END PGP SIGNATURE----- --=-8UDgE9u1TUGzfuz0Aumj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message