[GHC] #5810: OSX Lion building 7.4 head causes Haddock Divide By Zero

GHC cvs-ghc at haskell.org
Thu Jan 26 13:30:53 CET 2012


#5810: OSX Lion building 7.4 head causes Haddock Divide By Zero
---------------------------------+------------------------------------------
 Reporter:  codeweaver           |          Owner:                                       
     Type:  bug                  |         Status:  new                                  
 Priority:  normal               |      Component:  Compiler                             
  Version:  7.4.1-rc1            |       Keywords:  haddock divide by zero internal error
       Os:  MacOS X              |   Architecture:  Other                                
  Failure:  Building GHC failed  |       Testcase:                                       
Blockedby:                       |       Blocking:                                       
  Related:                       |  
---------------------------------+------------------------------------------

Comment(by edsko):

 I got the same problem (ghc-7.4.0.20120119). Worked around it by disabling
 haddock in build.mk. After that it installed, but then when I tried to
 build cabal-install *that* failed with a divide by zero error. After some
 tracking down, turns out things seem to be very broken:

 # ghci
 GHCi, version 7.4.0.20120119: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> 1.05
 *** Exception: divide by zero
 Prelude> 1.04
 (hangs completely)

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



More information about the Glasgow-haskell-bugs mailing list