Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzjrw-0008Bi-Gm for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 17:23:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzjrv-00087M-FI for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2021 17:23:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzjrv-00087E-8Q for pgsql-hackers@lists.postgresql.org; Wed, 13 Jan 2021 17:23:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzjro-0004Qw-Vg for pgsql-hackers@postgresql.org; Wed, 13 Jan 2021 17:23:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10DHNRNl1286061; Wed, 13 Jan 2021 12:23:27 -0500 From: Tom Lane To: Thomas Munro cc: Sergey Shinderuk , pgsql-hackers Subject: Re: pg_preadv() and pg_pwritev() In-reply-to: <1283127.1610554395@sss.pgh.pa.us> References: <341497.1608420857@sss.pgh.pa.us> <20201220224040.evr5pduibvm6dze5@alap3.anarazel.de> <448b3cb5-0ba0-6dc5-63c7-789e4eebc40b@postgrespro.ru> <1283127.1610554395@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 13 Jan 2021 11:13:15 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1286059.1610558607.1@sss.pgh.pa.us> Date: Wed, 13 Jan 2021 12:23:27 -0500 Message-ID: <1286060.1610558607@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Sergey Shinderuk writes: >>>> note: 'pwritev' has been marked as being introduced in macOS 11.0 here, >>>> but the deployment target is macOS 10.15.0 > The symptoms sound consistent with using bleeding-edge Xcode on a > Catalina machine ... please report exact OS and Xcode versions. I can reproduce these warnings on Big Sur + Xcode 12.3 by doing export MACOSX_DEPLOYMENT_TARGET=10.15 before building; however the executable runs anyway, which I guess is unsurprising. AFAICS from config.log, configure has no idea that anything is wrong. (BTW, at least the rather-old version of ccache I'm using does not seem to realize that that environment variable is significant; I had to clear ~/.ccache to get consistent results.) We've had issues before with weird results from Xcode versions newer than the underlying OS. In the past we've been able to work around that, but I'm not sure that I see a way here. regards, tom lane