From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [PATCH 1/1] Fix compilation on mac with Xcode >= 11.4.
Date: Thu, 19 Nov 2020 21:20:11 -0500
Message-ID: <1260724.1605838811@sss.pgh.pa.us> (raw)
In-Reply-To: <CADvTj4rUUeonoofadhhBo9b9TV3DDqQEg9n1NOfWP4V80PqK4Q@mail.gmail.com>
References: <20201120003314.20560-1-james.hilliard1@gmail.com>
<1256728.1605832823@sss.pgh.pa.us>
<CADvTj4pTDEvpK3s5be6RZHs7yeRmpoCMjWKaZdjCFCce_K+1eQ@mail.gmail.com>
<1257704.1605834289@sss.pgh.pa.us>
<CADvTj4rUUeonoofadhhBo9b9TV3DDqQEg9n1NOfWP4V80PqK4Q@mail.gmail.com>
James Hilliard <james.hilliard1@gmail.com> writes:
> On Thu, Nov 19, 2020 at 6:04 PM Tom Lane <tgl@sss.pgh.pa.us> 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 Intel).
>> 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
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, james.hilliard1@gmail.com, 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>
* 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