[MPlayer-dev-eng] error: can't find a register in class `GENERAL_REGS'...

Michael Niedermayer michaelni at gmx.at
Wed Nov 8 00:52:33 CET 2006


Hi

On Wed, Nov 08, 2006 at 01:01:35AM +0300, Stanislav Maslovski wrote:
> Hello again,
> 
> Trying to build mplayer with "--enable-debug", but always getting this error.
> Confirmed with gcc-3.3.6, 3.4.6, 4.1.1. I have also played with the "-O" option
> in CFLAGS in the corresponding place in ./configure, but with no effect
> (tried -O1,2,4 and without it).
> 
> A couple of examples of the output to stderr are attached.
> libavcodec is at revision 6935.
[...]
> cabac.h:522: error: can't find a register in class `GENERAL_REGS' while reloading `asm'

the asm code in cabac.h cannot be compiled with current gcc without
-fomit-frame-pointer

maybe someone wants to add a configure check and corresponding #define
and #ifdef in cabac.h

alternativly suggesting changes to the asm is an option too but any proposed
code MUST NOT be slower

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is



More information about the MPlayer-dev-eng mailing list