[GHC] #15051: -split-objs generates excessively many files on Windows

GHC ghc-devs at haskell.org
Tue Jul 17 00:47:49 UTC 2018


#15051: -split-objs generates excessively many files on Windows
-------------------------------------+-------------------------------------
        Reporter:  kanetw            |                Owner:  Phyx-
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4915
       Wiki Page:                    |  Phab:D4916
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"53649947223f197cf93e26393486f578d56c46c6/ghc"
 53649947/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="53649947223f197cf93e26393486f578d56c46c6"
 split-obj: disable split-objects on Windows.

 A change has caused GHC to generate excessive specializations.
 This is making GHC generate 1800 splits for a simple GHC.Prim module,
 which means 1800 fork/exec calls.

 Due to this compilation times on Windows with split-objs on take over
 24 hours to complete depending on your disk speed.  Also the end
 compiler
 compiling medium to large project is also much slower.

 So I think we need to just disable split-objects. As there's nothing
 that
 can be done about this.

 Test Plan: ./validate

 Reviewers: bgamari

 Subscribers: tdammers, rwbarton, thomie, erikd, carter

 GHC Trac Issues: #15051

 Differential Revision: https://phabricator.haskell.org/D4915
 }}}

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


More information about the ghc-tickets mailing list