[GHC] #10627: Regression: cabal install of numeric-prelude hangs

GHC ghc-devs at haskell.org
Fri Jul 10 21:59:56 UTC 2015


#10627: Regression: cabal install of numeric-prelude hangs
-------------------------------------+-------------------------------------
        Reporter:  George            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.2-rc2
      Resolution:                    |                Keywords:
Operating System:  MacOS X           |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by George):

 Replying to [comment:6 Lemming]:
 > My first interesting observation is that GHCi (run by `cabal repl`) can
 load all modules.
 Yes, cabal repl works for me also
 {{{
 ghc -V
 The Glorious Glasgow Haskell Compilation System, version 7.10.1.20150630
 cabal get -s numeric-prelude
 cd numeric-prelude
 cabal sandbox init
 cabal install --only-dependencies
 cabal repl
 }}}
 However after quitting out of the repl,  cabal build fails
 cabal build
 Building numeric-prelude-0.4.2...
 ...
 It hangs after emitting the following
 {{{
 src/Algebra/RealRing.hs:369:6: Warning:
     Rule "NP.roundSimple :: a -> Word64" may never fire
       because ‘roundSimple’ might inline first
     Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘roundSimple’
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10627#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list