Re: Fix port/pg_iovec.h building extensions on x86_64-darwin - Mailing list pgsql-hackers

From Wolfgang Walther
Subject Re: Fix port/pg_iovec.h building extensions on x86_64-darwin
Date
Msg-id 8edf3c6b-f01b-4054-b943-6f92de4139b9@technowledgy.de
Whole thread Raw
In response to Re: Fix port/pg_iovec.h building extensions on x86_64-darwin  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Thomas Munro:
> Out of curiosity, is nixos deliberately using an old macOS deployment
> target or SDK, 10.something?  I'm just wondering if our feature
> detection is working correctly on macOS/x86, because I'd expect real
> preadv/pwritev to be there from 11 onwards, and 11 is already out of
> support by Apple.

There has been a lot of work on the macOS SDK in nixpkgs lately, but it 
seems that the default for x86-64 is still v10 [1], yes:

 > x86_64-darwin uses the 10.12 SDK by default, but some software is not
 > compatible with that version of the SDK. In that case, the 11.0 SDK
 > used by aarch64-darwin is available for use on x86_64-darwin. [...]

It seems like the goal is to bump x86-64 to v11 in the next release 
cycle [2].

Best,

Wolfgang

[1]: https://nixos.org/manual/nixpkgs/unstable/#sec-darwin
[2]: 

https://discourse.nixos.org/t/on-the-future-of-darwin-sdks-or-how-you-can-stop-worrying-and-put-the-sdk-in-build-inputs/50574/11



pgsql-hackers by date:

Previous
From: Abhiman Panwar
Date:
Subject: How to get started with contribution
Next
From: Tomas Vondra
Date:
Subject: Re: logical replication: restart_lsn can go backwards (and more), seems broken since 9.4