Skip to content

ci: windows: use builtin GHC clang toolchain to build dependencies#1333

Merged
elopez merged 2 commits intomasterfrom
dev-fix-windows
Dec 3, 2024
Merged

ci: windows: use builtin GHC clang toolchain to build dependencies#1333
elopez merged 2 commits intomasterfrom
dev-fix-windows

Conversation

@elopez
Copy link
Copy Markdown
Member

@elopez elopez commented Dec 2, 2024

MSYS2 recently got its Clang updated from v18 to v19, and that caused build failures such as the following:

data-dword > [3 of 3] Compiling Data.DoubleWord
data-dword > ghc-9.6.6.exe: loadArchive: GNU-variant filename offset 31 invalid (range [0..964]) while reading filename from `D:\a_temp\msys64\clang64\lib\libmingw32.a'
data-dword >
data-dword > <no location info>: error:
data-dword > loadArchive "D:\a\_temp\msys64\clang64\lib\libmingw32.a": failed

This PR switches the Windows build to use the toolchain shipped together with GHC to avoid the incompatibility issues. It also adds a Windows-specific libff patch carried by hevm to fix precompile accuracy on Windows.

@elopez elopez marked this pull request as ready for review December 3, 2024 10:29
@elopez elopez merged commit 602686a into master Dec 3, 2024
@elopez elopez deleted the dev-fix-windows branch December 3, 2024 15:24
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