[MPlayer-dev-eng] [RFC] rc2

Zuxy Meng zuxy.meng at gmail.com
Mon Apr 9 03:49:10 CEST 2007


Hi,

2007/4/9, Uoti Urpala <uoti.urpala at pp1.inet.fi>:
> On Mon, 2007-04-09 at 00:42 +0200, Roberto Togni wrote:
> > - --enable-debug is broken
>
> Would need changing CONFIG_EBP_AVAILABLE to false in configure (the
> problem is that --enable-debug turns off -fomit-frame-pointer and after
> that ebp is reserved; the asm in FFmpeg which breaks should be under
> #ifdef CONFIG_EBP_AVAILABLE now).
>
> > - stack alignment in lavc (win only? can it happen with mplayer?)
>
> gcc versions older than 4 ignored alignment attributes of stack
> variables. If you use gcc 4+ then this shouldn't be an issue for
> MPlayer. FFmpeg has another issue in that its library code might get
> called by code from another compiler that doesn't keep the stack itself
> aligned (in practice most likely to happen on Windows), but this
> shouldn't concern MPlayer unless you somehow mix compilers during the
> build.
>
> In short: if you compile with gcc 4+ then there should be no problems.
> gcc versions older than 4 may have problems (but probably not more than
> they did with the previous MPlayer version, probably mainly slowdown).

I've always turned SSE on with my personal builds (compiled by gcc
4.1.1) and I've never seen a single occurance of SIGSEV caused by
unaligned access of SSE instructions, unless I turned on threaded
en/decoding.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list