From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Trout <threshar@torgo.978.org>
Cc: postgres performance <pgsql-performance@postgresql.org>
Subject: Re: OSX & Performance
Date: Mon, 29 Aug 2005 13:57:34 -0400
Message-ID: <11273.1125338254@sss.pgh.pa.us> (raw)
In-Reply-To: <486EB962-5B80-49B4-AF01-0C2DD77CC9EF@torgo.978.org>
References: <C5CA67B2-E8DC-414D-B298-A9292323F26E@torgo.978.org>
<26476.1125259249@sss.pgh.pa.us>
<486EB962-5B80-49B4-AF01-0C2DD77CC9EF@torgo.978.org>
Jeff Trout <threshar@torgo.978.org> writes:
> On Aug 28, 2005, at 4:00 PM, Tom Lane wrote:
>> I see -O2 when building PG (CVS tip) on a fully up-to-date 10.4.2
>> machine. Maybe something odd in your environment, like a preset
>> CFLAGS setting?
> 8.0.3 doesn't have any optimization flags
> 8.1beta1 doesn't have any optimization
> ie: gcc -no-cpp-precomp -Wall -Wmissing-prototypes -Wpointer-arith -
> Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -
> fno-strict-aliasing -I../../src/port -I../../src/include -c
> thread.c -o thread_srv.o
You must have CFLAGS set to empty in your build environment, because
configure will certainly default to -O2 if not overridden. It works
fine for me on OS X. Maybe you want to trace through the configure
script and see why it's doing something else?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, threshar@torgo.978.org
Subject: Re: OSX & Performance
In-Reply-To: <11273.1125338254@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox