Re: [PATCH 1/1] Fix compilation on mac with Xcode >= 11.4.

From: James Hilliard <james(dot)hilliard1(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH 1/1] Fix compilation on mac with Xcode >= 11.4.
Date: 2020-11-20 02:30:45
Message-ID: CADvTj4qeAn3gpeATR91sT3D3=a7qvLcjz0yq4=nM-R4QaA5tyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 19, 2020 at 7:20 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> James Hilliard <james(dot)hilliard1(at)gmail(dot)com> writes:
> > On Thu, Nov 19, 2020 at 6:04 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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?
Don't think so, I first hit this issue on a clean clone of master and
I don't think
I even have ccache or accache(not familiar with this variant) installed at all.
Are you sure something else didn't get changed when you cleared the caches?
Is configure using the right SDK directory?
>
> regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-11-20 02:31:15 Re: Move OpenSSL random under USE_OPENSSL_RANDOM
Previous Message Masahiko Sawada 2020-11-20 02:24:16 Re: [HACKERS] logical decoding of two-phase transactions