Disable NLS and remove installed headers and documentation. The bootstrap path only needs the static make binary.
Size impact against upstream/staging:
- gnumake-static closure: 0.963 MiB -> 0.325 MiB (-0.638 MiB)
Assisted-by: codex with gpt-5.5-high
Disable NLS and keep only the bootstrap-relevant find and xargs tools. Drop locate, updatedb, frcode, documentation, locale data, and the var directory.
Size impact against upstream/staging:
- findutils-static closure: 2.830 MiB -> 0.592 MiB (-2.237 MiB)
Assisted-by: codex with gpt-5.5-high
Disable optional gawk features not used by the bootstrap path and prune installed helper files, headers, libraries, documentation, locale data, and awk library scripts. The smoke test now covers a simple awk program, not only --version.
Size impact against upstream/staging:
- gawk-static closure: 6.001 MiB -> 1.549 MiB (-4.453 MiB)
Assisted-by: codex with gpt-5.5-high
Drop unused installed libraries and headers, avoid building unused gprof/libctf components, and replace duplicate target-prefixed tools with symlinks while keeping the conventional paths available.
Size impact against upstream/staging:
- binutils-static closure: 42.482 MiB -> 21.093 MiB (-21.389 MiB)
Assisted-by: codex with gpt-5.5-high
Disable NLS and remove installed documentation from the static bash used in stage0. The bootstrap path keeps bash and the sh symlink only.
Size impact against upstream/staging:
- bash-static closure: 9.643 MiB -> 1.333 MiB (-8.310 MiB)
Assisted-by: codex with gpt-5.5-high
Force the xz build through a static libtool link, disallow the musl runtime reference, and remove unused installed libraries, headers, docs, and auxiliary decoder tools.
Size impact against upstream/staging:
- xz-static closure: 26.517 MiB -> 0.277 MiB (-26.239 MiB)
Assisted-by: codex with gpt-5.5-high
Static patchelf does not need build-compiler paths in debug or source metadata. Add deterministic compiler flags and disallow references to the bootstrap compiler.
Size impact against upstream/staging:
- patchelf-static closure: 167.634 MiB -> 1.237 MiB (-166.397 MiB)
Assisted-by: codex with gpt-5.5-high
Split minimal-bootstrap.test into bootstrap-chain, static-tools, and compiler aggregate tests. This keeps the full aggregate while allowing static-tool edits to be verified without rebuilding unrelated compiler checks.
Assisted-by: codex with gpt-5.5-high