Bug#778777: src:libffado: FTBFS on x32: uses -m32
Adam Borowski
kilobyte at angband.pl
Thu Feb 19 15:58:22 UTC 2015
Package: src:libffado
Version: 2.2.1-2
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
Usertags: port-x32 ftbfs-x32
Hi!
I'm afraid libffado tries to use -m32 on x32 (instead of -mx32, or, better,
no such switch at all). This is because of pretty bizarre platform
detection, which runs objdump on /bin/mount then looks for certain strings.
That will obviously break also for multiarch or cross-compilation.
The attached patch solves the x32 issue, without fixing detection otherwise.
Meow!
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental')
Architecture: x32 (x86_64)
Kernel: Linux 3.19.0-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detect-x32.patch
Type: text/x-diff
Size: 1606 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150219/30d28010/attachment.patch>
More information about the pkg-multimedia-maintainers
mailing list