https://bugs.winehq.org/show_bug.cgi?id=50229
--- Comment #9 from Maciej Stanczew maciej.stanczew+b@gmail.com --- That's a correct assumption ;) I am on Arch. I basically used Arch's PKGBUILD for this, minus some of the optional dependencies: https://github.com/archlinux/svntogit-community/blob/packages/wine-staging/t...
mingw versions at the time of build: installed = mingw-w64-binutils-2.35.1-1-x86_64 installed = mingw-w64-crt-8.0.0-1-any installed = mingw-w64-gcc-10.2.0-2-x86_64 installed = mingw-w64-headers-8.0.0-1-any installed = mingw-w64-winpthreads-8.0.0-1-any
For compilation parameters: CFLAGS and LDFLAGS are overriden like in PKGBUILD, and additionally I don't have "--with-gstreamer", but instead have "--without-gtk3". The resulting *FLAGS should be: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
However initially after 5.22 release I have used the precompiled binaries from the repository, and I have also seen Battle.net crash with this build.
And just to confirm the randomness, yesterday and today I have been running Battle.net for a long time, launching and closing it multiple times, and I have not seen a single crash (on the same 5.22 + f257f37b version that one day earlier crashed like crazy).