Re: [HACKERS] install-strip causes dyld errors on OS X

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Meredith L(dot) Patterson" <mlp(at)osogato(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] install-strip causes dyld errors on OS X
Date: 2007-11-09 22:07:24
Message-ID: 200711092207.lA9M7OP25324@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> "Meredith L. Patterson" <mlp(at)osogato(dot)com> writes:
> > In brief, when installing on OS X with "make install-strip",
> > installation goes fine, but initdb dies here:
> > ...
> > I see three possible fixes:
> > 1) Patch config/install-sh such that on OS X, install-strip calls 'strip
> > -x'. This removes local symbols only.
>
> +1 on this one --- seems about the right level of effort, considering
> that install-strip isn't exactly an encouraged option anyway. (Does
> anyone still care about the amount of disk space involved? And it makes
> debugging problems infinitely harder.)
>
> Just for the record, I'd like to put forward the alternative solution
> of removing support for install-strip. But assuming there are
> objections to that, please send in the mentioned 4-line patch ...

I have developed the attached patch to implement this.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/pgpatches/strip text/x-diff 1001 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-11-09 22:16:32 Re: last note to rewrite function
Previous Message Todd A. Cook 2007-11-09 22:06:33 Is "query" a reserved word in 8.3 plpgsql?

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2007-11-09 23:33:15 Re: [GENERAL] Crosstab Problems
Previous Message Bruce Momjian 2007-11-09 21:20:17 Re: [GENERAL] Crosstab Problems