[GHC] #5987: Too many symbols in ghc package DLL

GHC cvs-ghc at haskell.org
Sun Feb 17 05:19:08 CET 2013


#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:                    |  
---------------------------------+------------------------------------------
Changes (by rassilon):

 * cc: bill@… (added)


Comment:

 Here's a pretty nutty idea: What if we split the DLL in parts by
 automatically forcing the .o files into partitions and create a .def file
 for each partition thus breaking the import library cycle.

 GHC already uses .def files to break the cycle between the RTS and the
 base DLLs.

 Then you would "just" modify Cabal to understand partitioned DLLs.
 Unfortunately, this might end up increasing the total number of partitions
 if you're not careful because internal symbols would now need to be
 exported from the partitions. :(

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



More information about the ghc-tickets mailing list