Skip to main content

Phase 17. Reproducibility gate

FieldValue
MEPMEP-45 §Phases · Phase 17
StatusNOT STARTED
Started
Landed
Tracking issue
Tracking PR

Gate

Each release-profile fixture, rebuilt twice on two different CI hosts (Linux CI runner + macOS CI runner cross-building to a third triple), produces byte-identical binaries (SHA-256 equality).

Goal-alignment audit

To be written before sub-phase 17.0 starts. Reproducibility is the user-facing supply-chain story; without it, the AOT binary cannot ground a verifiable release. Aligns.

Sub-phases

#ScopeStatusCommitPR
17.0SOURCE_DATE_EPOCH honoured; __DATE__ / __TIME__ never embeddedNOT STARTED
17.1-ffile-prefix-map=$PWD=. and -fdebug-prefix-map=$PWD=. strip absolute pathsNOT STARTED
17.2Function/global ordering by sorted IR identifier (never hash-map iteration order)NOT STARTED
17.3All non-libc deps static-linked; bundled toolchain pinned by SHA-256NOT STARTED
17.4Sample artefact SHA-256 published per release tagNOT STARTED
17.5.github/workflows/transpiler3-c-repro.yml rebuilds the corpus twice and diffs SHA-256NOT STARTED

Decisions made

Fill in along the way.

Deferred work

Bit-exact reproducibility under --apex (cosmocc): tracked in Phase 13.4 if upstream embed signature drifts.

Closeout notes

Fill in after gate green.