Description
Follow-up from #5.
The Phase 1 semantic oracle inherits known ELF and Mach-O structural/relocation divergences from Wild and from fixture-specific reference-linker comparisons. Every default, fixture, and configured ignore must cite this issue (or another open tracking issue) on the ignore entry itself. The acceptance ratchet must remove entries as the corresponding linker behavior converges; architecture-specific entries must be explicitly scoped and are only applied/ratcheted on those architectures.
Acceptance: no semantic-oracle ignore remains without an open, specific explanation and tracking issue; full-diff CI configuration cannot inject suite-global ignores that evade fixture ratcheting; remove each pattern when it is no longer observed by its covering fixture.
Activity
fix(difftest): drop stale ignores from the gc-sections default change…
fix(bridge): repair Phase 0 regressions — --no-undefined-version nati…
zackees commentedon Sep 17, 2026
First report from the new default-ignore ratchet
PR #160 is merged, and the Linux acceptance job now prints which inherited
--reld-defaultspatterns no fixture needed. From the run on that PR (Phase 1 / linux-gnu x86_64):How to read it
"Unobserved" is a lead, not a verdict, and the list has three distinct kinds of entry in it:
R_AARCH64_*pattern is unobservable on an x86_64 runner by construction. These are not candidates until the same report runs on the aarch64 leg; the honest signal is the intersection across architectures, not one run.section.sframeandsegment.GNU_SFRAME.*cannot be observed while SFrame is experimental and disabled.section.phdr,section.shdr,section.plt,section.bss.alignment,section.eh_frame.flags,section.gnu.warning,rel.missing-got-plt-got,rel.plt.extra-thunk/absent-thunk— describe divergences from GNU ld that this suite no longer sees. Each is either a divergence reld has closed, or a hole in fixture coverage, and telling those two apart is the work this issue asks for. Removing one and watching the suite is the cheapest way to find out.Note
section.data.rel.rois not in the list: it is still observed, so despite its stale comment ("We don't yet support these sections", which stopped being true in #155) it is still suppressing a real difference and must not be removed blind. That is exactly why this had to be measured rather than reasoned about.Next
Run the same report on the aarch64 leg and take the intersection, then remove candidates one at a time.
RELD_RATCHET_DEFAULT_IGNORES=1turns the report into a failure for a run that covers the matrix, so once the list is empty it can stay empty.zackees commentedon Sep 18, 2026
PR #187 (#186) removed 15 inherited default ignores from
apply_reld_defaults:section.shdr,section.phdr,section.plt,section.bss.alignment,section.gnu.build.attributes,section.annobin.notes.entsize,section.eh_frame.flags,section.gnu.warning,rel.missing-got-plt-got,rel.plt.extra-thunk,rel.plt.absent-thunk,rel.undefined-weak.dynamic.R_X86_64_64,dynsym.__tls_get_addr.*,rel.missing-opt.R_X86_64_TLSDESC_CALL.SkipTlsDescCall.*,rel.extra-opt.R_X86_64_REX_GOTPCRELX.MovIndirectToLea.static-*.The report went from 28 of 63 unobserved to 13 of 48 on the linux-gnu x86_64 leg, with the acceptance suite green.
segment.GNU_PROPERTY.alignmentand.flagswere kept, because a fixture still observes them.Caveat: "unobserved" was measured on x86_64 only, since the aarch64 fixtures are "Architecture disabled" in CI. The architecture-neutral removals (
section.shdr,section.phdr,section.plt, …) may still be needed on aarch64. If the aarch64 leg is enabled, rerun this report there and restore any entry it needs, scoped to that architecture.Remaining unobserved: the
R_AARCH64_*patterns and the SFrame entries, which can't be observed on this leg by construction.test(acceptance): make the aarch64 leg green honestly (#194)
zackees commentedon Sep 18, 2026
First aarch64 report (from #194 / PR #196)
The aarch64 leg now runs the acceptance oracle, which lets us cross-check the default-ignore report across architectures. Same run (35398041328):
The intersection is what counts. Every
R_AARCH64_*default that looked stale from x86_64 (TLSDESC_LD64_LO12,TLSGD_ADD_LO12_NC,AdrpToAdr,ReplaceWithNop,TLSIE_ADR_GOTTPREL_PAGE21) is observed on aarch64, so all of them stay. Defaults unobserved on both architectures:The three SFrame entries can't be observed while SFrame is off by default. That leaves three genuine removal candidates:
.dynamic.DT_BIND_NOW,rel.dynamic-plt-bypass,rel.undefined-weak.dynamic.R_AARCH64_ABS64.#186's x86_64-only caveat has been checked.
section.bss.alignmentandsection.pltwere removed as unobserved on x86_64 in #187, then observed again on aarch64, exactly as predicted. PR #196 restores them scoped to aarch64. It also adds an aarch64-scopedsection.gotdefault: GNU ld on aarch64 always emits a.got, reld doesn't when nothing needs one, and 20 fixtures showed the difference. The relocation-levelrel.*keys still compare the GOT entries themselves.One real bug found on the way: #200. Absolute
PROVIDEsymbols in a shared object getR_*_RELATIVEGOT relocations, so they're rebased at load. It's reproduced on both architectures, and thelinker-script-providefixture's aarch64 ignore cites #200, not this issue.ci(phase1): run wild's ELF suite on x86_64 and aarch64; mark riscv/lo…