Skip to content

binutils, ghc-9.6.7: amd64 onto gen-16's plain-loader objects (world rebuild; needs gen-16 published) - #1499

Closed
bryan-minimal wants to merge 2 commits into
mainfrom
gen16-repin
Closed

bryan-minimal wants to merge 2 commits into
mainfrom
gen16-repin

Conversation

@bryan-minimal

Copy link
Copy Markdown
Member

Repins the two amd64 bootstrap objects that gen-16 changed. Nothing else moves: gen-16 is add-only, and every other pin stays on its byte-identical gen-13 or gen-15 object (no pkgs-flip.py run).

package arch from to
binutils (replace_on_cycle) amd64 gen-13 binutils-2.46-glibc 7fe673db… gen-16 binutils-2.46-glibc-seed 741ece75…
ghc-9.6.7 amd64 gen-15 fd4510bb… gen-16 fc0d0c2b…

arm64 is unchanged. Its binutils was never on the bedrock loader, and gen-16's arm64 ghc-9.6.7 is byte-identical to the gen-15 object pinned now (1fbf1656…).

Why

The gen-13 amd64 binutils object named /usr/lib/glibc-bedrock-2.42/lib as the PT_INTERP and RUNPATH on all 22 of its ELFs. A build without the bedrock tree can't exec as. minimermetic's hermetic glibc pass hit exactly that, and it gates 304 of its queue tasks. bootstrap#12 published the same binutils as a new leaf, binutils-2.46-glibc-seed, on the plain /usr/lib/ld-linux-x86-64.so.2 loader with no RUNPATH, behind a build-time guard against any glibc-bedrock reference. Its outputs use the same globs (usr/bin, usr/lib, usr/include), so only the url/sha change. It needs the same thing gcc's gen-13 plain-loader cycle-breaker already relies on: the plain loader and libc in /usr/lib.

ghc-9.6.7 amd64: Hadrian built unlit-ghc-9.6.7 and lib/bin/unlit with ghc-9.2.8's ghc-cc, which appended the bedrock loader. gen-16 rewrites them to the plain loader.

Evidence (bootstrap side, gen-16 manifest = bootstrap#13)

  • Built on four lab VMs, two per arch. The two amd64 machines produced identical trees and tarballs.
  • ELF scan of the staged objects: the seed has 22 ELFs and ghc 55. None names glibc-bedrock, and their programs use /usr/lib/ld-linux-x86-64.so.2.

Before merge

  • Bryan publishes gen-16 (sh publish-gen16.sh, bootstrap branch gen-16). Until then these URLs 404, which is why this is a draft.
  • Rebuild scope: effectively the world on amd64. binutils sits in the gcc/glibc cycle, so its cycle-breaker's hash moves every amd64 spec. ghc-9.6.7 moves ghc and its dependents. Queue this on its own, not alongside another world rebuild.

Follows gominimal/bootstrap#12 and #13. Pairs with #1493 (rustc-1.99.1 from the same generation).

🤖 Generated with Claude Code

Loading
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.

2 participants