[FFmpeg-devel] OSX 10.5 (Leopard) build problem
Steven M. Schultz
sms
Sun Nov 4 20:33:55 CET 2007
Hi -
A little while back I inquired about how, under OSX 10.4, to
get around the problem:
i386/dsputil_mmx.c: In function dsputil_init_mmx:
i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer
type
i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer
type
i386/dsputil_mmx.c: In function flac_compute_autocorr_sse2:
i386/dsputil_mmx.c:3003: error: can't find a register in class
GENERAL_REGS while reloading asm
i386/dsputil_mmx.c:3005: error: can't find a register in class
GENERAL_REGS while reloading asm
make[1]: *** [i386/dsputil_mmx.o] Error 1
it was recommended to use the workaround of using
--extra-cflags=-mdynamic-no-pic
Well and good.
Now after moving from OSX 10.4 to 10.5 I get the errors that
are in the attached errorlog.
It seems that with 10.5 the advice that "-mdynamic-no-pic" is for
applications and not shared libraries is being enforced.
So if -mdynamic-no-pic can't be used because of linking problems
but the compilation fails if that option is not used what's a person
to do?
Is there a workaround that I've overlooked?
Steven Schultz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.txt.bz2
Type: application/octet-stream
Size: 19560 bytes
Desc: error log from OSX 10.5 build with -mdynamic-no-pic used
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071104/9390538e/attachment.obj>
More information about the ffmpeg-devel
mailing list