Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Var2J-0005NP-44 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2013 17:55:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Var2I-0004tq-Jd for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2013 17:55:30 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Var2H-0004tk-S9 for pgsql-bugs@postgresql.org; Mon, 28 Oct 2013 17:55:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Var2E-0005iP-QR for pgsql-bugs@postgresql.org; Mon, 28 Oct 2013 17:55:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id r9SHtNBT007358; Mon, 28 Oct 2013 13:55:24 -0400 From: Tom Lane To: Matthias Schmitt cc: pgsql-bugs@postgresql.org Subject: Re: Darwin: make check fails with "child process exited with exit code 134" In-reply-to: <8A202FE2-150C-43BC-A8C2-A2005DFEDC89@mmp.lu> References: <5A871654-B250-4837-99DB-EB6D44E64E65@mmp.lu> <20131028144225.GG5577@awork2.anarazel.de> <55D64809-F305-41A9-946B-8EAFF88FBE3B@mmp.lu> <20131028153750.GH5577@awork2.anarazel.de> <934199A3-FF2F-4E5E-A8FF-E6F621B6F64D@mmp.lu> <4945.1382977376@sss.pgh.pa.us> <8A202FE2-150C-43BC-A8C2-A2005DFEDC89@mmp.lu> Comments: In-reply-to Matthias Schmitt message dated "Mon, 28 Oct 2013 17:45:18 +0100" Date: Mon, 28 Oct 2013 13:55:23 -0400 Message-ID: <7357.1382982923@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Matthias Schmitt writes: > On 28.10.2013, at 17:22, Tom Lane 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=//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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs