Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,248
    • Issues 5,248
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 577
    • Merge requests 577
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #4914
Closed
Open
Issue created Jan 21, 2011 by aruiz@trac-aruiz

FPU initialization required again

I think that the bug 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.

Trac metadata
Trac field Value
Version 7.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (NCG)
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
Assignee
Assign to
Time tracking