Skip to content

GitLab

  • Menu
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 4,968
    • Issues 4,968
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 474
    • Merge requests 474
  • 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 Compiler
  • GHCGHC
  • Issues
  • #4497
Closed
Open
Created Nov 16, 2010 by Luite Stegeman@luiteDeveloper

hmatrix-0.10.0.0 fails to build with GHC 7.0.1 (worked with 7.0.0.20101111)

When building hmatrix-0.10.0.0 with GHC 7.0.1 I get the following error. GHC 7.0.0.20101111 works fine. Increasing the context stack size only makes the error message longer.

lib\Numeric\LinearAlgebra\Tests.hs:242:33:
    Context reduction stack overflow; size = 21
    Use -fcontext-stack=N to increase stack size to N
      $dNum :: Num (Vector uf6)
      co :: e ~ uf6
      co :: RealOf e ~ e
      co :: RealOf uf5 ~ uf5
      co :: e ~ uf5
      co :: RealOf e ~ e
      co :: RealOf uf4 ~ uf4
      co :: e ~ uf4
      co :: RealOf e ~ e
      co :: RealOf uf3 ~ uf3
      co :: e ~ uf3
      co :: RealOf e ~ e
      co :: RealOf uf2 ~ uf2
      co :: e ~ uf2
      co :: RealOf e ~ e
      co :: RealOf uf1 ~ uf1
      co :: e ~ uf1
      co :: RealOf e ~ e
      co :: RealOf uf ~ uf
      co :: e ~ uf
      co :: RealOf e ~ e
    In the expression: norm2 a =~= sqrt (dot a a)
    In an equation for `norm2PropR':
        norm2PropR a = norm2 a =~= sqrt (dot a a)
    In an equation for `normsVTest':
        normsVTest
          = TestList
              [utest "normv2CD" $ norm2PropC v,
               utest "normv2CF" $ norm2PropC (single v),
               utest "normv2D" $ norm2PropR x, ....]
          where
              v = fromList [...] :: Vector (Complex Double)
              x = fromList [...] :: Vector Double
              norm2PropR a = norm2 a =~= sqrt (dot a a)
              norm2PropC a = norm2 a =~= realPart (sqrt (dot a (conj a)))
              ....
Trac metadata
Trac field Value
Version 7.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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