[MPlayer-users] debug compiles

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 25 16:59:54 CET 2009


Greg Bryant <bryantgtx <at> gmail.com> writes:

> First, is there a way to disable optimizations for compiling?  The default
> made by configure has optimizations at 4, with enable-debug it goes to -O1,
> but that still inlines code and takes away local vbls, which make my head
> hurt.  If I remove optimization completely, I get the following error:
> In file included from liba52/imdct.c:725:
> liba52/imdct_3dnow.h: In function 'fft_asmb_3dnow':
> liba52/imdct_3dnow.h:257: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm'
> liba52/imdct_3dnow.h:257: error: 'asm' operand has impossible constraints

I believe that this is a known limitation on builds with -O0.
Fortunately, you can simply disable building liba52:
./configure --disable-liba52-internal

Carl Eugen





More information about the MPlayer-users mailing list