Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Issue with the above command:

Code Block
Nov 20, 2024

Update from Pierrick:
It [above command] was disabled recently, as you can see from the MSYS2 pkgbuild history [1].

In short, it was disabled upstream recently in QEMU [2] - August 2024, because
of an attribute (gcc_struct) clang does not support.
I ran into this a few weeks ago when doing some cleanup around windows builds
[3], and tried to force enabled it, but the developer who introduced the
restriction seems to be against it.

I'm a bit afraid to say that I don't expect clang support to come soon.

The only thing that could help us move forward is to have someone external who
comes to request for this on GitLab issues or on the mailing list and pushes
that enabling this for windows-arm64 is important enough to relax the
constraint introduced.

Or, push for someone on toolchain side to enable this in clang (the PR is
already there, but seems not active). Even with that, it will be another 6
months - waiting for next llvm release - to get it enabled.

Definitely, it's a bit sad overall.

To end on a positive side, I'm currently applying those patches locally and
building QEMU with MSYS2/clang regularly [4], so hopefully, it should keep
working without any build error. And as soon as GitHub Actions will add arm64
runners, which should come in next months, I'll add it as a built target.

[1] https://github.com/msys2/MINGW-packages/commits/master/mingw-w64-qemu
[2] https://gitlab.com/qemu-project/qemu/-/commit/e25264fe7b0455b45a6eb519d8e9ba2a708228fb
[3]
https://patchew.org/QEMU/20241031040426.772604-1-pierrick.bouvier@linaro.org/
[4] https://github.com/pbo-linaro/qemu-ci