[MPlayer-users] Problems compiling on macbook
Alexander Strange
astrange at ithinksw.com
Sun Nov 19 01:14:19 CET 2006
On Nov 18, 2006, at 7:05 PM, Alexander Strange wrote:
>
> 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"
>
Oh I guess this is more helpful:
gcc on darwin generates
movl L_mp3lib_decwin$non_lazy_ptr, %eax
...
fsts (%eax)(,%ecx,4)
fstps (%eax)+64(,%ecx,4)
vs linux
fsts mp3lib_decwin(,%ecx,4)
fstps mp3lib_decwin+64(,%ecx,4)
More information about the MPlayer-users
mailing list