pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael.paquier@gmail.com>
To: Thomas Trepl <thomas@linuxfromscratch.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Compile issue with glibc-2.27 (copy_file_range)
Date: Sun, 4 Feb 2018 23:06:31 +0900
Message-ID: <20180204140631.GA21244@paquier.xyz> (raw)
In-Reply-To: <1517750498.1357.24.camel@linuxfromscratch.org>
References: <1517750498.1357.24.camel@linuxfromscratch.org>

On Sun, Feb 04, 2018 at 02:21:38PM +0100, Thomas Trepl wrote:
> according to changlelog of glibc-2.27 they introduced a new function
> named "copy_file_range".

Yes, some buildfarm machines caught that already.  Here is the commit
fixing it, which will be available in next week's round of minor
releases:

commit: 3e68686e2c55799234ecd020bd1621f913d65475
author: Andres Freund <andres@anarazel.de>
date: Wed, 3 Jan 2018 12:40:32 -0800
Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall.

Upcoming versions of glibc will contain copy_file_range(2), a wrapper
around a new linux syscall for in-kernel copying of data ranges. This
conflicts with pg_rewinds function of the same name.

Therefore rename pg_rewinds version. As our version isn't a generic
copying facility we decided to choose a rewind specific function name.

Per buildfarm animal caiman and subsequent discussion with Tom Lane.

Author: Andres Freund
Discussion:
    https://postgr.es/m/20180103033425.w7jkljth3e26sduc@alap3.anarazel.de
    https://postgr.es/m/31122.1514951044@sss.pgh.pa.us
Backpatch: 9.5-, where pg_rewind was introduced

This report reminds me that I haven't patched yet the version of
pg_rewind for REL9_4_STABLE and REL9_3_STABLE that I maintain for
VMware.  Will do that now..
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (3+ messages)

Message-ID: <20180204140631.GA21244@paquier.xyz>
Permalink:  ../20180204140631.GA21244@paquier.xyz/
Also on:    postgresql.org/message-id/20180204140631.GA21244@paquier.xyz

 · 

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: michael.paquier@gmail.com, thomas@linuxfromscratch.org
  Subject: Re: Compile issue with glibc-2.27 (copy_file_range)
  In-Reply-To: <20180204140631.GA21244@paquier.xyz>
  References: <1517750498.1357.24.camel@linuxfromscratch.org> <20180204140631.GA21244@paquier.xyz>

* 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