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

[-- Attachment #1 --]
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
> > 
> >   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.

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQA8HnpWoNu5t4iCBa8RApDnAJ4lQ6wDJvKbTNn6uUUXyIYThITrggCdFycv
lOpzfOZDgVk65P9E9pPcIB4=
=6E+r
-----END PGP SIGNATURE-----

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