Summary: | [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse | ||
---|---|---|---|
Product: | Mesa | Reporter: | Itzamna <xamaniqinqu> |
Component: | Gallium/StateTracker/galliumnine | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | r9ku1q, xamaniqinqu |
Version: | 10.6 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Itzamna
2015-06-20 19:06:20 UTC
(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 . To my knowledge we've been handling function stack realignment in nine for a few years now, and thus I assume this issue is solved. Do you confirm ? -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/122. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.