https://bugs.winehq.org/show_bug.cgi?id=56973
--- Comment #4 from aurb arusanu.bu@gmail.com --- (In reply to Zeb Figura from comment #2)
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
It's most likely incompatible, and for wine we are using imported libxml2 code, including headers.
Because using external PE libraries is supported. Are we modifying the bundled libxml in a way that makes it incompatible? If so (and assuming we really do need to do that) we shouldn't allow using external libxml.
Until now I've been using system build mingw libraries for: FAudio, lcms2, libpng, libxml2, libxslt, vkd3d, vulkan-headers, zlib, libjpeg-turbo, libtiff, fluidsynth, gsm, mpg123, where most of them are quite recent releases or at least the same version as wine bundled ones.
1. The issue showed up only after migwn was build with gcc-14.1 and some of these mingw libraries have not been yet build against new mingw-gcc, I would look into it.
2. Anyhow, my workaround from original comment had some regressions too. One game crashed while it works fine if wine is build with bundled libraries.