Skip to content

numrun012 test fails on i686 works on x86_64

I have built ghc on both x86_64 and i686 for archlinux. make test has no unexpected results on x86_64. On i686, make test has only the following unexpected failure:

=====> numrun012(normal) 831 of 3160 [0, 0, 0]
cd ./numeric/should_run && '/build/src/ghc-7.4.1/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts  -fno-ghci-history -o numrun012 numrun012.hs    >numrun012.comp.stderr 2>&1
cd ./numeric/should_run && ./numrun012    </dev/null >numrun012.run.stdout 2>numrun012.run.stderr
Actual stdout output differs from expected:
--- ./numeric/should_run/numrun012.stdout	2012-02-01 18:11:16.000000000 +0000
+++ ./numeric/should_run/numrun012.run.stdout	2012-02-07 23:06:57.413192194 +0000
@@ -1,4 +1,4 @@
-[0,1,5,9,10,14,31,31,32,32,32,32,33]
+[0,1,5,9,10,14,31,31,31,32,32,32,33]
 -2.147483648e9
 -2.1474836e9
 -2.147483648e9
*** unexpected failure for numrun012(normal)

I think I got the failure down to one line:

The following returns 31.000000000000004 on x86_64 and 31.0 on i686:

logBase 2 (fromIntegral 2^31) :: Double

Please let me know if you need anything else from me.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information