https://bugs.winehq.org/show_bug.cgi?id=52676
--- Comment #15 from Rafał Mużyło galtgendo@o2.pl --- (In reply to Fabian Maurer from comment #14)
You're on gentoo, so Wine is compiled yourself, correct? Can you give me the exact compile parameters and flags? Probably also the compiler version.
OK.
CFLAGS="-O2 -g -march=znver1 -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,relro"
binutils-2.37_p1 mingw64-runtime-9.0.0 gcc-11.2.0
(gcc and binutils same for mingw64)