#3843: Merge plugins into HEAD
---------------------------------+------------------------------------------
    Reporter:  dreixel           |        Owner:  simonpj     
        Type:  task              |       Status:  merge       
    Priority:  high              |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  6.13        
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by batterseapower):

 Simon: I would have to check. I originally assumed that it forces the
 linker to link code from libHSghc into the executable that it could
 otherwise have dropped as dead code, but it could also have been from raw
 symbol table size too.

 On linux I saw an increase to 47mb from 32mb, i.e. 15mb. If the dynamic
 symbol table exported 65536 symbols (roughly right) then the entire size
 increase would be explained if the average symbol length was 232 bytes
 (assuming 8 bytes overhead per symbol in the table to store an address).
 This does not seem at all unreasonable, as the symbols GHC generates are
 rather long.

 So it seems quite possible that the majority of the size increase comes
 purely from the dynamic symbol table.

 (Note that the patch that causes code size bloat has *not* been committed)

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to