Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaq9F-0001BS-Ce for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2013 16:58:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vaq9E-0005T9-Ir for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2013 16:58:36 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaq9D-0005T3-Q0 for pgsql-bugs@postgresql.org; Mon, 28 Oct 2013 16:58:35 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaq99-0004ey-K3 for pgsql-bugs@postgresql.org; Mon, 28 Oct 2013 16:58:35 +0000 Received: from anarazel.de (p5DDC7390.dip0.t-ipconnect.de [93.220.115.144]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LjODj-1W6KHT46hj-00dafw; Mon, 28 Oct 2013 17:58:29 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 4F42A102004; Mon, 28 Oct 2013 17:58:28 +0100 (CET) Date: Mon, 28 Oct 2013 17:58:28 +0100 From: Andres Freund To: Tom Lane Cc: Matthias Schmitt , pgsql-bugs@postgresql.org Subject: Re: Darwin: make check fails with "child process exited with exit code 134" Message-ID: <20131028165828.GA20248@awork2.anarazel.de> 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> <20131028162652.GB14980@awork2.anarazel.de> <5509.1382978343@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5509.1382978343@sss.pgh.pa.us> X-Provags-ID: V02:K0:XPjIrwIDkFXfKT/WJCYq5DjBIs+/kOgS3MN2e7BE3sy Tos3PsoskIIkdVSuk3sBpiDr44wr6Bqmiv26k0iM7J3Hv1WEvF /uE9+Tw3D3Sh8tT85/0ZVYT25YV6XsJ/rLlWPEOOotCY6gR5UT nZpnzSaFoBxWrYMpC+rq2gs6QAgXlOta1hsiVfZm+rJrPSEgJE gQpE7hgYh0tL4IuapNK9fDNe2zTJcZjQZccokkg3TuASWu+mbu JXbKd+sB/c4hZhCTMkkLYVFYnGnKn6tLRJsTKThFxFfmZG3D4i RPtUBtyecSkC4BQmXReM1RPM0tv8x06d0JSvq0bkgYecPI2KtZ 9ihD/dQm9EMbUO2zGRUVF30PGQvRPm2Tj5GX6+fcY X-Pg-Spam-Score: -1.9 (-) 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 On 2013-10-28 12:39:03 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2013-10-28 12:22:56 -0400, 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? > > > Did you maybe compile using gcc or at least the gcc compatible frontend > > instead of clang? > > Well, I have > > CC = gcc > > which is what configure will pick by default, but I see > > $ gcc -v > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > Target: x86_64-apple-darwin13.0.0 > Thread model: posix > > so it's some variant of LLVM/clang. In any case, Matthias claimed it > didn't make a difference which compiler he picked, and I'm pushing > back on that assertion. A quick search reveals that we're not the only ones suffering from this: https://issues.apache.org/bugzilla/show_bug.cgi?id=55696 http://lists.gnu.org/archive/html/bug-bash/2013-07/msg00011.html There's a reference around to the code in question: http://www.opensource.apple.com/source/Libc/Libc-997.1.1/secure/strcpy_chk.c And it seems to be enabled by: #if defined (__GNUC__) && _FORTIFY_SOURCE > 0 && !defined (__cplusplus) /* Security checking functions. */ #include #endif in http://www.opensource.apple.com/source/Libc/Libc-997.1.1/include/string.h So, if I understand it correctly, this only happens if _FORTIFY_SOURCE is enabled. Not sure what does that on Matthias but not your machine. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs