[MPlayer-dev-eng] [PATCH] gcc 4.4.0 and liba52 internal

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun May 10 14:37:48 CEST 2009


On Sun, 2009-05-10 at 12:55 +0900, KO Myung-Hun wrote:
> This patch fixes the error as the attachment when compiling liba52
> internal version with gcc 4.4.0 with -O4.

> plain text document attachment (liba52_imdct.c.log)
> gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.   -Ilibdvdread4 -I/usr/include/freetype2   -c -o liba52/imdct.o liba52/imdct.c
> In file included from liba52/imdct.c:728:
> liba52/imdct_3dnow.h: In function 'T.30':
> liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

I can compile this on x86 with 3DNOW enabled.
gcc-4.4 (Debian 4.4.0-4) 4.4.1





More information about the MPlayer-dev-eng mailing list