Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 21:09:16 -0500 (EST)
From:      Mikhail Teterin <mi@video-collage.com>
To:        Thimble Smith <tim@mysql.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: gcc problems
Message-ID:  <200003290209.VAA95858@dufus.video-collage.com>
In-Reply-To: <20000328160442.S1135@threads.polyesthetic.msg> from Thimble Smith at "Mar 28, 2000 04:04:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Mar 28, 2000 at 03:23:06PM -0500, Mikhail Teterin wrote:
> 
> [ sql_yacc.cc has to be compiled with -O0 ]
> 
> >But is  not this, where the  optimization can be quite  desirable? Is
> >not this the query parsing code?
> 
> You can do it with -O -fno-inline.  Just add some more swap space
> and then go for a walk while it compiles.  It's spring - nice
> weather, right?

Well, with ``-O -fexpensive-optimizations -pipe -mcpu=i686 -march=i686''
compiling sql/sql_yacc.cc only took 26 minutes of one of the two PII-300
cpus I have. The machine has 320Mb of  RAM and it did not even touch the
swap.

This is on 4.0, mysql-3.22.32 server port, patches/patch-aq removed...

The source file is huge --  414615 bytes... The resulting object file --
424040.

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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