Re: Optimization levels when compiling PostgreSQL...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Sean Chittenden <sean(at)chittenden(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Optimization levels when compiling PostgreSQL...
Date: 2002-09-10 02:59:18
Message-ID: 200209100259.g8A2xIe09009@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Curt Sampson wrote:
> On Mon, 9 Sep 2002, Sean Chittenden wrote:
>
> > I'm thinking about changing this from a beta port to a -devel port
> > that I'll periodically update with snapshots. I'll turn on -O6 for
> > the -devel port and -O2 for production for now. If I don't hear of
> > any random bogons in the code I'll see if I can't increase it further
> > to -O3 and beyond at a slow/incremental rate.
>
> Keep in mind that, while gcc is pretty stable for i386, the higher
> optimization levels (above -O2) do tend to have bogons on other
> processors, that vary with which version of gcc you're running.

Yes, last I heard, FreeBSD/alpha doesn't work in PostgreSQL if compiled
with -O2. You can see template/freebsd for that alpha flag override.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Curt Sampson 2002-09-10 02:59:55 Re: [JDBC] problem with new autocommit config parameter
Previous Message Bruce Momjian 2002-09-10 02:57:01 Re: Optimization levels when compiling PostgreSQL...