[GHC] #14334: Large static object : getLabelBc: Ran out of labels

GHC ghc-devs at haskell.org
Mon Oct 9 15:44:42 UTC 2017


#14334: Large static object : getLabelBc: Ran out of labels
-------------------------------+--------------------------------------
        Reporter:  h4ck3rm1k3  |                Owner:  (none)
            Type:  bug         |               Status:  new
        Priority:  lowest      |            Milestone:
       Component:  GHCi        |              Version:  8.0.2
      Resolution:              |             Keywords:
Operating System:  Linux       |         Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |            Test Case:
      Blocked By:              |             Blocking:
 Related Tickets:              |  Differential Rev(s):
       Wiki Page:              |
-------------------------------+--------------------------------------
Changes (by bgamari):

 * cc: Jaffacake (added)


Comment:

 Hmm, this is a bit tricky; the trouble is the GHCi bytecode only has room
 for 16-bit labels. I suspect the most sensible option would be to break up
 large BCO objects during ByteCodeGen, but this sounds slightly non-
 trivial.

 Simon, any thoughts?

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


More information about the ghc-tickets mailing list