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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-11-20T01:04:49Z
Lists: pgsql-hackers
James Hilliard <james.hilliard1@gmail.com> writes:
> Hmm, maybe it's a more recent issue then, I took the version number
> from the qt patch assuming it was the same issue, I hit it trying to build
> master on Xcode 12.2 Build version 12B45b on Catalina version 10.15.7.

Hm, maybe you're using some unusual configure options or weird build
environment?

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.

			regards, tom lane



Commits

  1. On macOS, use -isysroot in link steps as well as compile steps.