[flac-dev] ensure that stack is aligned for SSE functions if using mingw32

Dave Yeo dave.r.yeo at gmail.com
Mon Mar 9 16:57:35 PDT 2015

On 03/09/15 03:59 PM, lvqcl wrote:
> Tristan Matthews wrote:
>> >Unable to test on win32 at the moment, please give this a try. Feedback welcome.
> I wonder why misaligned stack is a problem only for the FLAC library.
> There are many other libraries inside VLC...
> BTW: FLAC 1.3.1 uses -msse2 option by default. Do you remove it?
> Otherwise libFLAC may crash anywhere else (if its stack is not aligned).

One workaround is to use -mstackrealign where ever -msse2 is used

More information about the flac-dev mailing list