#6042: GHC is bloated
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:  pcapriotti      
        Type:  bug               |      Status:  new             
    Priority:  highest           |   Milestone:  7.6.1           
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by pcapriotti):

 Here is the output of `size` for stage1, obtained by compiling with those
 3 versions of GHC, with and without split-objects on the libraries:

 {{{
 SplitObjs=YES

 text            data      bss   dec             hex     filename

 7.0.4
 18690071        1181180   13384 19884635        12f6a5b inplace/lib/ghc-
 stage1

 7.4.2
 19205941        1257480   13364 20476785        1387371 inplace/lib/ghc-
 stage1

 7.6.0
 21763908        1482588   13364 23259860        162ead4 inplace/lib/ghc-
 stage1
 }}}

 {{{
 SplitObjs=NO

 7.0.4
 22128013        1410852   13352 23552217        16760d9 inplace/lib/ghc-
 stage1

 7.4.2
 22353138        1469344   13332 23835814        16bb4a6 inplace/lib/ghc-
 stage1

 7.6.0
 21763908        1482588   13364 23259860        162ead4 inplace/lib/ghc-
 stage1
 }}}

 So it looks like `SplitObjs` isn't doing anything on 7.6.

 Attached is a csv with sizes module by module (as reported by `size`).

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to