Package: ffmpeg
Version: 0.cvs20070307-6
Severity: normal
Tags: patch

For arm, ffmpeg does not currently contain code to detect the processor
and switch on processor-specific optimisations, like it can do on x86.
Instead, the optimisations it enables are determined at compile time.

I recently tried running the armel build of ffmpeg on a machine, and it
failed with "Illegal instruction". It turns out this was because the
package chose to compile in support for the armv6 processor, which is
still fairly rare (at least, I don't have any :-). Debian continues to
target older arm processors, so this is not appropriate.

I haven't checked if it did a compile-time test for armv6, or if the
version in unstable just always enables armv6 code. If the former, then
this probably doesn't yet break the arm binaries in debian, since all
our arm buildds are quite old netwinders. The buildds for the armel port
are much more recent and faster machines, so it might only be breaking
there currently.

Anyway, please apply the attached patch, which turns these optimisations
off at configure time.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ffmpeg depends on:
ii  libavcodec1d            0.cvs20070307-6  ffmpeg codec library
ii  libavformat1d           0.cvs20070307-6  ffmpeg file format library
ii  libavutil1d             0.cvs20070307-6  ffmpeg utility library
ii  libc6                   2.6.1-1          GNU C Library: Shared libraries
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libimlib2               1.3.0.0debian1-4 powerful image loading and renderi
ii  libsdl1.2debian         1.2.11-9         Simple DirectMedia Layer
ii  libswscale1d            0.cvs20070307-6  ffmpeg video scaling library

ffmpeg recommends no packages.

-- no debconf information

-- 
see shy jo
--- debian/rules.old	2007-08-20 14:33:43.000000000 -0400
+++ debian/rules	2007-08-17 14:39:29.000000000 -0400
@@ -7,6 +7,7 @@
 LIBS = libavutil libavcodec libpostproc libavformat libswscale
 confflags += --enable-gpl --enable-pp --enable-swscaler --enable-pthreads
 confflags += --enable-libvorbis --enable-libtheora --enable-libogg --enable-liba52 --enable-libdts --enable-libgsm
+confflags += --disable-armv6 --disable-armv5te
 
 DEB_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: //p')
 

Attachment: signature.asc
Description: Digital signature

Reply via email to