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

GHC ghc-devs at haskell.org
Wed May 24 18:54:16 UTC 2017


#13739: Very slow linking of profiled executables
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       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 just tried building a profiled executable with -fwhole-archive-hs-libs,
 which seems to only control the -Wl,--gc-sections flag, and it is much
 faster.

 I'll replicate my previous setup and try this later today.

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


More information about the ghc-tickets mailing list