[MPlayer-dev-eng] Can't compile with runtime cpu detection :(

Alban Bedel albeu at free.fr
Sat Mar 16 16:32:06 CET 2002


Hi,

I can't compile with runtime cpu detection enabled (it's the default now). Compile
aboard in libvo/osd.c with :

make[1]: Entering directory `/home/alban/cvs/MP/main/libvo'
gcc -c -W -Wall -O2 -march=k6 -mcpu=k6 -g  -D_REENTRANT -I. -I.. -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT    -DMPG12PLAY  -o osd.o osd.c
osd.c: In function `vo_draw_alpha_rgb24':
osd_template.c:240: Invalid `asm' statement:
osd_template.c:240: fixed or forbidden register 0 (ax) was spilled for class Q_REGS.
osd.c: In function `vo_draw_alpha_init':
osd.c:251: warning: implicit declaration of function `printf'
make[1]: *** [osd.o] Error 1
make[1]: Leaving directory `/home/alban/cvs/MP/main/libvo'
make: *** [libvo/libvo.a] Error 2

I run a slackware 8 with kernel 2.4.17 on a K6-2 333 (MMX and 3DNOW are avaible).
All compile fine without runtime cpu detection.
	Albeu



More information about the MPlayer-dev-eng mailing list