#5987: Too many symbols in ghc package DLL
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  highest           |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  7.5             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:  3658            
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 Replying to [comment:13 duncan]:
 > Have we looked into whether we can avoid exporting so many symbols by
 hiding all package-internal symbols. My intuition is that there must be
 lots of them that are only needed for intra-package linkage and are not
 needed in the external interface. The only symbols that should need to be
 external are the ones for things accessable via the .hi files of the
 exposed modules. Though if basically every module is exposed then that
 would not help much.

 We should do this, but it wouldn't help in the case of the GHC package: as
 you say, every module is exposed.

 It would be good to have a per-module flag to say "this is a hidden
 module", and then we could give the symbols the correct linker hint so
 that they don't populate the .so file's symbol table.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5987#comment:14>
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