#4914: FPU initialization required again
---------------------------------+------------------------------------------
Reporter: aruiz | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler (NCG)
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: x86 | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
I think that the bug [http://hackage.haskell.org/trac/ghc/ticket/2724
2724], fixed in ghc-6.10.x, has reappeared in ghc-7.0.1. When I run
hmatrix tests I get the same kind of random errors, which disappear if I
insert the asm finit call. I don't have a small test case without
dependencies, but I hope that this problem can be easily reproduced as
follows:
{{{
$ cabal update
$ cabal unpack hmatrix
$ cd hmatrix-0.11.0.0
$ cabal install [-f-vector] [-f-binary]
}}}
(these flags can be given to minimize dependencies)
{{{
$ cabal test
}}}
All tests must pass. Now we will try to produce the error:
Comment out line 172 of hmatrix.cabal to remove the workaround for
ghc-7.0.1:
{{{
- cpp-options: -DFINIT
+ -- cpp-options: -DFINIT
}}}
{{{
$ cabal clean
$ cabal install [-f-vector] [-f-binary]
$ cabal test
}}}
Now we will probably get several errors.
Please let me know if you need more information. I hope I have not made
some big mistake.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4914>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs