#4348: bounds error on sparc when compiling haddock
-------------------------+--------------------------------------------------
    Reporter:  maeder    |        Owner:  tibbe              
        Type:  bug       |       Status:  infoneeded         
    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 maeder):

 The problem is still present:

 {{{
 "inplace/bin/ghc-stage2"   -H32m -O -optc-mcpu=ultrasparc -opta-
 mcpu=ultrasparc -DNEW_GHC_LAYOUT   -hide-all-packages -i
 -iutils/haddock/src -iutils/haddock/dist/build
 -iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build
 -Iutils/haddock/dist/build/autogen    -optP-DIN_GHC_TREE -optP-include
 -optPutils/haddock/dist/build/autogen/cabal_macros.h -package
 Cabal-1.10.0.0 -package array-0.3.0.2 -package base-4.3.0.0 -package
 containers-0.4.0.0 -package directory-1.1.0.0 -package filepath-1.2.0.0
 -package ghc-7.0.0.20101028 -package pretty-1.0.1.2 -package
 xhtml-3000.2.0.1  -funbox-strict-fields -O2 -Wall -fwarn-tabs
 -XForeignFunctionInterface -XCPP -XPatternGuards -XDeriveDataTypeable
 -XScopedTypeVariables -XMagicHash -no-user-package-conf -rtsopts     -odir
 utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir
 utils/haddock/dist/build -hisuf hi -osuf  o -hcsuf hc -c
 utils/haddock/src/Haddock/GhcUtils.hs -o
 utils/haddock/dist/build/Haddock/GhcUtils.o
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.0.0.20101028 for sparc-sun-solaris2):
         System.Event.Array.unsafeWrite': bounds error, index 1, capacity 1

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 gmake[1]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1
 gmake: *** [all] Error 2
 }}}

 Igloo's q-example still fails in the same way. (The -threaded flag is
 important.)

 {{{
 -bash-3.00$ uname -a
 SunOS leo 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-280R
 }}}

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