http://bugs.winehq.org/show_bug.cgi?id=33125
--- Comment #56 from Felix Hädicke felixhaedicke@web.de 2013-04-07 09:08:04 CDT --- It is just dlls/kernel32/sync.c which is broken with compiler optimizations. So disabling optimizations for this file only, by adding a line "#pragma GCC optimize ("O0")" on top of this source file, and compiling with default CFLAGS, fixes the freeze for me.