[FFmpeg-devel] OSX 10.5 (Leopard) build problem

Steven M. Schultz sms
Fri Nov 9 17:44:15 CET 2007


On Mon, 5 Nov 2007, Tyler Loch wrote:

> > 	Wouldn't it be better to modify the asm() code?  Then
> > 	neither -mdynamic-no-pic or ld_classic would be needed.
> 
> I can confirm that r10237's dsputil_mmx.c compiles fine in place of  
> the current r10621 dsputil_mmx.c on the latest SVN using Leopard's GCC  
> 4.0.1 or 4.2 without any Makefile modifications.
	
	Are you certain of this?  I checked out -r10237 and copied
	dsputil_mmx.c into the current source tree and attempted to build
	*without* dynamic-no-pic.

	I get the attached error. But the last line is:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in _put_mpeg4_qpel16_h_lowpass_mmx2 from i386/dsputil_mmx.o not allowed in slidable image

	So even without -mdynamic-no-pic the assembly code is using absolute
	addressing somehow and the current OSX 10.5 linker gives an error.

	Steven Schultz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: err
Type: application/octet-stream
Size: 7352 bytes
Desc: OSX 10.5 -r10237 link error
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071109/d4fc05f7/attachment.obj>



More information about the ffmpeg-devel mailing list