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

GHC ghc-devs at haskell.org
Mon Sep 19 23:58:49 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 dobenour):

 I have a patch.  It doesn't solve the problem completely, but it solves
 the problem in `loadArchive()`.  Failures in that function now cause an
 error return and a message to be written via `errorBelch()`.  This isn't
 great, but it is better than the current situation.

 Currently running `./validate --slow` to test.

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


More information about the ghc-tickets mailing list