[GHC] #789: BCOs can only have 64k instructions

GHC trac at galois.com
Thu Jan 17 18:13:44 EST 2008


#789: BCOs can only have 64k instructions
---------------------+------------------------------------------------------
 Reporter:  simonpj  |          Owner:         
     Type:  bug      |         Status:  new    
 Priority:  normal   |      Milestone:  _|_    
Component:  GHCi     |        Version:  6.8.2  
 Severity:  normal   |     Resolution:         
 Keywords:  BCO      |     Difficulty:  Unknown
 Testcase:           |   Architecture:  x86    
       Os:  Linux    |  
---------------------+------------------------------------------------------
Comment (by dons):

 You'll get further here if you use a Map of ByteStrings. The bytestring
 literals will be unpacked at compile time, and the linker should then be
 able to handle them better.

 Using overloaded strings, you can even avoid having to insert 'pack' to
 build the bytestrings.
 see for example, this large static data, full of bytestrings,

 http://code.haskell.org/~dons/code/pcre-light/tests/Unit.hs

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


More information about the Glasgow-haskell-bugs mailing list