Skip site navigation (1) Skip section navigation (2)

Re: install-strip causes dyld errors on OS X

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: install-strip causes dyld errors on OS X
Date: 2007-10-30 17:09:25
Message-ID: 24768.1193764165@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Greg Smith <gsmith(at)gregsmith(dot)com> writes:
> On Tue, 30 Oct 2007, Alvaro Herrera wrote:
>> It would also be good to make --enable-debug the default.

> The last time I did a build with both --enable-debug and --enable-cassert, 
> I was seeing pgbench results that were significantly (around 40% I think) 
> slower than without those two.

Yeah, cassert is expensive (mostly it's the CLOBBER_FREED_MEMORY part,
which you can disable separately if you have a mind to).  --enable-debug
is supposed to be free when using gcc, though I've never tried to verify
that.  We can *not* make --enable-debug the default on non-gcc
compilers, though, and that makes me uncomfortable about turning it on
by default for gcc ... platform-specific defaults don't sound good.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Zdenek KotalaDate: 2007-10-30 17:34:42
Subject: Re: Datum should be defined outside postgres.h
Previous:From: Heikki LinnakangasDate: 2007-10-30 17:08:28
Subject: Re: install-strip causes dyld errors on OS X

pgsql-patches by date

Next:From: Tom LaneDate: 2007-10-30 19:44:44
Subject: Re: Obsolete bits in docs for SQL-GRANT
Previous:From: Heikki LinnakangasDate: 2007-10-30 17:08:28
Subject: Re: install-strip causes dyld errors on OS X

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group