[FFmpeg-devel] configure problem with leopard preview (darwin 9)

Augie Fackler durin42
Tue Sep 25 20:45:24 CEST 2007


On Jun 25, 2007, at 6:05 AM, M?ns Rullg?rd wrote:

>
> Sandro Cavazzoni wrote:
>> Hi to all,
>> I'm trying to compile ffmpeg on the latest Mac OSX Leopard Preview
>> (darwin kernel 9).
>> I think there's a bug in the configure script for this new darwin
>> based system.
>>
>> This is my linker output:
> [...]
>> ld64 warning: codegen in _sad8_xy2_mmx2 (offset 0x0000001B) prevents
>> image from loading in dyld shared cache
>> ld64 warning: codegen in _sad16_xy2_mmx2 (offset 0x0000002C) prevents
>> image from loading in dyld shared cache
>> ld64 warning: codegen in _sad16_xy2_mmx2 (offset 0x00000084) prevents
>> image from loading in dyld shared cache
>> ld64-74.4 failed: absolute addressing (perhaps -mdynamic-no-pic) used
>> in _avg_qpel8_mc20_mmx2 from i386/dsputil_mmx.o not allowed in
>> slidable image
>
> This looks like a new way of saying text relocations are not allowed
> in shared libraries.

I've been doing research into this for Perian, and we've determined  
that this is the case. In general, we've found that -mdynamic-no-pic  
can't be used for any kind of loadable module (shared library,  
Bundle, etc).
We're looking into potential workarounds, but I don't know offhand  
what those are as I've been having to work on schoolwork instead of  
OSS recently.

Augie Fackler



> -- 
> M?ns Rullg?rd
> mans at mansr.com
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list