https://bugs.winehq.org/show_bug.cgi?id=38826
Kurt kurtjaeke@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kurtjaeke@gmx.de
--- Comment #2 from Kurt kurtjaeke@gmx.de --- (In reply to Anastasius Focht from comment #1)
Your backtrace shows 'andps xmm0,0x8(%ebp)' SSE instruction with a misaligned stack variable access. With 32-bit Wine build on OSX there should be a stack realign in function prolog code. Looking at the thread context of the faulting instruction I don't see ECX being in ESP range (ECX is usually clobbered with ESP(+4) when stack realign happens).
My guess would be it's your Wine build/tooling on OSX being broken/your problem.
Thanks for the nice diagnosis. I tried another compiler as you suggested: * "clang version 3.7.0 (trunk 239386)" produces faulty code * Yosemite's default compiler "Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)" works
In both cases, passing "-mstackrealign" in CFLAGS does not matter.
Should this be submitted to clang?