Skip to content

[codex] Provide ARM64 MinGW powl compatibility support - #27323

Merged
anp-oai merged 1 commit into
mainfrom
codex/release-rbe-03-windows-arm64-powl
Jun 11, 2026
Merged

[codex] Provide ARM64 MinGW powl compatibility support#27323
anp-oai merged 1 commit into
mainfrom
codex/release-rbe-03-windows-arm64-powl

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Why

Windows ARM64 uses 64-bit long double, but the LLVM MinGW Bazel configuration omits the upstream powl compatibility source and does not link the mingwex archive that owns it. Cross-linking the release binary therefore fails with an unresolved powl symbol.

What changed

Patch the LLVM module to compile math/arm-common/powl.c into the ARM64 MinGW extension sources and add -lmingwex to the Windows toolchain defaults.

Validation

  • just bazel-lock-check

Stack: 3 of 6. Depends on #27322.

@anp-oai
anp-oai force-pushed the codex/release-rbe-02-build-script-deps branch from b044c66 to 718a3fa Compare June 10, 2026 19:38
@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch 2 times, most recently from 79ed550 to 0200748 Compare June 10, 2026 19:47
@anp-oai
anp-oai force-pushed the codex/release-rbe-02-build-script-deps branch from 718a3fa to 13cba8e Compare June 10, 2026 19:47
@anp-oai anp-oai changed the title [codex] Link ARM64 MinGW math compatibility support [codex] Provide ARM64 MinGW powl compatibility support Jun 10, 2026
@anp-oai
anp-oai force-pushed the codex/release-rbe-02-build-script-deps branch from 13cba8e to 32f4194 Compare June 10, 2026 23:33
Base automatically changed from codex/release-rbe-02-build-script-deps to main June 11, 2026 00:08
@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch from 0200748 to 0e53824 Compare June 11, 2026 01:06
Comment thread patches/llvm_windows_arm64_powl.patch
@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch from 0e53824 to 21633f6 Compare June 11, 2026 01:21
@anp-oai
anp-oai marked this pull request as ready for review June 11, 2026 01:39
@anp-oai
anp-oai merged commit 0b08bbb into main Jun 11, 2026
46 checks passed
@anp-oai
anp-oai deleted the codex/release-rbe-03-windows-arm64-powl branch June 11, 2026 18:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants