<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>At 2014-04-17 00:28:04,"Steve Borho" <steve@borho.org> wrote:<br>>On Wed, Apr 16, 2014 at 8:56 AM, Robert Bacs<br>><robert.bacs@rapidsolution.ro> wrote:<br>>> On 4/16/2014 4:26 PM, chen wrote:<br>>><br>>> Thanks your file.<br>>> I have confirm we crash on stack align problem.<br>>> The root cause is x264 asm header push some reg into stack, it broken stack<br>>> align.<br>>><br>>> Could you try to modify CMakeASM_YASMInformation.cmake<br>>> -DHAVE_ALIGNED_STACK=1 to -DHAVE_ALIGNED_STACK=0<br>>><br>>> Great...now it's working fine<br>><br>>Good to know.<br>><br>>So now I just need to know if this is a Win32 problem, or a more<br>>generic gcc + 32bit x86 problem.<br>><br>I guess it is x264 asm header bug (x86inc.asm)</div>
<div>GCC pass a align stack to our code, but x264 push some regs to broken it.</div>
<div>In x64, we use extra reg to save temporary data, so it works right, when we use stack temporary memory in future, we will get crash either.</div>
<div> </div></div>