Libav 0.7 FTBFS on mipsel: Error: opcode not supported on this processor: mips2 (mips2) `ldl $2, 7($13)'

Reinhard Tartler siretart at tauware.de
Sun Jul 17 20:14:48 UTC 2011


On Sun, Jul 17, 2011 at 12:36:23 (CEST), David Kuehling wrote:

>>>>>> "Reinhard" == Reinhard Tartler <siretart at tauware.de> writes:
>
>> Hi, I've noticed that Libav FTBFS on mipsel in experimental. The
>> buildlog looks like this:
>
>> /tmp/ccztZJXP.s: Assembler messages: /tmp/ccztZJXP.s:334: Error:
>> opcode not supported on this processor: mips2 (mips2) `ldl $2,7($13)'
> [..]
>> https://buildd.debian.org/status/fetch.php?pkg=libav&arch=mipsel&ver=4%3A0.7-2&stamp=1310857239
>
>> It seems that this build failure only happens on the buildd 'rem', but
>> not on others such as 'monteverdi' or 'phrixos'. What is so special
>> about 'rem' and is there anything I can or even should do about this
>> in the package?
>
> Grepping over a copy of the ffmpeg sources, I find ldl in
> inline-assembler fragments in various files, such as intreadwrite.h.
> These are #ifdefed checking for ARCH_MIPS64, which is set by the
> configure script.
>
> Unfortunately the configure script checks 'uname -m' for the
> architecture, which might be mips64 when running debian on a 64-bit
> kernel (this happens, e.g. when running with the loongson kernels
> shipped by debian).
>
> Forcing ./configure --arch=mips/mipsel might help. 

That makes sense to me. I'll add --arch=$(DEB_BUILD_CPU) to the
configure line for the next upload.

Thanks!

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list