Web lists-archives.com

[MPlayer-dev-eng] [PATCH 1/2] Fix compilation with recent FFmpeg on ARM




Hi,

Here is a first patch to define HAVE_AS_OBJECT_ARCH (see
https://patches.libav.org/patch/56941/):

diff --git a/configure b/configure
index 1c72747..de7c6e4 100755
--- a/configure
+++ b/configure
@@ -3225,6 +3225,13 @@ if arm ; then
     inline_asm_check '"wunpckelub wr6, wr4"' && _iwmmxt=yes
   fi
   echores "$_iwmmxt"
+
+  def_as_object_arch='#define HAVE_AS_OBJECT_ARCH 0'
+  as_object_arch=no
+  echocheck "ARM object arch"
+  inline_asm_check '".object_arch armv4"' &&
+    as_object_arch=yes && def_as_object_arch='#define HAVE_AS_OBJECT_ARCH
1'
+  echores "$as_object_arch"
 fi

 cpuexts_all='ALTIVEC XOP AVX AVX2 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW
AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE
ARMV6 ARMV6T2 VFP VFPV3 SETEND NEON IWMMXT MMI VIS MVI'
@@ -8786,6 +8793,7 @@ CONFIG_XRENDER    = $_xrender
 CONFIG_XVMC     = $_xvmc
 CONFIG_ZLIB     = $_zlib

+HAVE_AS_OBJECT_ARCH= $as_object_arch
 HAVE_GNU_AS     = $gnu_as
 HAVE_OS2THREADS = $_os2threads
 HAVE_PTHREADS   = $_pthreads
@@ -9268,6 +9276,7 @@ $def_w32threads
 $def_xform_asm
 $def_xmm_clobbers
 $def_yasm
+$def_as_object_arch

 /* system functions */
 $def_aligned_malloc
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng