Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 00:06:30 +0100
From:      Dirk Froemberg <dirk@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
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>
In-Reply-To: <XFMail.011217145311.jhb@FreeBSD.org>; from jhb@freebsd.org on Mon, Dec 17, 2001 at 02:53:11PM -0800
References:  <200112172250.fBHMokO35514@freefall.freebsd.org> <XFMail.011217145311.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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