[Ffmpeg-devel] [PATCH] fix x86 asm compilation
Michel Bardiaux
mbardiaux
Mon May 30 09:57:48 CEST 2005
Rich Felker wrote:
> On Mon, May 30, 2005 at 12:39:23AM +0200, Aurelien Jacobs wrote:
>
>>Hi,
>>
>>Currently i386/dsputil_mmx.c fails to compiles on x86 when configured
>>with --disable-opts. (At least for me with gcc 3.3.4)
>
>
> Why does this option to configure exist? It's known that disabling
> optimizations is not supported for asm...
>
>
>>I've written a small patch which fixes this. I don't like it very much,
>>but I've no better idea right now.
>
>
> If you insist on disabling optimizations (there is no good reason for
> this), then disable asm while you're at it too...
There *is* one good reason to disable optimisations: when you need
debugging (which of course never happens with ffmpeg :-) ), gdb is often
very confused by optimisations. Being unable to have asm and no-opt
simultaneously makes debugging of code containing asm a real PITA.
>
> Rich
>
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41
More information about the ffmpeg-devel
mailing list