Bug#792272: x265: FTBFS on x32

Sebastian Ramacher sramacher at debian.org
Sun Jul 19 11:15:55 UTC 2015


Hi Thorsen

On 2015-07-13 15:02:11, Thorsten Glaser wrote:
> Source: x265
> Version: 1.7-3
> Severity: important
> Tags: patch
> 
> Hi,
> 
> x265 is required for libav these days (and probably ffmpeg later).
> The attached patch makes it recognise x32 and handles it as a faux
> non-x86 processor architecture, which is not strictly correct, but
> achieves the goal to make x265 not use assembly code for it, as it
> fails there currently.
> 
> We’ll eventually want to port all those asm-using packages to x32
> proper, but for now, disabling asm is the way to go to get them
> compiling (and thus usable in the dependency chain – no idea if
> it’s actually usable as in, can decode a video in time, but we’ll
> see that later).

If you want to port the asm code to x32, please submit your work upstream. I
don't intend to carry patches for the asm code in a package where the asm code
changes a lot with every release:

$ git diff upstream/1.6 upstream/1.7 --stat -- **/*.asm
 source/common/x86/const-a.asm            |   161 +-
 source/common/x86/dct8.asm               |   145 +-
 source/common/x86/intrapred16.asm        |   502 +
 source/common/x86/intrapred8.asm         |  7280 +++++++--
 source/common/x86/intrapred8_allangs.asm |  1160 +-
 source/common/x86/ipfilter16.asm         |  1439 +-
 source/common/x86/ipfilter8.asm          | 24952 +++++++++++++++++------------
 source/common/x86/loopfilter.asm         |   898 +-
 source/common/x86/mc-a.asm               |     6 +
 source/common/x86/pixel-a.asm            |  1480 ++
 source/common/x86/pixel-util8.asm        |   795 +-
 source/common/x86/pixeladd8.asm          |   305 +-
 source/common/x86/sad-a.asm              |    99 +-
 source/common/x86/sad16-a.asm            |    84 +-
 source/common/x86/x86inc.asm             |     3 +-
 15 files changed, 27437 insertions(+), 11872 deletions(-)

See https://bitbucket.org/multicoreware/x265/wiki/Contribute for details.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150719/91580bc5/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list