
#13739: very slow linking of executables with ld.bfd < 2.27 -------------------------------------+------------------------------------- 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): This problem rears its head in an ugly fasion while configuring packages that have custom setups: {{{ cabal unpack distributive-0.5.2 cd distributive-0.5.2 cabal sandbox init cabal install --only-dependencies time cabal configure }}} gives: {{{ [1 of 1] Compiling Main ( dist/setup/setup.hs, dist/setup/Main.o ) Linking ./dist/setup/setup ... Configuring distributive-0.5.2... real 0m21.580s user 0m20.928s sys 0m0.560s }}} while {{{ time cabal configure --ghc-options=-dynamic }}} gives: {{{ Resolving dependencies... [1 of 1] Compiling Main ( dist/setup/setup.hs, dist/setup/Main.o ) Linking ./dist/setup/setup ... Configuring distributive-0.5.2... real 0m1.830s user 0m1.460s sys 0m0.228s }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13739#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler