8000 openjdk-21/25/26, ghc-9.6.7 -> gen-15; drop the glibc-bedrock-2.42-sysroot package by bryan-minimal · Pull Request #1322 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

openjdk-21/25/26, ghc-9.6.7 -> gen-15; drop the glibc-bedrock-2.42-sysroot package - #1322

Draft
bryan-minimal wants to merge 1 commit into
bryan/gen11-flipfrom
bryan/gen15-plain-loader
Draft

bryan-minimal wants to merge 1 commit into
bryan/gen11-flipfrom
bryan/gen15-plain-loader

Conversation

@bryan-minimal
Copy link
Copy Markdown
Member

On top of #1242. Closes the loader half of gominimal/bootstrap#8.

gen-15 of gominimal/bootstrap builds the amd64 openjdk-21, openjdk-25, openjdk-26 and ghc-9.6.7 against the system glibc with the gcc seed, the way every other package is built: PT_INTERP /usr/lib/ld-linux-x86-64.so.2, no RUNPATH beyond their own $ORIGIN entries, and ghc-cc a two-line gcc wrapper that adds that loader. Both machines of each arch agreed on every object (generations/gen-15/manifest.json).

  • The four pins move to gen-15 on both arches. arm64's JDK objects are the gen-13 bytes under gen-15 names; arm64's ghc-9.6.7 was rebuilt from the now-shared script and is byte-identical apart from its BUILDINFO text. Their amd64 runtime dep is glibc.
  • ghc drops the sysroot from its amd64 build deps. Its check that nothing shipped names the sysroot stays, as a tripwire.
  • glibc-bedrock-2.42-sysroot has no importers left and is deleted. glibc-bedrock-2.42 itself stays: binutils-2.46-glibc and gcc-15.2.0-glibc still import it.

Cost: openjdk-21/25/26 and ghc-9.6.7 move on both arches, so jdk-21/25/27, ghc and their dependents rebuild. Not included: the stage0-patchelf amd64 sha pin on the bootstrap side (bootstrap#8), which moves the gcc seed and so every amd64 hash; it waits for the next full amd64 rebuild.

🤖 Generated with Claude Code

…sroot package

gen-15 of gominimal/bootstrap builds the amd64 openjdk-21/25/26 and ghc-9.6.7 against the
system glibc with the gcc seed: PT_INTERP /usr/lib/ld-linux-x86-64.so.2, no RUNPATH beyond
their own $ORIGIN entries, and ghc-cc a plain gcc wrapper that adds that loader. The four pins
move to gen-15 on both arches (arm64's objects are the gen-13 bytes under their gen-15 names,
ghc-9.6.7's rebuilt from the shared script and identical apart from BUILDINFO) and their amd64
runtime dep becomes glibc. ghc drops the sysroot from its amd64 build deps; its check that
nothing shipped names the sysroot stays. Nothing imports glibc-bedrock-2.42-sysroot any more,
so the package goes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai
coderabbitai Bot commented Nov 4, 2026
Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

1 participant

0