Skip to content

swift: fix build with Clang 23 - #593194

Open
reckenrode wants to merge 3 commits into
NixOS:masterfrom
reckenrode:push-xkuzprlskzpu
Open

reckenrode wants to merge 3 commits into
NixOS:masterfrom
reckenrode:push-xkuzprlskzpu

Conversation

@reckenrode

Copy link
Copy Markdown
Contributor

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from Samasaur1 and stephank November 25, 2026 18:04
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Nov 25, 2026
Using LLD from Nixpkgs with Swift crashes during LTO. Using the Swift
LLVM fork’s LLD with Clang from Nixpgks fails due to invalid bitcode.
Only use LTO (and LLD) when the Swift LLVM fork’s version is at least as
new as the one in Nixpkgs, which should support upstream’s bitcode plus
whatever changes have been made to support Swift.
Using LLD from Nixpkgs with Swift crashes during LTO. Using the Swift
LLVM fork’s LLD with Clang from Nixpgks fails due to invalid bitcode.
Only use LTO (and LLD) when the Swift LLVM fork’s version is at least as
new as the one in Nixpkgs, which should support upstream’s bitcode plus
whatever changes have been made to support Swift.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant