Skip site navigation (1)Skip section navigation (2)
Date:      18 Dec 2001 01:06:31 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Dirk Froemberg <dirk@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: ports/databases/mysql323-server Makefile
Message-ID:  <1008630359.5329.2.camel@notebook>
In-Reply-To: <XFMail.011217145311.jhb@FreeBSD.org>
References:  <XFMail.011217145311.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1008630359.5329.2.camel>