Bug#493678: patch from Fedora
Russell Coker
russell at coker.com.au
Mon Aug 4 06:25:23 UTC 2008
The following patch (from Fedora rawhide) fixes this issue.
diff -ru libtheora-1.0~beta3.bak/lib/enc/x86_32/dct_decode_mmx.c
libtheora-1.0~beta3/lib/enc/x86_32/dct_decode_mmx.c
--- libtheora-1.0~beta3.bak/lib/enc/x86_32/dct_decode_mmx.c 2008-08-04
15:30:57.000000000 +1000
+++ libtheora-1.0~beta3/lib/enc/x86_32/dct_decode_mmx.c 2008-08-04
16:06:00.000000000 +1000
@@ -21,6 +21,9 @@
#if defined(USE_ASM)
+/* Disabled as this asm results in text relocations, which is BAD */
+#if 0
+
static const __attribute__((aligned(8),used)) ogg_int64_t V3=
0x0003000300030003LL;
static const __attribute__((aligned(8),used)) ogg_int64_t V804=
0x0804080408040804LL;
@@ -172,12 +175,17 @@
);
}
+#endif
+
/* install our implementation in the function table */
void dsp_mmx_dct_decode_init(DspFunctions *funcs)
{
+/* Disabled as this asm results in text relocations, which is BAD */
+#if 0
TH_DEBUG("enabling accelerated x86_32 mmx dct decode functions.\n");
funcs->FilterVert = FilterVert__mmx;
funcs->FilterHoriz = FilterHoriz__mmx;
+#endif
}
#endif /* USE_ASM */
More information about the pkg-xiph-maint
mailing list