Repository navigation
darwin.libcxx: 21.1.6+apple-sdk-26.5 -> 22.1.6+apple-sdk-27.0 - #567433
Conversation
eb54a27 to
be6a37c
Compare
Scrumplex
left a comment
There was a problem hiding this comment.
Changes LGTM. I don't have enough experience to merge this though.
in-tree patch is functionally identical to https://github.com/llvm/llvm-project/commit/a558d656043734cc4d02e0a0a12e4c308c28f8c7.diff
Requesting review from @NixOS/llvm again to get some eyes on this before the feature freeze in two weeks.
For the release:
IMO the changes to LLVM are non-breaking so we can set the dead line for this to the regular feature freeze are libcxx changes might be breaking.
booxter
left a comment
There was a problem hiding this comment.
Confirmed I can build and compile a simple C++ program with it.
| @@ -1,16 +1,16 @@ | |||
| { | |||
| # Use the text-based stubs and headers from the latest SDK (currently 15.x). This is safe because | |||
| # Use the text-based stubs and headers from the latest SDK (currently 27.x). This is safe because | |||
There was a problem hiding this comment.
nit: this seems to be a comment which is prone to rot. I'd drop the version instead.
be6a37c to
d1c9269
Compare
These specializations are technically UB. They were accepted by older versions of libc++, but libc++ 22 is more strict, which causes the current LLVM version to fail to build. Because Darwin links against the system libc++, it will need these specializations fixed when it updates to the system libc++ headers in the 27.0 SDK, which come from LLVM 22.
d1c9269 to
68d4b6e
Compare
…sult This fixes building Lix on Darwin after NixOS#567433.
After #564039, it’s time to update the system libc++ on Darwin. This will be needed by Swift 6.4 to link against the 27.0 SDK. Otherwise, using C++ with the 27.0 SDK will fail to compile.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.