[Ffmpeg-devel] Compiling on MacIntel is broken
Nigel Pearson
nigel
Thu Aug 17 10:40:49 CEST 2006
On 17/08/2006, at 12:59 PM, John Dalgliesh wrote:
> i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
> i386/dsputil_mmx.c:630: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm'
> i386/dsputil_mmx.c:630: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm'
Yes, I think that means we ran out of registers?
Here is a hacky Darwin patch for Anders:
===================================================================
--- configure (revision 6005)
+++ configure (working copy)
@@ -1010,12 +1010,19 @@
*2.95*)
CFLAGS="$CFLAGS -no-cpp-precomp -pipe"
;;
- *[34].*)
+ *3.*)
CFLAGS="$CFLAGS -no-cpp-precomp -pipe
-force_cpusubtype_ALL -Wno-sign-compare"
if test "$lshared" = no; then
needmdynamicnopic="yes"
fi
;;
+ *4.*)
+ add_cflags "-no-cpp-precomp -pipe
-force_cpusubtype_ALL -Wno-sign-compare"
+ needmdynamicnopic="yes"
+ if test "$lshared" = yes; then
+ add_ldflags "-read_only_relocs suppress"
+ fi
+ ;;
*)
CFLAGS="$CFLAGS -no-cpp-precomp -pipe"
if test "$lshared" = no; then
--
Nigel Pearson, nigel at ind.tansu.com.au|"People say I'm strange, does it
Telstra Net. Eng., Sydney, Australia | make me a stranger?
Office: 9202 3900 Fax: 9261 3912 | My best friend was born
Mobile: 0408 664435 Home: 9792 6998 | in a manger" -DC Talk
More information about the ffmpeg-devel
mailing list