
#13739: very slow linking of executables with ld.bfd < 2.27 -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: infoneeded 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: 13541 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by duog): * related: => 13541 Comment: I don't know whether anyone has investigated whether there is anything we are doing which is exasperating the problem. Executables produced by removing -Wl,--gc-sections from the linker invocation look like they're pulling in most of the archives. This does not occur with 8.0.2. I will see if it happens with gold once support it lands in the ghc-8.2 branch. I would like to see the configure scripts disable split sectioned libraries if the linker is ld.bfd < 27, or at least warn that the user is in for an unpleasant experience. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13739#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler