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

Bug#593420: mpfi: FTBFS: Error: mpfi_interv_d (i, a, b) failed.



Source: mpfi
Version: 1.5-2
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

mpfi_1.5-2 FTBFS on SH4.
  http://buildd.debian-ports.org/fetch.php?pkg=mpfi&arch=sh4&ver=1.5-2&stamp=1282053603&file=log&as=raw
----
PASS: tinit_set
Warning: reverted endpoints line 21
Warning: reverted endpoints line 22
Warning: reverted endpoints line 23
Warning: reverted endpoints line 26
Warning: reverted endpoints line 30
Warning: reverted endpoints line 37
Warning: reverted endpoints line 38
PASS: tintersect
Error: mpfi_interv_d (i, a, b) failed.

a = nan
b = 16
got    i = [@NaN@,1.60e1]
expected = [1.60e1, @NaN@]
FAIL: tinterv_d
PASS: tinterv_fr
PASS: tinterv_q
PASS: tinterv_si
PASS: tinterv_ui
PASS: tinterv_z
Seed MPFI_CHECK_RANDOMIZE=1282908280 (include this in bug reports)
PASS: tinv
Seed MPFI_CHECK_RANDOMIZE=1282701512 (include this in bug reports)
PASS: tio_str
Seed MPFI_CHECK_RANDOMIZE=1282816170 (include this in bug reports)
----

mpfi failed in test of float(NaN).
We need a -mieee option to perform floating point calcration in sh4.

I made a patch to revise to be able to build and test.
Would you apply it?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Attachment: mpfi-1.5_sh4.patch
Description: application/octetstream


Reply to: