[GHC] #13739: Very slow linking of profiled executables

GHC ghc-devs at haskell.org
Mon Jun 12 23:35:38 UTC 2017


#13739: Very slow linking of profiled executables
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by duog):

 I've attached timings with 3 versions of ld obtained from
 [http://ftp.gnu.org/gnu/binutils/].

 These show that 2.27 fixes the issue we're running into. Still much slower
 than 8.0.2 though.

 I would also note that I find the very large file sizes of 8.2.1-no-gc-
 sections relative to 8.0.2 in comment 17 weird. It looks, to my untrained
 eye, like many more .o files from the archives are getting pulled in.

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


More information about the ghc-tickets mailing list