diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7fedd27987f8..30f287993dfd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,13 +78,7 @@ jobs: strategy: fail-fast: false matrix: - sys: [CLANG64] - # There is a regression with delay libs when using gcc + mingw based - # environments, with a segfault on the first call to a symbol exported - # from qemu binary in a plugin. It seems to be related to mingw64 itself - # because even our older releases have now the same issue. - # For now, only build clang env. - # sys: [UCRT64, CLANG64, MINGW64] + sys: [UCRT64, CLANG64, MINGW64] defaults: run: shell: msys2 {0} @@ -93,6 +87,11 @@ jobs: with: update: true msystem: ${{matrix.sys}} + # There is a regression with latest binutils (2.44), resulting in delay load lib to be broken, + # which concerns QEMU plugins. Downgrade binutils for concerned environment. + # Details: https://github.com/msys2/MINGW-packages/issues/23577 + - run: bash -c "[ ${{matrix.sys}} == UCRT64 ]" && pacman -U https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-binutils-2.43.1-1-any.pkg.tar.zst + - run: bash -c "[ ${{matrix.sys}} == MINGW64 ]" && pacman -U https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.43.1-1-any.pkg.tar.zst - run: pacman -S --noconfirm curl git - uses: actions/checkout@v4 - run: >