[GHC] #15446: compiling files in ghci on MacOS eventually results in malformed mach-o: load commands size (32800) > 32768

GHC ghc-devs at haskell.org
Fri Jul 27 21:02:30 UTC 2018


#15446: compiling files in ghci on MacOS eventually results in malformed mach-o:
load commands size (32800) > 32768
-------------------------------+--------------------------------------
        Reporter:  George      |                Owner:  (none)
            Type:  bug         |               Status:  new
        Priority:  normal      |            Milestone:
       Component:  GHCi        |              Version:  8.4.3
      Resolution:              |             Keywords:
Operating System:  MacOS X     |         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: angerman (added)


Comment:

 I suspect that the reason this happens after repeated loads is that we
 probably link every object compiled so far in the session into each new
 object. Afterall, the user's entered expression may refer to anything the
 user previously entered.

 CCing angerman who has thought more about how to deal with this
 limitation.

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


More information about the ghc-tickets mailing list