https://bugs.winehq.org/show_bug.cgi?id=50813
--- Comment #9 from Non 19non91@gmail.com --- Bisected from 6.2 to 6.3 and then from 6.3 to 6.4. 18 iterations. Everything was working. Strange...
I initially tested the latest git using https://aur.archlinux.org/packages/wine-git
Bisecting was done using the following script:
#!/bin/sh export WINE=$HOME/downloads/wine-git/wine export WINEARCH=win32 export WINEPREFIX=/tmp/wine export CC="ccache gcc -m32" export CFLAGS="-g -O0" export CROSSCFLAGS="-g -O0" ./configure --verbose --disable-tests || exit 125 make || exit 125 rm -rf $WINEPREFIX mkdir -p $WINEPREFIX $WINE regedit $HOME/games/xfiles/wine-xbtf-xt-config.reg
Every iteration I did this (compile-wine is a script above):
git bisect good git clean -f && git reset --hard && time compile-wine
and the game was launched like this:
WINEARCH=win32 WINEPREFIX=/tmp/wine WINE=$HOME/downloads/wine-git/wine $HOME/downloads/wine-git/wine x-tension.exe
-O0 reduced build times significantly, ranging from 20 to 40 mins, and when cache kicked in to something funny like 5-10 mins.
So based on what I've seen I could blame Arch packaging, -O2 or ccache, which hid the bugs somehow.
I think I should try latest commit with -O0, then Arch PKGBUILD with -O0 and then git with -O2.
Thoughts?