Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

elopez
Copy link
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
18 checks passed
@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