[Mesa-dev] [Bug 91039] [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 20 12:27:19 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91039

--- Comment #1 from Itzamna <xamaniqinqu at gmail.com> ---
(In reply to Itzamna from comment #0)

> Solution:
> The crashes no longer occur when Mesa's stack is realigned to 4 bytes.
> Therefore, always pass -mstackrealign to CFLAGS if -mfpmath=sse is enabled;
> this should probably be handled in the configure script.

Erratum: -mstackrealign realigns the incoming (4 byte-aligned) stack to 16
bytes, see https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html .

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150620/618f2b56/attachment.html>


More information about the mesa-dev mailing list