Repository navigation
openjdk-21/25/26, ghc-9.6.7 -> gen-15; drop the glibc-bedrock-2.42-sysroot package - #1462
Draft
bryan-minimal wants to merge 2 commits into
Draft
bryan-minimal wants to merge 2 commits into
bryan-minimal wants to merge 2 commits into
Conversation
…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> (cherry picked from commit 1151b19)
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
The arm64 JDK objects are the gen-13 bytes re-published under gen-15 (bootstrap generations/gen-15/manifest.json lists each sha256 at its gen-15 url), so the url moves and the sha256 correctly stays. Comments only; no spec hash changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #1322 (same change, replayed onto main after #1242 squash-merged; that branch carried #1242's 81 commits and conflicted).
The amd64 openjdk-21/25/26 and ghc-9.6.7 tops move to gen-15 of gominimal/bootstrap, where they were rebuilt against the system glibc with the plain loader:
PT_INTERP /usr/lib/ld-linux-x86-64.so.2, only$ORIGINRUNPATHs,ghc-ccruns the gcc on PATH. They now takeglibcas their runtime dep like arm64 does, so theglibc-bedrock-2.42-sysrootpackage has no consumers and is deleted;ghcdrops it as a build dep and its build.sh keeps the "nothing shipped names the sysroot" check. The arm64 pins move to the same objects under the gen-15 prefix (ghc-9.6.7 arm64 is byte-identical to gen-14 except BUILDINFO).Moves 10 packages (
mip dump --packages, amd64, measured 2026-11-12): openjdk-21, openjdk-25, openjdk-26, ghc-9.6.7, ghc, cabal, stack, haskell-language-server, tamarin-prover and dev-language-servers. jdk-21/25/27 do not move: on main they are Temurin binaries (#1137), and nothing imports openjdk-21/25/26. gen-13 objects pinned elsewhere are unchanged.The source-hash guard flags the arm64 openjdk pins because their url moves while the sha256 stays. That is correct here: gen-15 re-publishes the gen-13 arm64 objects unchanged (bootstrap
generations/gen-15/manifest.jsonlists each sha256 at its gen-15 url), so each carries a# source-hash-guard: allowcomment.After this, nothing in pkgs reads the hex0 → stage0-* → glibc-bedrock-2.42 chain; #1442 removes its last three orphans and the remaining 24 can go in one follow-up PR.
🤖 Generated with Claude Code