http://bugs.winehq.org/show_bug.cgi?id=33125
--- Comment #72 from thanoulas thanoulas@gmail.com 2013-04-10 10:40:21 CDT --- (In reply to comment #68)
Created attachment 44122 [details] Patch which disables optimization for CreateEventExW
It seems to be the "CreateEventExW" function which gets broken in optimized builds. This patch disables optimization for this function only. Sorry, it uses a function attribute which only recent GCC version (probably >= 4.4) understand.
So, after a LONG time, trying to setup GCC 4.8 on my OS X 10.8, that can successfully build wine, I can confirm that this patch fixes the freeze on OS X, too.