Skip to content

gnat13: fix patch evaluation - #525243

Merged
reckenrode merged 1 commit into
NixOS:stagingfrom
sempiternal-aurora:fix-gnat13-build
Jun 5, 2026
Merged

reckenrode merged 1 commit into
NixOS:stagingfrom
sempiternal-aurora:fix-gnat13-build

Conversation

@sempiternal-aurora

Copy link
Copy Markdown
Contributor

The patch added in #522847 changed the names of functions added by the iains gcc darwin patches. Thus, they don't apply cleanly to a linux source. This PR adds a check to ensure that they are only added when the iains gcc patches are added. Most likely this means the patches arise from a mismatch between the iains patches for 13.2.0 and 13.4.0.

Things done

@sempiternal-aurora

Copy link
Copy Markdown
Contributor Author

@reckenrode @zinzilulo Just a quick little thing. Noticed this while building #525156

@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: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels May 28, 2026
@sempiternal-aurora

Copy link
Copy Markdown
Contributor Author

@reckenrode is this good to merge? Is there anything else you want? This does fix the build on x86_64-linux, and keeps the build on aarch64-darwin passing. x86_64-darwin is failing in an unrelated way, and will hopefully be fixed by #519065. Haven't tested on aarch64-linux, but based on the x86_64-linux fixes I would imagine it would also be broken before, and then fixed after this patch.

@zinzilulo

Copy link
Copy Markdown
Contributor

@reckenrode is this good to merge? Is there anything else you want? This does fix the build on x86_64-linux, and keeps the build on aarch64-darwin passing. x86_64-darwin is failing in an unrelated way, and will hopefully be fixed by #519065. Haven't tested on aarch64-linux, but based on the x86_64-linux fixes I would imagine it would also be broken before, and then fixed after this patch.

aarch64-linux doesn't currently have a GNAT 13 bootstrap binary, so this change doesn't really affect that platform. We should probably mark it as broken, but I don't think it's a concern for this PR.

The patch only applies on top of the iains gcc patchset, as it modifies
the abi added by that patchset.
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/6997

@reckenrode reckenrode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reckenrode is this good to merge? Is there anything else you want? This does fix the build on x86_64-linux, and keeps the build on aarch64-darwin passing. x86_64-darwin is failing in an unrelated way, and will hopefully be fixed by #519065. Haven't tested on aarch64-linux, but based on the x86_64-linux fixes I would imagine it would also be broken before, and then fixed after this patch.

No other concerns from me.

@reckenrode
reckenrode added this pull request to the merge queue Jun 5, 2026
Merged via the queue into NixOS:staging with commit 76d39ca Jun 5, 2026
28 of 30 checks passed
@sempiternal-aurora
sempiternal-aurora deleted the fix-gnat13-build branch June 5, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants