Bug#438923: arm binaries are built with arm v6 optimisations
Joey Hess
joeyh at debian.org
Mon Aug 20 18:36:09 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.patch
Type: text/x-diff
Size: 506 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20070820/29df5e67/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20070820/29df5e67/attachment.pgp
More information about the pkg-multimedia-maintainers
mailing list