[GHC] #8520: ghc.exe: internal error: loadArchive: error whilst reading `C'

GHC ghc-devs at haskell.org
Sun Nov 17 18:43:43 UTC 2013


#8520: ghc.exe: internal error: loadArchive: error whilst reading `C'
----------------------------------+---------------------------
        Reporter:  awson          |            Owner:
            Type:  bug            |           Status:  new
        Priority:  highest        |        Milestone:
       Component:  Compiler       |          Version:  7.7
      Resolution:                 |         Keywords:
Operating System:  Windows        |     Architecture:  x86
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+---------------------------

Comment (by awson):

 At last I've found the culprit: it's a lack of memory. When I set
 LARGEADDRESSAWARE flag for ghc.exe executable, the problem went away.

 AFAIUI, it is unknown whether enabling this flag is safe for GHC-generated
 binaries. Apparently, it works, though.

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


More information about the ghc-tickets mailing list