Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Date: 2010-10-22 02:19:07
Message-ID: 11665.1287713947@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> Fix ecpg test building process to not generate *.dSYM junk on Macs.
>>
>> The trick is to not try to build executables directly from .c files,
>> but to always build the intermediate .o files. For obscure reasons,
>> Darwin's version of gcc will leave debug cruft behind in the first
>> case but not the second. Per complaint from Robert Haas.

> A Makefile comment would have been nice so this is not un-done in the
> future.

Putting a comment there wouldn't really help. If this is ever broken
again, the odds are just about 100% that the breakage will be somewhere
else. I tried to think of someplace in our documentation where makefile
writing conventions in general could be documented, but came up empty.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-10-22 14:47:08 pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to
Previous Message Bruce Momjian 2010-10-22 01:05:03 Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma