Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx9X7-00028B-4E for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 05:02:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tx9X6-0003pG-9b for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Jan 2013 05:02:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx9X5-0003pA-FZ for pgsql-bugs@postgresql.org; Mon, 21 Jan 2013 05:02:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx9X1-00005a-Tb for pgsql-bugs@postgresql.org; Mon, 21 Jan 2013 05:02:55 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r0L52oS6009065; Mon, 21 Jan 2013 00:02:50 -0500 (EST) From: Tom Lane To: seebs@seebs.net cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7816: test for compiler output produces bogus results In-reply-to: References: Comments: In-reply-to seebs@seebs.net message dated "Sun, 20 Jan 2013 05:26:47 +0000" Date: Mon, 21 Jan 2013 00:02:50 -0500 Message-ID: <9064.1358744570@sss.pgh.pa.us> 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 seebs@seebs.net writes: > Your modified acx_pthread.m4 tests for any compiler output to stderr at all, > and considers it evidence that a flag is invalid. I believe the reason we do that is that we want to find flags that will not result in the compiler generating a warning during each and every source compile. Most developers would consider such a behavior broken, and not without good reason. > This test is not actually correct, although it usually works. [ shrug... ] Given the lack of previous complaints, it works 99.999% of the time, which is about as much reliability as can be hoped for in most autoconf tests :-(. I'm afraid we can't help you without breaking it worse for a larger number of other people. 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