Re: NA and NaN representation on mips64el
Hi,
On 2025-05-13 09:24, Rafael Laboissière wrote:
> * YunQiang Su <wzssyqa@gmail.com> [2025-05-13 08:49]:
>
> > Rafael Laboissière <rafael@debian.org> 于2025年5月13日周二 00:30写道:
> > >
> > > […]
> > >
> > > It seems to be a problem related to how floating point NA and NaN
> > > are represented.
> > >
> > > Strangely, I cannot reproduce this problem. I built the package
> > > manually on a mips64el porterbox using schroot and everything worked
> > > fine.
> >
> > I see. The problem is that the machine (mipsel-osuosl-03.debian.org) is
> > Loongson 3A4000. The problem is that MIPS swap the encodings of sNaN and
> > qNaN since MIPSr5.
> >
> > I guess that octave uses sNaN as NA? We have no good solution for it. We
> > have meet some other packages with this case. Let's just ask the help
> > from DSA to pin this package on non-3A4000 machines.
>
> Could you please tell me how to make do such a request?
You should contact the wanna-build team [1], but the possibility to
block a package on a specific machine is being phased-out with the
switch to pybuildd.
Ideally you should disabled the test on nan 2008 machine, for instance by
looking at "nan_2008" in /proc/cpuinfo (as opposed to "nan_legacy").
Regards
Aurelien
[1] debian-wb-team@lists.debian.org
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
Reply to: