https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89088
Vittorio Romeo <vittorio.romeo at outlook dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vittorio.romeo at outlook dot com --- Comment #2 from Vittorio Romeo <vittorio.romeo at outlook dot com> --- Bumped into this issue today. I confirm that it is still present on gcc version 12.2.0, on MSYS2. Any workaround that does not require exporting all symbols via '-Wl,--export-all-symbols'?