[GHC] #7830: Error: operand out of range

GHC cvs-ghc at haskell.org
Sun Apr 14 12:41:48 CEST 2013


#7830: Error: operand out of range
-------------------------+--------------------------------------------------
    Reporter:  erikd     |       Owner:                       
        Type:  bug       |      Status:  new                  
    Priority:  high      |   Milestone:  7.8.1                
   Component:  Compiler  |     Version:  7.7                  
    Keywords:            |          Os:  Linux                
Architecture:  powerpc   |     Failure:  Installing GHC failed
  Difficulty:  Unknown   |    Testcase:                       
   Blockedby:            |    Blocking:                       
     Related:            |  
-------------------------+--------------------------------------------------

Comment(by erikd):

 Every instance of this "operand out of range" error involved the exact
 instruction:

 {{{
   lwz     30, .Lnwa8-(1b)(31)
 }}}

 The target, {{{.Lnwa8}}}, is at the end of the file on line 65056. The
 instructions that are generating errors are in the range 51766 to 54954.
 There are no instances of that instruction before line 51766 and many in
 the line number range 55747 to 65045.

 Obviously this instruction only works for small offsets. Need to read up
 on {{{lwz}}} and similar instructions.

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



More information about the ghc-tickets mailing list