On Mon May 18 20:06:51 2026 +0000, Alexandre Julliard wrote:
Yes, it's not worth the effort to handle old ARM64 toolchains. I hit the same issue building on Ubuntu 24.04 aarch64 with system clang-18 (1:18.1.3-1). For what it's worth, the issue also occurs with current distro toolchains, not just older llvm-mingw releases. I worked around it locally by using llvm-mingw-20250513.
As Paul mentioned, I had also prepared a fix in `make_sqlite.py` using `__dmb(_ARM64_BARRIER_ISH)` for the `_M_ARM64` case, keeping `_ReadWriteBarrier()` for x86. But given the preference to avoid patching for older toolchains, just noting this for reference in case it comes up again as more people build Wine on ARM64 Linux distributions. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10936#note_141169