Re: Darwin: make check fails with "child process exited with exit code 134"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthias Schmitt <freak002(at)mmp(dot)lu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Darwin: make check fails with "child process exited with exit code 134"
Date: 2013-10-28 17:55:23
Message-ID: 7357.1382982923@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Matthias Schmitt <freak002(at)mmp(dot)lu> writes:
> On 28.10.2013, at 17:22, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> What I find curious is that I can't
>> reproduce this problem on an OS X Mavericks machine here. You must
>> be using some nondefault compiler switches --- care to tell us what?

> ./configure CC='/usr/bin/gcc-4.2' --prefix=/<my path>/applications/pgsql --with-perl

Hm. There is no such file as /usr/bin/gcc-4.2 on my machine, in fact
there's no file following such a naming pattern anywhere on the
filesystem.

However, that doesn't seem to be relevant. Poking at this some more,
I see that the effect of the bit that Andres noticed in string.h is to
#define strncpy as __builtin___strncpy_chk, and *that replacement is
happening on my machine*. So why don't I see the trap? I am wondering
if there is some run-time environment test that controls whether the
trap occurs, and you've got an environment variable set that I don't.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-10-28 18:11:12 Re: OSX doesn't accept identical source/target for strcpy() anymore
Previous Message Andres Freund 2013-10-28 16:58:28 Re: Darwin: make check fails with "child process exited with exit code 134"

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-10-28 17:55:41 Re: RULE regression test fragility?
Previous Message ktm@rice.edu 2013-10-28 17:45:00 Re: Detection of nested function calls