Re: [Mesa-dev] [PATCH] mesa: use build flag to ensure stack is realigned on x86

2014-12-07 Thread Timothy Arceri
On Sat, 2014-12-06 at 22:31 -0800, Matt Turner wrote: > On Sat, Dec 6, 2014 at 8:52 PM, Timothy Arceri wrote: > > Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but > > that is an assumption OpenGL drivers (or any dynamic library for that > > matter) can't afford to make

Re: [Mesa-dev] [PATCH] mesa: use build flag to ensure stack is realigned on x86

2014-12-06 Thread Matt Turner
On Sat, Dec 6, 2014 at 8:52 PM, Timothy Arceri wrote: > Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but > that is an assumption OpenGL drivers (or any dynamic library for that matter) > can't afford to make as there are many closed- and open- source application > bina

[Mesa-dev] [PATCH] mesa: use build flag to ensure stack is realigned on x86

2014-12-06 Thread Timothy Arceri
Nowadays GCC assumes stack pointer is 16-byte aligned even on 32-bits, but that is an assumption OpenGL drivers (or any dynamic library for that matter) can't afford to make as there are many closed- and open- source application binaries out there that only assume 4-byte stack alignment. https: