[MPlayer-users] Compile error on FreeBSD with x264

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 7 11:52:31 CEST 2009


On Tue, Jul 07, 2009 at 09:02:01AM +0200, Oliver Seitz wrote:
> {standard input}:30: Error: `ff_h264_mlps_state+128(%eax)' is not a valid
> 64 bit base/index expression

Now that is funny.
This can only come from cabac.h, line 505:
"movzbl "MANGLE(ff_h264_mlps_state)"+128("ret"), "tmp"          \n\t"
Where "ret" is %0 from an asm block with these constraints:
        :"=&a"(bit)
        :"r"(state), "r"(c)
        : "%"REG_c, "%ebx", "%edx", "%esi", "memory"

The only way this can end up as eax is that the compiler thinks it is
compiling for 32 bit instead of 64 bit - though that should give far
more errors. Are you using a working compiler or maybe the FreeBSD
people applied some patches they didn't understand?


More information about the MPlayer-users mailing list