Skip to content

Swift update mk2: rebase staging - #1

Closed
eveeifyeve wants to merge 2512 commits into
reckenrode:swift-update-mk2from
DigitalBrewStudios:swift-update-mk2
Closed

eveeifyeve wants to merge 2512 commits into
reckenrode:swift-update-mk2from
DigitalBrewStudios:swift-update-mk2

Conversation

@eveeifyeve

Copy link
Copy Markdown

Just rebased from latest staging.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

dotlambda and others added 30 commits February 28, 2026 15:21
SuperSandro2000 and others added 25 commits March 1, 2026 04:02
0.1.0 points exectly to commit a1d1a7b so no change to src hash.
@eveeifyeve

Copy link
Copy Markdown
Author

@reckenrode Uses jj to force push so it won't work with this pr. Just messaged me about in matrix, if anyone is reading about this.

@eveeifyeve eveeifyeve closed this Mar 1, 2026
@eveeifyeve
eveeifyeve deleted the swift-update-mk2 branch March 1, 2026 11:44
@reckenrode

Copy link
Copy Markdown
Owner

Also, just to add, I rebase my branch weekly. I would do it more often, but I want to keep full bootstraps down to save time and space. An update should be coming soon.

reckenrode pushed a commit that referenced this pull request Aug 23, 2026
`force-regular-dirs.patch` and `system-libbacktrace.patch` both rewrite
the same region of `libgfortran/Makefile.am`, and applied in that order
the second one fails:

    patching file libgfortran/Makefile.am
    Hunk #1 FAILED at 48.

`force-regular-dirs.patch` turns `toolexeclib_LTLIBRARIES` into
`lib_LTLIBRARIES`, and that line is *context* for the hunk that swaps
`../libbacktrace/libbacktrace.la` for `$(LIBBACKTRACE_LIB)` just below
it. So the hunk can never apply afterwards.

Apply `system-libbacktrace.patch` first and rebase ours onto the result,
rather than the other way around: that one is the version posted to
gcc-patches and is best kept as posted, while this one is ours to move.
The rebased patch makes exactly the same edits -- only context lines and
offsets change.

This was latent rather than new: nothing rebuilt `libgfortran` from
source until the `gcc` changes on this branch forced it to.

Assisted-by: Claude Code (Claude Opus 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.