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 #607

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

elopez
Copy link
Collaborator

@elopez elopez commented Nov 27, 2024

Description

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

ghc-9.6.5.exe: loadArchive: GNU-variant filename offset 31 invalid (range [0..964]) while reading filename from `D:\a_temp\msys64\clang64\lib\libmingw32.a'

<no location info>: error:
loadArchive "D:\a\_temp\msys64\clang64\lib\libmingw32.a": failed
[29 of 29] Compiling Paths_hevm ( D:\a\hevm\hevm\dist-newstyle\build\x86_64-windows\ghc-9.6.5\hevm-0.53.0\build\autogen\Paths_hevm.hs, D:\a\hevm\hevm\dist-newstyle\build\x86_64-windows\ghc-9.6.5\hevm-0.53.0\build\Paths_hevm.o )

This PR switches the Windows build to use the toolchain shipped together with GHC to avoid the incompatibility issues.

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

@elopez elopez marked this pull request as ready for review November 28, 2024 20:09
@msooseth msooseth merged commit 0a21109 into ethereum:main Nov 29, 2024
9 checks passed
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.

2 participants