#5856: numrun012 test fails on i686 works on x86_64 --------------------------+------------------------------------------------- Reporter: td123 | Owner: Type: bug | Status: new Priority: normal | Component: Test Suite Version: 7.4.1 | Keywords: numrun012 unexpected failure Os: Linux | Architecture: x86 Failure: None/Unknown | Testcase: numrun012 Blockedby: | Blocking: Related: | --------------------------+------------------------------------------------- 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. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5856> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs