Re: Libav 0.7 FTBFS on mipsel: Error: opcode not supported on this processor: mips2 (mips2) `ldl $2, 7($13)'
On Sun, Jul 17, 2011 at 12:36:23 (CEST), David Kuehling wrote:
>>>>>> "Reinhard" == Reinhard Tartler <email@example.com> 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)'
>> 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.
Reinhard Tartler, KeyID 945348A4