[MPlayer-users] Problems compiling on macbook

Alexander Strange astrange at ithinksw.com
Sun Nov 19 01:05:28 CET 2006


On Nov 18, 2006, at 2:46 PM, Reimar Döffinger wrote:
>
> Changelog says you also need --disable-mp3lib
> But actually, could you please test attached patch for me?
>
> Greetings,
> Reimar Döffinger
> <mp3libosx.diff>

This compiles but as misassembles tabinit_MMX.c.

cc -c -I.. -Wdeclaration-after-statement -fast -g -mdynamic-no-pic - 
DSYS_DARWIN -DCONFIG_DARWIN -fomit-frame-pointer -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/ 
usr/local/ftype2/include/freetype2 -I/usr/local/ftype2/include -I/usr/ 
X11R6/include   -msse3 -o tabinit_MMX.o tabinit_MMX.c
/var/tmp//ccVWzreE.s:305:Can't relocate expression. Absolute 0 assumed.
/var/tmp//ccVWzreE.s:306:Can't relocate expression. Absolute 0 assumed.

which is tabinit_MMX.c:77 and 78:
	"fsts  %1(,%%ecx,4)\n\t"
	"fstps %1+64(,%%ecx,4)\n\t"


This file looks funny anyway... why is an init routine written in  
asm? Also it uses eax but doesn't put it in the clobber list.

My local tree has a working mp3lib but only because I disabled all  
the asm routines by hand.




More information about the MPlayer-users mailing list