[GHC] #11587: Place shared objects in LIBDIR

GHC ghc-devs at haskell.org
Thu Aug 17 20:10:06 UTC 2017


#11587: Place shared objects in LIBDIR
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Build 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:  #12031            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by joeyhess):

 With ghc 8.0.2, I'm seeing 2500 ENOENTS. That is a large improvement from
 before, but still expensive. It adds around 200 ms to the startup time.

 My program is linked dynamically with 203 haskell libraries, and there are
 a dozen paths still in RPATH for the libraries bundled with ghc. So, while
 there are only a few bundled libraries, their RPATHs still multiply badly
 with the often large numbers of libraries used by haskell programs.

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


More information about the ghc-tickets mailing list