Bug#904178: ffmpeg: fix mips r6 build

James Cowgill jcowgill at debian.org
Sat Jul 21 16:43:40 BST 2018


Hi,

On 21/07/18 16:38, YunQiang Su wrote:
> James Cowgill <jcowgill at debian.org> 于2018年7月21日周六 下午11:16写道:
>> On 21/07/18 05:46, YunQiang Su wrote:
>>> Please change the lines about mips options in debian/rules to the below.
>>> # Disable some optimizations on mips*, because they are not always
>>> available on these architectures
>>> ifneq (,$(filter mips%r6 mips%r6el, $(DEB_HOST_ARCH)))
>>>         MIPS_NO_R6_OPTION = --disable-mips32r2 \
>>>                 --disable-mips64r2 \
>>>                 --disable-mips32r5
>>
>> Is this line intentional (given that --disable-mips32r5 is used below as
>> well)?
>>
> 
> yes. when the first try, I don't add --disable-mips32r5, then it
> failed to build,
> when link r2/r6 objects.

I still don't understand. In your new code, the --disable-mips32r5
option is passed unconditionally in the main config block so this extra
option in the r6 block should have no effect.

>> I don't think the name of that variable explains itself very well,
>> especially since one of the options enables R6. Maybe MIPS_R2_R6_CONFIG
>> is better?

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20180721/6ed55696/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list