Jiaxun Yang on Wed, 03 Aug 2022 16:54:58 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Build failure on MIPS R6 (Patch attached)



> 2022年8月3日 15:49,Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> 写道:
> 
> On Wed, Aug 03, 2022 at 10:37:53AM +0100, Jiaxun Yang wrote:
>> Hi there,
>> 
>> Pari build is failing on MIPS Release 6 system because it’s using MULTU instruction which is removed on MIPS R6.
>> 
>> We should use MUHU/MULU pair instead.
>> 
>> Patch attached for fix.
> 
> Thanks for your patch. Do you know on which hardware MIPS R6 run ?
Hi,

Thanks for your response, the targeting hardware is MobileEye EyeQ5. 

> 
> Since this is an incompatible ABI, maybe we need to consider them as new kernels

Hmm, as pari didn’t split 32bit arm into individual revs probably for MIPS it’s
not worthy to do so as well?

> 
> src/kernel/mips64r6
> src/kernel/mips32r6
> 
> and change config/get_kernel to pick the right one.
> 
> Anyway for the time being your patch should suffice.
> 
> Cheers,
> Bill


Thanks.
- Jiaxun