* Windows plugins MSYS2 regression
@ 2025-03-04 19:50 Pierrick Bouvier
2025-03-04 23:38 ` Pierrick Bouvier
0 siblings, 1 reply; 2+ messages in thread
From: Pierrick Bouvier @ 2025-03-04 19:50 UTC (permalink / raw)
To: qemu-devel@nongnu.org; +Cc: Alex Bennée
Hi everyone,
I noticed some time ago (between Feb 1 and Feb 3) that QEMU plugins
segfault when calling any API symbol with MSYS2 in mingw64 environment,
compiled with gcc.
I reported this to MSYS2 project [1], suspecting a faulty compiler or
runtime update, once I could identify that it's not a regression on QEMU
itself. Indeed, older releases now segfault as well.
Recently, QEMU enabled Windows clang builds as well, which are not
impacted, so QEMU plugins are still available this way. The regression
is *not* related to this change.
It does not impact upcoming QEMU release, as the problem is not located
on QEMU side, but is worth mentioning in case someone would create a bug
report for this.
[1] https://github.com/msys2/MINGW-packages/issues/23577
Regards,
Pierrick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Windows plugins MSYS2 regression
2025-03-04 19:50 Windows plugins MSYS2 regression Pierrick Bouvier
@ 2025-03-04 23:38 ` Pierrick Bouvier
0 siblings, 0 replies; 2+ messages in thread
From: Pierrick Bouvier @ 2025-03-04 23:38 UTC (permalink / raw)
To: qemu-devel@nongnu.org; +Cc: Alex Bennée
Hi,
the issue was identified, as a change in ld, and needed changes on mingw
side (see GitHub issue for details).
Meanwhile, for anyone using MSYS2, it's possible to revert this change
by downgrading binutils, and recompiling QEMU:
pacman -U
https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.43.1-1-any.pkg.tar.zst
Regards,
Pierrick
On 3/4/25 11:50, Pierrick Bouvier wrote:
> Hi everyone,
>
> I noticed some time ago (between Feb 1 and Feb 3) that QEMU plugins
> segfault when calling any API symbol with MSYS2 in mingw64 environment,
> compiled with gcc.
>
> I reported this to MSYS2 project [1], suspecting a faulty compiler or
> runtime update, once I could identify that it's not a regression on QEMU
> itself. Indeed, older releases now segfault as well.
>
> Recently, QEMU enabled Windows clang builds as well, which are not
> impacted, so QEMU plugins are still available this way. The regression
> is *not* related to this change.
>
> It does not impact upcoming QEMU release, as the problem is not located
> on QEMU side, but is worth mentioning in case someone would create a bug
> report for this.
>
> [1] https://github.com/msys2/MINGW-packages/issues/23577
>
> Regards,
> Pierrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-04 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 19:50 Windows plugins MSYS2 regression Pierrick Bouvier
2025-03-04 23:38 ` Pierrick Bouvier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).