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 1kfw26-0002wG-Ld for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Nov 2020 02:20:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfw23-00061A-Ne for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Nov 2020 02:20:15 +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 1kfw23-000613-Gp for pgsql-hackers@lists.postgresql.org; Fri, 20 Nov 2020 02:20:15 +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 1kfw21-0001nF-AH for pgsql-hackers@lists.postgresql.org; Fri, 20 Nov 2020 02:20:14 +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 0AK2KBmB1260725; Thu, 19 Nov 2020 21:20:11 -0500 From: Tom Lane To: James Hilliard cc: pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH 1/1] Fix compilation on mac with Xcode >= 11.4. In-reply-to: References: <20201120003314.20560-1-james.hilliard1@gmail.com> <1256728.1605832823@sss.pgh.pa.us> <1257704.1605834289@sss.pgh.pa.us> Comments: In-reply-to James Hilliard message dated "Thu, 19 Nov 2020 18:55:18 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1260723.1605838811.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 19 Nov 2020 21:20:11 -0500 Message-ID: <1260724.1605838811@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk James Hilliard writes: > On Thu, Nov 19, 2020 at 6:04 PM Tom Lane wrote: >> The cases we've got in the buildfarm are Xcode 12.0 on Catalina (10.15.= 7) >> and Xcode 12.2 on Big Sur (11.0.1 ... although that one is ARM not Inte= l). >> Maybe you're found some corner case in between those, but I guess it's >> more likely due to a configuration choice. > I guess to verify one could try compiling with Xcode 12.2 on catalina 10= .15.7. To check this, I updated my laptop (still on Catalina 10.15.7) to latest Xcode, 12.2 (12B45b), from 12.0 --- and behold, I could duplicate it: Undefined symbols for architecture x86_64: "___darwin_check_fd_set_overflow", referenced from: _ClientAuthentication in auth.o _pgstat_init in pgstat.o _ServerLoop in postmaster.o ld: symbol(s) not found for architecture x86_64 However ... it then occurred to me to blow away my ccache and accache, and after rebuilding from scratch, everything's fine. So, are you using ccache? regards, tom lane