#4348: bounds error on sparc when compiling haddock
-------------------------+--------------------------------------------------
    Reporter:  maeder    |        Owner:                     
        Type:  bug       |       Status:  new                
    Priority:  highest   |    Milestone:  7.0.1              
   Component:  Compiler  |      Version:  7.1                
    Keywords:            |     Testcase:                     
   Blockedby:            |   Difficulty:                     
          Os:  Solaris   |     Blocking:                     
Architecture:  sparc     |      Failure:  Building GHC failed
-------------------------+--------------------------------------------------

Comment(by igloo):

 I've reduced the problem to this:
 {{{
 $ cat q.hs

 import GHC.Conc

 main :: IO ()
 main = do putStrLn "Q1"
           ensureIOManagerIsRunning
           putStrLn "Q2"

 $ ../ghc-7.0.0.20100924/inplace/bin/ghc-stage1 --make q -threaded
 [1 of 1] Compiling Main             ( q.hs, q.o )
 Linking q ...
 $ ./q
 Q1
 q: System.Event.Array.unsafeWrite': bounds error, index 1, capacity 1
 $
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4348#comment:2>
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

Reply via email to