pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: seebs@seebs.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7816: test for compiler output produces bogus results
Date: Mon, 21 Jan 2013 00:02:50 -0500
Message-ID: <9064.1358744570@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TwnQd-0006iq-Sk@wrigleys.postgresql.org>
References: <E1TwnQd-0006iq-Sk@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (4+ messages)  latest in thread

Message-ID: <9064.1358744570@sss.pgh.pa.us>
Permalink:  ../9064.1358744570@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9064.1358744570@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, seebs@seebs.net
  Subject: Re: BUG #7816: test for compiler output produces bogus results
  In-Reply-To: <9064.1358744570@sss.pgh.pa.us>
  References: <E1TwnQd-0006iq-Sk@wrigleys.postgresql.org> <9064.1358744570@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox