Commit Graph

6 Commits

Author SHA1 Message Date
Aleksi Hannula
e8532079fa minimal-bootstrap.patchelf-static: 0.18.0 -> 0.19.1 2026-08-01 09:17:23 +03:00
Aleksi Hannula
745f12467c minimal-bootstrap: Fix tools in preparation for early cross-compilation
Various packages under minimal-bootstrap explicitly use the musl gcc
wrapper (especially the *-static packages).

In #494106, the desire is to allow these packages to run on a host
platform which may differ from the bootstrap seed platform. That host
platform may be a non-musl platform, and furthermore musl may not even
be available on the desired host architecture.

This change aims to make the packages more generic wrt libc. It is
extracted out of #494106.
2026-06-17 13:34:53 +03:00
Aliaksandr
d250f7fa96 minimal-bootstrap: trim patchelf-static output
Remove installed shell completion, documentation, and man page. The stage0 bootstrap path only needs the static patchelf binary.

Size impact after the compiler-reference cleanup:

- patchelf-static closure: 1.237 MiB -> 1.225 MiB (-0.012 MiB)

Assisted-by: codex with gpt-5.5-high
2026-06-08 00:09:41 +03:00
Aliaksandr
a540814c6f minimal-bootstrap: drop patchelf compiler reference
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
2026-06-07 23:27:04 +03:00
Aleksi Hannula
37b28b8958 minimal-bootstrap: speed up ./configure
By default, stdenv runs configure using --disable-dependency-tracking.
This commit adds the same flag to most manual invocations of autotools
configure scripts in minimal-bootstrap.

However, the flag does not apply to musl & zlib, which come with
handwritten configure scripts. It also does not apply to Python, where
the dependency tracking feature is already disabled in automake config.
2026-01-14 22:47:35 +02:00
Emily Trau
4049a1478f minimal-bootstrap.patchelf-static: init at 0.18.0 2025-12-17 12:41:19 -05:00