
#11587: Place shared objects in LIBDIR -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Package system | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton):
The dynamic linker must look in nearly 25 Haskell library directories to locate every system library! This is madness.
Not only that, but just to spell it all out explicitly, * The dynamic linker has to look in those nearly 25 Haskell library directories for each Haskell library, too, making the behavior quadratic in the number of Haskell packages. * This applies not just to `ghc` itself, but to any executable that uses dynamic Haskell libraries. Some people have programs that use hundreds of different Haskell packages. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11587#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler