Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eiKwO-0001EN-0U for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Feb 2018 14:06:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiKwN-0005fZ-1Q for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Feb 2018 14:06:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eiKwM-0005fP-Op for pgsql-bugs@lists.postgresql.org; Sun, 04 Feb 2018 14:06:42 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eiKwJ-0008P6-5M for pgsql-bugs@postgresql.org; Sun, 04 Feb 2018 14:06:41 +0000 Received: by mail-pg0-x241.google.com with SMTP id 141so5752663pgd.8 for ; Sun, 04 Feb 2018 06:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MunJjvoiD7B7TgPM/HoX03/Pj3PEeLY98DLsCox0lPU=; b=Bw1Mffv19N8iLVKbGe5PIv2nqHg1TJMcJaQtCWfejZs8NXgIL+55Ku1t84cD+4SSAZ t6Vf2ji8UAbnGqNqDeI09PZk1kysr20xGeWz6SkAG6JcnmwrmMLy0edN0Kj7A6+pWfxT RRtAHyhVtM4ItP3ytFmmAw3tyzthu0jgNx5bLALjVfBHmFTzz9Rc6qiwD51M1bL+0CLz sNdWKeIBxo6WnOIPM1kPfWPBAJzigNRQVsLMv0NQ6BWuTuTE0T+F9lY9WqI4GYHQ11tA 8mCBQFj1FVMNJobIc/iM1pDN7iBNnTpnXezgV386PN8OLrMiCbtCW/b/GffCzDsAvO2G p45g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MunJjvoiD7B7TgPM/HoX03/Pj3PEeLY98DLsCox0lPU=; b=Y+BnqsUHLHI9XYFCw4EoRXw6jFFdWTGcX+t4/p+RlfTwtTYEtplgkeom/dFgPIFPKF l9GVYO4Jg/bDG7DQjIT6fw5C7fTng7xrZIi7QFo/JBycCAzEs+fxKJb5OUoYLei8AAtZ FXrbS1li+FYvD75JLzzraBWN8dXY7p3mcjDrZAAkSaQi2Ta1FhaU5i5CZ2eCQIUpnkQR MgmXWz+omJW3hdK4Mdln3wfqSC/Jvaj2+6d62s9eUkgzv+lRUgcIcjRayqZ60YeChMZJ 4pYljGTj07OHYeyURvMArSEqH61l4hP4m4JXIZ8ZIHIch7PZgRN4SHboN972PYQi4yj2 BegQ== X-Gm-Message-State: AKwxytetCu8leV2FtH5vLtHb9hYSSGd3fRBJMbQhu9KqzMPXBaTt/FXH O+R4Ib1SUq6c1+RC91WGSv4= X-Google-Smtp-Source: AH8x224PLX//BguaZy5Ed81hzQYznvaUYLXDXXPOzA56FNyB+C2PHw1UYN05VsKWyt8hU8IEj7mmnw== X-Received: by 10.98.103.131 with SMTP id t3mr10308670pfj.53.1517753197546; Sun, 04 Feb 2018 06:06:37 -0800 (PST) Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp. [61.215.137.162]) by smtp.gmail.com with ESMTPSA id m65sm13266597pfc.150.2018.02.04.06.06.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 06:06:36 -0800 (PST) Date: Sun, 4 Feb 2018 23:06:31 +0900 From: Michael Paquier To: Thomas Trepl Cc: pgsql-bugs@postgresql.org Subject: Re: Compile issue with glibc-2.27 (copy_file_range) Message-ID: <20180204140631.GA21244@paquier.xyz> References: <1517750498.1357.24.camel@linuxfromscratch.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <1517750498.1357.24.camel@linuxfromscratch.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlp3E2cACgkQnvQgOdby QH2aCw//UP7qH+eFQ7JGkYs4tC5uQuupKp1j4KRZ7HMjV3X3WnvqUuHnVJ/uf9E8 xtMvBXh+l2bO+O50Roq712vDBFUXEOUUoWaGhr44yVciUDzDBxaDiIgYsXzPld79 1d1XxsOHZT3VQZFNQ2is9ShCmf4FaNGQvOyG0/4YsYGcm3uLOUvLCb99ws/X0oJp cjUi2uhKfPUXxOTDr0fXKM8LjovkVUYkMWAIa1KwEaTmqtju1v//wib9LGf0uG3t sxmqmhHiRHvgaphU47/IfOaTexQXCvoa1aDkLcDI/6qaLCvQRZyViedUU9JiGXb3 YH+PkJ3uOJmHaYRaSYin7Tvjb9/yls12BttGTwnYpeZ5uSWYe4vZfKvEJMmrOA12 s70zG7BuflZmdVw9ZMk9lqu6vQOTCARQ3NAw5nvx/L+SC8QfNQRFrSJizHLvKOYK dj+iryS1yU3QxZzJDfM3HbY21oBIceyj5pQCprUlD9cly7WQIPCyY64hjDqcXo/V qKtAL+NXufzNcDLlOq7b/4hOUKAFtF2n15nrV3xokG42n8P+KTkTv57ytZ1erxkf 88C+RC3upnpTDbOzRtYWqtjF1fdsyE9LM80rRryhEGunmOo8yN0YoaOPcUmEn6z0 EK7P45gz8a4LMpwwHCa2RPp4B3OZpRN1TR53lQrFv+GF/YazXNc= =T+7R -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--