SOURCES: ffmpeg-kill-mabi_altivec.patch (NEW) - adapted from mplay...

glen glen at pld-linux.org
Tue Dec 5 13:05:31 CET 2006


Author: glen                         Date: Tue Dec  5 12:05:31 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adapted from mplayer-kill-mabi_altivec.patch

---- Files affected:
SOURCES:
   ffmpeg-kill-mabi_altivec.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ffmpeg-kill-mabi_altivec.patch
diff -u /dev/null SOURCES/ffmpeg-kill-mabi_altivec.patch:1.1
--- /dev/null	Tue Dec  5 13:05:31 2006
+++ SOURCES/ffmpeg-kill-mabi_altivec.patch	Tue Dec  5 13:05:26 2006
@@ -0,0 +1,18 @@
+ when compiled with -mabi=altivec gcc saves and restores altivec registers
+ in long jump macro, it's bad, mplayer don't use long jump much, but uses it
+ for returning from sigill catch routine, so the problem was ILL was sent
+ before sigill catch was completely prepared
+ I hope -mabi=altivec is not really needed
+					-- Sparky
+
+--- ffmpeg-export-2006-12-04/configure~	2006-12-05 14:03:28.645649333 +0200
++++ ffmpeg-export-2006-12-04/configure	2006-12-05 14:04:21.376838155 +0200
+@@ -1327,7 +1327,7 @@
+         if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
+             add_cflags "-faltivec"
+         else
+-            add_cflags "-maltivec -mabi=altivec"
++            add_cflags "-maltivec"
+         fi
+     fi
+ fi
================================================================


More information about the pld-cvs-commit mailing list