[GHC] #717: Compiling large constant data structure fails

GHC trac at galois.com
Wed Mar 8 13:32:07 EST 2006


#717: Compiling large constant data structure fails
--------------------------------+-------------------------------------------
    Reporter:  luettich at tzi.de  |        Owner:         
        Type:  bug              |       Status:  new    
    Priority:  normal           |    Milestone:         
   Component:  Compiler         |      Version:  6.4.1  
    Severity:  normal           |     Keywords:         
          Os:  MacOS X          |   Difficulty:  Unknown
Architecture:  powerpc          |  
--------------------------------+-------------------------------------------
I am trying to compile a large data strcture as list into a Haskell module
 (Source is linked below)
 and GHC fails with this error message:

 Compiling CASL_DL.!PredefinedSign ( ./CASL_DL/PredefinedSign.hs,
 ./CASL_DL/PredefinedSign.o )
 /tmp/ghc12137.s:30942:Fixup of 39588 too large for field width of 16 bits
 /tmp/ghc12137.s:30939:Fixup of 39600 too large for field width of 16 bits

 With the flag '-fvia-C', GHC can compile the file without an error.

 Sources, including a Makefile with used GHC options, are available at
 [http://www.informatik.uni-bremen.de/~luettich/forGHCBug-Large-data-
 structure.tgz sources]

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


More information about the Glasgow-haskell-bugs mailing list