Bug#838364: fdk-aac: FTBFS on mips64el (conftest.c:1:0: error: '-march=mips32r2' is not compatible with the selected ABI)

Daniel Knezevic Daniel.Knezevic at imgtec.com
Tue Sep 20 11:28:53 UTC 2016


Package: fdk-aac
Version: 0.1.3+20140816-2
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch

Hi,

Package fdk-aac FTBFS for mips64el on configure with following error:
> configure:3401: checking whether the C compiler works
> configure:3423: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -mips32r2 -mips32r2 -Wl,-z,relro conftest.c  >&5
> conftest.c:1:0: error: '-march=mips32r2' is not compatible with the selected ABI

The attached patch removes "mips32r2" flag from debian/rules because it is not supported
on mips64el.
For mips and mipsel "mips32r2" is included in default gcc flags.
So, there is no need for this flag in debian/rules for these architectures.

After removing the mips32r2 flag the package still FTBFS with:
> error: narrowing conversion of '3204251762u' from 'unsigned int' to 'LONG {aka long int}' inside { } [-Wnarrowing]
This bug was already reported here: https://bugs.debian.org/836933

Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160920/c27b5029/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_mips32r2_flag.patch
Type: text/x-patch
Size: 333 bytes
Desc: remove_mips32r2_flag.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160920/c27b5029/attachment.bin>


More information about the pkg-multimedia-maintainers mailing list