Skip to content

fix: ignore ELF shared undefined flag on MinGW bridge - #220

Merged
zackees merged 2 commits into
mainfrom
feat/mingw-elf-flag-compat
Oct 14, 2026
Merged

zackees merged 2 commits into
mainfrom
feat/mingw-elf-flag-compat

Conversation

@zackees

@zackees zackees commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Cause

FastLED Windows example builds fail because Meson emits the ELF-only --allow-shlib-undefined flag after its no-input capability probe. The GNU COFF ld.lld backend rejects that flag.

Change

Remove that exact positive flag only for the MinGW bridge, after GNU response-file expansion. Preserve normal unresolved-symbol enforcement and all other linker arguments. ELF, MSVC COFF, and Mach-O forwarding are unchanged.

Add a native Windows GNU COFF fixture to the existing consumer acceptance driver. Compare two direct pinned LLVM links and two reld links byte-for-byte, disabling only the PE timestamp identically; run every executable; require successful MinGW invocation evidence; verify both paths reject an unresolved symbol. No new workflow or dependency.

Validation

  • Focused regression failed before the fix and passes after it.
  • 280 core unit tests, 13 bridge routing tests, and 375 Python tests pass.
  • Strict core clippy, rustfmt, dependency policy, and diff checks pass.
  • One local review completed; its invocation-artifact path finding is fixed.
  • Native Windows acceptance is pending this PR's existing Linker artifacts CI; cross-host unit checks do not replace that proof.

Consumer coordination

Dependent FastLED work: FastLED/FastLED#4736 and FastLED/FastLED#4707.

FastLED currently pins reld release 0.2.3, so a feature artifact must first validate the failing Windows consumer build. A released version/checksum update is a separate owner action after native evidence passes. This PR does not merge or release the dependency.

@zackees
zackees merged commit 69464c3 into main Oct 14, 2026
29 checks passed
@zackees
zackees deleted the feat/mingw-elf-flag-compat branch November 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant