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

2015-03-10 Thread Erik de Castro Lopo
Tristan Matthews wrote:

  One workaround is to use -mstackrealign where ever -msse2 is used
 
 Yes, that was one of the options mentioned in the article I linked
 (http://www.peterstock.co.uk/games/mingw_sse)

Can someone confirm that -mstackrealign fixes this issue? If it works,
that seems like the sanest solution.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


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

2015-03-09 Thread lvqcl
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).
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


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

2015-03-09 Thread Dave Yeo
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
Dave
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


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

2015-03-09 Thread Tristan Matthews
On Mon, Mar 9, 2015 at 7:57 PM, Dave Yeo dave.r@gmail.com wrote:
 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

Yes, that was one of the options mentioned in the article I linked
(http://www.peterstock.co.uk/games/mingw_sse)
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev