[GHC] #12388: Don't barf on failures in the RTS linker

GHC ghc-devs at haskell.org
Mon Jul 18 07:44:09 UTC 2016


#12388: Don't barf on failures in the RTS linker
-------------------------------------+-------------------------------------
        Reporter:  dobenour          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 I already fixed a bunch of these in
 5300099edf106c1f5938c0793bd6ca199a0eebf0, but there are definitely more.
 I think you're talking about `loadArchive`, right?  That's where I ran out
 of energy, because it needs a lot of refactoring.

 C++ would make it easy, but I don't think it's worth going to C++ just for
 this one bit of code.  I would refactor it carefully, splitting up the
 function into smaller pieces and building a decent test suite.

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


More information about the ghc-tickets mailing list