[Mesa-dev] [Bug 36738] Openarena crash with r300g, swrastg + llvm > 2.8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 12:33:31 PDT 2011


José Fonseca <jfonseca at vmware.com> changed:

           What    |Removed                     |Added
         AssignedTo|mesa-dev at lists.freedesktop. |jfonseca at vmware.com
                   |org                         |

--- Comment #24 from José Fonseca <jfonseca at vmware.com> 2011-05-17 12:33:29 PDT ---
The problem is that the machine code generated by llvm 2.9 is not aligning the
stack pointer to 16 bytes, as it should, so when it spills SSE temporaries to
the stack the reference to the mis-aligned addresses will raise an exception.

Why llvm 2.9 is doing this is not yet clear. There are many reasons:
- default alignment changed since llvm-2.8
- allocas are not being removed by the optimization passes (and llvm doesn't
know how to align the stack with allocas)
- ordinary bug

It will take me a bit more time to get the bottom of this.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list