https://bugs.winehq.org/show_bug.cgi?id=38304
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- It seems the bug occurs with certain compiler optimization levels. I used to compile Wine with '-O2 -g -gdwarf-2' and this was the commit that broke the game with -O2. Now I compiled Wine with different optimization levels: -O2: crashes -O1: crashes -O0: works -Og: works
On Fedora the default optimization level is -O2: $ rpm --eval %optflags -O2 -g -march=i386 -mtune=i686
Currently I have GCC 5.1.1 installed, but it was GCC 4.9.x when I opened this bug report.
$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/5.1.1/lto-wrapper Target: i686-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch=i686 --build=i686-redhat-linux Thread model: posix gcc version 5.1.1 20150612 (Red Hat 5.1.1-3) (GCC)