[GHC] #8405: experiment with using function-sections for linking (for smaller libs and executables)

GHC ghc-devs at haskell.org
Fri Dec 25 04:20:22 UTC 2015


#8405: experiment with using function-sections for linking (for smaller libs and
executables)
-------------------------------------+-------------------------------------
        Reporter:  carter            |                Owner:  olsner
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.6.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1242
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 Link-time performance observation here: #11285; when compiling `Setup.sh`,
 split sections makes ld.bfd run four times slower than split objects, but
 ld.gold two times faster than split objects.

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


More information about the ghc-tickets mailing list