[GHC] #12891: Automate symbols inclusion in RtsSymbols.c from Rts.h

GHC ghc-devs at haskell.org
Sat Apr 7 12:02:12 UTC 2018


#12891: Automate symbols inclusion in RtsSymbols.c from Rts.h
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:  bgamari
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Build System      |              Version:  8.0.1
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12846            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Yeah, I think we indeed have a problem. `Rts.h` exposes symbols that are
 there so you can load the rts in another program and control it.

 These aren't needed by the runtime linker so I prefer not to have them in
 the symbol list.

 So I think you're right in that we can't really automate this. Not unless
 we add these symbols too, but that costs us a small amount of time at
 runtime for symbols that will likely never be used..

 what do you think @bgamari?

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


More information about the ghc-tickets mailing list