Repository navigation
Description
The one outcome
soldr adopts reld as its default Linux linker (forge-ci/soldr#3262). That is blocked on #123's Phase 6 gate. Everything in this meta either sits on that critical path or removes debt that the gate's evidence depends on.
This meta does not own the long-horizon programs. Native COFF (#7), Mach-O (#8), MSVC/PDB (#9), incremental (#10, #11) and the daemon (#19) stay under #2. The mimalloc/llvm-ld program stays under #97 (#91, #95, #96). Nothing here should be started by re-opening those.
Wave 0 — closure audit (cheap, do first)
Some of these are believed complete; the task is to verify and close, not to build.
- ci: reject unapproved Rust dependency additions #88 — CLOSED. (reject unapproved dependency additions) —
ci/check_dependencies.py,ci/dependency-baseline.json, 5 pytest fixtures and the hygiene-job wiring all exist, and the guard fired twice in real use (it blockedwindows-sysuntil the owner approved it in feat(diagnostics): add colorized diagnostics to the native engine #144). Verify against ci: reject unapproved Rust dependency additions #88's acceptance list, then close. - Adopt mimalloc-pprof in the Wild fork; stage a minimal LLVM COFF library #92 — CLOSED as superseded. — meta(perf): externalize mimalloc-pprof and optimize the standalone LLVM COFF driver #97 states in its own text that it supersedes Adopt mimalloc-pprof in the Wild fork; stage a minimal LLVM COFF library #92. Close as superseded so the mimalloc/COFF program has one entry point.
- Bridge linkers: run + benchmark reld on Windows and macOS now by delegating to lld (rust-lld) per platform #17 (bridge linkers) — audited, stays open: BR-1/2/3/4/6 delivered, BR-5 (payload packaging) and BR-7 (native handoff) outstanding. Suggested narrowing the issue to those two. — the lld bridge is shipped and CI-proven on windows-msvc and macos-arm64 per README. Audit against the issue's acceptance and close, or list what is genuinely outstanding.
- Inventory: native engine gaps (routed to lld / ignored / unsupported) #120 (native-engine gap inventory) — audited, stays open: the flag table is still a bootstrap (26 rules, its own doc says so), so this remains the gap list until
flag_table_covers_lld_inventoryexists. — this is the input to Polylinker no-gaps gate: classify every flag, route by target not host, prove coverage before reld becomes soldr's default #123's flag table, which today has 26Dispositionentries. Fold anything still missing into the table, then close it in favor of Polylinker no-gaps gate: classify every flag, route by target not host, prove coverage before reld becomes soldr's default #123 so there is one authority. - Reconcile Polylinker no-gaps gate: classify every flag, route by target not host, prove coverage before reld becomes soldr's default #123's own checklist. Done — reconciliation posted as a comment on Polylinker no-gaps gate: classify every flag, route by target not host, prove coverage before reld becomes soldr's default #123 mapping PRs fix(bridge): propagate signal-killed child as 128+sig (reld#123 Phase 0 / D6) #134–test(acceptance): pin SHF_GNU_RETAIN survives --gc-sections (reld#123 Phase 2) #147 to checklist lines, and naming the items with no implementation at all. PRs feat(flag-table): bootstrap the declarative flag table (reld#123 Phase 1 / D1) #139–test(acceptance): pin SHF_GNU_RETAIN survives --gc-sections (reld#123 Phase 2) #147 and feat(diagnostics): colorize native diagnostics behind one helper #151 landed Phase 1 and parts of Phase 2 (flag table,
--fatal-warnings,--no-warnings/-w,--color-diagnostics,--error-limit,DF_TEXTREL, theSHF_GNU_RETAINacceptance test), but every box in the issue body is still unchecked. Tick what shipped so the remaining work is visible at a glance.
Wave 1 — the critical path (#123)
Phase 0 and Phase 2 correctness items that a search of the tree shows are still missing. Each is a silent wrong answer or a loud-but-wrong rejection today, and each wants one PR with a RED→GREEN test:
-
-C link-dead-code— rustc expresses it by omitting--gc-sections, and native reld defaultsgc_sections: true, so the request is silently violated. No test mentions it. -
-l:libfoo.aexact-name libraries — rustc emits this for+verbatim; the native resolver turns it intolib:libfoo.a.soand fails "not found". -
-z text/-z notextas a pair —DF_TEXTRELemission landed in feat(elf): emit DF_TEXTREL for text relocations (reld#123 Phase 2) #145, but-z text(lld's default: error) is still dropped andnotexthas no test. -
--no-undefined-versionnatively — rustc emits it on every cdylib, dylib and proc-macro link, so all of them leave the native engine today. - Remaining Phase 2 evidence with no test in the tree:
.deplibs,-C instrument-coverageround-trip, copy-relocation RELRO, execstack inference, andnix_rpath.rsparameterized over both engines. - Phase 3 — target-keyed routing (D2). — DONE. TargetProbe (feat(core): add TargetProbe to derive link target from argv and inputs (#178) #182) drives engine selection with
Engine::MingwLld(feat(core): TargetProbe drives engine selection; add Engine::MingwLld (#184) #190); Mach-O cross from Linux via ld64.lld and thedarwin-ccrule (soldr injects-Clinker-flavor=ld64.lld; reld fails loudly on a darwin-cc argv) in feat(core): route Mach-O by target to ld64.lld on any host; darwin-cc rule (#192) #198, recorded on soldr#3262. Cross-ship links a MinGW exe and a Mach-O with reld on Linux and runs both on their native runners.
Wave 2 — the evidence Phase 6 consumes
- Burn down the native mold-suite skip list #14 (mold-suite skip list) — in progress:
library.shandimage-base.shremoved (feat(args): accept --library and --library-path, and make the mold skip reasons true (reld#14) #158, feat(args): implement --image-base (reld#14) #165);color-diagnostics.shreclassified; the remaining 45 now name the exact option the parser rejects. — the skip list currently pins several of the gaps in Wave 1 (no-undefined-version,hash-style=none, compression levels, various-zkeywords). Burning it down and closing Wave 1 are the same work seen from two sides. - Track and remove inherited reld-diff ignore patterns #13 (inherited reld-diff ignore patterns) — 15 unobserved defaults removed (fix(reld-diff): drop unobserved inherited default ignores (#186) #187, reld-diff: remove the inherited default ignores no fixture observes any more (reld#13 worklist) #186): unobserved went from 28 of 63 to 13 of 48 on x86_64. What remains is the aarch64 and SFrame entries plus fixture-level ignores.
- P2: Prove Linux — self-host, corpus pass rate, populate the benchmark column #6 (P2: prove Linux) — P2-T1 (ci(phase1): run wild's ELF suite on x86_64 and aarch64; mark riscv/loong/ppc unverified (#194) #196: x86_64 + aarch64 green, aarch64 gated at 509 tests; riscv/loong/ppc marked unverified), P2-T2 self-host (test(linux): self-host reld with reld, two generations (reld#6, P2-T2) #163), P2-T3 corpus (ci: real-world link corpus published as a pass rate (#185) #189), P2-T5 lld-format undefined-symbol errors (feat(core): lld-format undefined-symbol errors with referencing object and demangled name (#193) #199) done. P2-T4 benchmark column remains.
- test(linux): add scheduled >2 GiB ELF output scale gate #16 — CLOSED. Weekly scale gate links a 2.25 GiB output, validates every section and segment, runs it (test(linux): add the scheduled >2 GiB ELF output scale gate (reld#16) #159).
Wave 3 — CI capacity and upkeep
- ci(perf): cross-build the OS product on Linux via setup-soldr (cook + heavy cache), ship the binary to native runners for tests/benchmarks #59 / Pilot: cross-compile the phase1 build from Linux to free Windows/macOS runners #130 — DONE. ci(perf): cross-build the OS product on Linux via setup-soldr (cook + heavy cache), ship the binary to native runners for tests/benchmarks #59 closed (release product, benchmark drivers, cross-ship promoted and measured). Pilot: cross-compile the phase1 build from Linux to free Windows/macOS runners #130 closed by ci(phase1): cross-build nextest archives on Linux, replay on Windows/macOS (#130) #188: windows-msvc and macOS Phase 1 legs replay Linux-built nextest archives and no longer compile. Same 283 tests per leg; wall time 4.5→2.7 min and 4.2→1.9 min.
- refactor(ci): move benchmark orchestration into invokable Python #48 — CLOSED.
ci/benchmark_pipeline.pyowns the aggregation; the YAML step is one call (refactor(ci): move benchmark aggregation into invokable Python (reld#48) #162). - ci(bench): render benchmark charts vertically stacked (full width) as the generated default #54 — CLOSED. The layout is asserted as a property, and the published branch gets a combined stacked page (ci(bench): make the stacked chart layout the generated default (reld#54) #161).
- ci: simplify system-linker cache via setup-soldr glob-filtered side cache #52 — still blocked: setup-soldr#463 re-checked and open. Parked.
Wave 4 — policy
- arch: freeze the crate layout — criteria for adding a crate, and ask the dev first #152 — CLOSED (chore(workspace): freeze the crate set and mark every crate unpublished (reld#152) #157).
publish = falseeverywhere, criteria in AGENTS.md, member list pinned by a CI test. Three questions left to the owner on the issue. Original text: (freeze the crate layout) — decide the steady-state crate count, whether to claim the six unregisteredreld-*names, and whether the host-platform facade ever becomes a leaf crate. Recommendation recorded there: publish nothing now,publish = falseon all seven, and follow upstream wild (publish all six) if crates.io is ever wanted, rather than a zccache-style amalgamated umbrella.
Burn-down rules
- One issue per PR, each with RED→GREEN evidence; no batching unrelated fixes.
- Every PR keeps fmt, clippy
-D warnings, the host-platform Dylint (refactor: centralize host-platform cfg behind crate::platform + cfg_select!, enforced by Dylint #137) and the dependency baseline (ci: reject unapproved Rust dependency additions #88) green. - No dependency-baseline or crate-layout change without owner approval on the issue first (ci: reject unapproved Rust dependency additions #88, arch: freeze the crate layout — criteria for adding a crate, and ask the dev first #152).
- When an item is finished, tick it here and in its own issue, and close the issue in the merging PR.
Activity
zackees commentedon Sep 17, 2026
Burn-down status
Wave 0 closed earlier. Since then, in wave order:
Wave 4 — #152: done. PR #157 merged. All seven crates carry
publish = falsewith the reason,AGENTS.mdgains a Crate layout section with the five criteria and the approval requirement, andci/tests/test_crate_layout.pypins the member list so a new crate needs a reviewed change. Three questions were left to you rather than decided: steady-state crate count, whether to claim the six unregisteredreld-*names, and whetherreld-tracefolds intoreld-layout-schema.Wave 1 — #123. PR #156 merged (bridged-signal path, RUNPATH on both engines). PR #164 open:
NoDynamicwas implemented but sat on the deferred-directive list, which silently skips the whole fixture — sonew-dtagsnever ran and reld's RPATH/RUNPATH behaviour was untested in both directions. It runs now, with a third configuration pinning the default (DT_RUNPATH, matching ld.lld), which isrpath_tag_default_documented.Correction to this issue's Wave 1 list above:
-C link-dead-code,-l:libfoo.aand-z textare already delivered — that list was written from the checklist rather than the code, and the authoritative audit is the later comment on #123. What genuinely has no implementation is.deplibs(SHT_LLVM_DEPENDENT_LIBRARIES), the-C instrument-coverageround-trip fixture, and all of Phase 3 (target-keyed routing), which is the structural piece and the real remaining blocker.Wave 2.
unsupported_optionsmold tests against the native engine and read each failure.library.shcame off the list (it needed only the GNU long spellings--library/--library-path);color-diagnostics.shmoved toignore, because reld implements the flag and diverges on a semantic (bare--color-diagnosticsisalwaysin reld and ld.lld,autoin mold). The remaining 45 now name the exact option the parser rejects, so the burn-down aims at a flag instead of a test.section.data.rel.rostill claims reld cannot emit that section, four months after it could..comment. Measured: 39 differing bytes, all inside.comment, none outside. P2-T1, P2-T3 (corpus pass rate) and P2-T5 remain.Wave 3.
ci/benchmark_pipeline.py, which also checks what the shell never did: that every target produced all four artifacts.cross-ship.ymlis still the draft its own header says must be validated against a live run beforeci.ymlmigrates onto it; I dispatched one. My recommendation is to keep ci(perf): cross-build the OS product on Linux via setup-soldr (cook + heavy cache), ship the binary to native runners for tests/benchmarks #59 as the umbrella and close Pilot: cross-compile the phase1 build from Linux to free Windows/macOS runners #130 into it — it is the same mechanism applied to test artifacts rather than the release product — but that is your call, not something to do unasked.What is left
#123 Phase 3–6 is the critical path and is a structural project, not a checklist item: routing is keyed on the host today, and target-keyed routing has to land before the Phase 6 gate can mean anything for soldr#3262. #14 and #13 are ratchets by construction — they shrink as features land, and neither can be "finished" in a sitting. That is the honest state.