pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Back-patch updated thread flags tests into 9.4 and 9.5.
Date: Mon, 19 Nov 2018 19:25:12 +0000
Message-ID: <E1gOpAW-0002tM-8I@gemulon.postgresql.org> (raw)

Back-patch updated thread flags tests into 9.4 and 9.5.

This commit back-patches these 9.6-era commits into 9.4 and 9.5:

e97af6c8b Replace our hacked version of ax_pthread.m4 with latest upstream version.
3b14a17c8 Move pthread-tests earlier in the autoconf script.
01051a987 Use AS_IF rather than plain shell "if" in pthread-check.
a2932283c Update ax_pthread.m4 to an experimental draft version from upstream.

The net result is to sync configure's checks for threading-related
flags and libraries with the version we've been using since 9.6.
The motivation for doing so now is that it seems the older code does
not work correctly on very recent RHEL7/ppc64, as evidenced by
buildfarm member quokka.  The newer code is pretty battle-hardened
by now, so this seems like a low-risk fix.

Discussion: https://postgr.es/m/3320.1542647565@sss.pgh.pa.us

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7c86b94311ecaccc525be0581a17a15d46692ffb

Modified Files
--------------
aclocal.m4                 |    2 +-
config/acx_pthread.m4      |  228 --
config/ax_pthread.m4       |  374 +++
configure                  | 7933 ++++++++++++++++++++++----------------------
configure.in               |  162 +-
src/include/pg_config.h.in |    5 +-
6 files changed, 4489 insertions(+), 4215 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1gOpAW-0002tM-8I@gemulon.postgresql.org>
Permalink:  ../E1gOpAW-0002tM-8I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gOpAW-0002tM-8I@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Back-patch updated thread flags tests into 9.4 and 9.5.
  In-Reply-To: <E1gOpAW-0002tM-8I@gemulon.postgresql.org>
  References: <E1gOpAW-0002tM-8I@gemulon.postgresql.org>

* 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