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 1kfwTw-0003ys-0r for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Nov 2020 02:49:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfwTu-0001fy-IX for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Nov 2020 02:49:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfwTu-0001fq-CP for pgsql-hackers@lists.postgresql.org; Fri, 20 Nov 2020 02:49:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfwTn-0008At-Ce for pgsql-hackers@lists.postgresql.org; Fri, 20 Nov 2020 02:49:01 +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 0AK2mqIa1261864; Thu, 19 Nov 2020 21:48:52 -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: <1260724.1605838811@sss.pgh.pa.us> References: <20201120003314.20560-1-james.hilliard1@gmail.com> <1256728.1605832823@sss.pgh.pa.us> <1257704.1605834289@sss.pgh.pa.us> <1260724.1605838811@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Thu, 19 Nov 2020 21:20:11 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1261862.1605840532.1@sss.pgh.pa.us> Date: Thu, 19 Nov 2020 21:48:52 -0500 Message-ID: <1261863.1605840532@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > 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? Oh, scratch that, I fat-fingered the experiment somehow. The issue is still there. Still, I'm hesitant to apply the fix you suggest, because of the law of unintended consequences. In particular, I'm afraid that using -isysroot in the link step might result in executables that are bound to that sysroot and will not work if it's not there --- thus causing a problem for packagers trying to distribute PG to non-developers. We had a great deal of trouble in the initial experiments with -isysroot, cf https://www.postgresql.org/message-id/flat/20840.1537850987%40sss.pgh.pa.us so I'm not that eager to mess with it. I'm inclined to think that this is more a case of "Apple broke ABI and they ought to fix that". regards, tom lane