[GHC] #2615: ghci doesn't play nice with linker scripts

GHC trac at galois.com
Tue Mar 3 08:14:00 EST 2009


#2615: ghci doesn't play nice with linker scripts
---------------------------------+------------------------------------------
    Reporter:  AlecBerryman      |        Owner:  igloo  
        Type:  bug               |       Status:  new    
    Priority:  high              |    Milestone:  6.10.2 
   Component:  GHCi              |      Version:  6.10.1 
    Severity:  normal            |   Resolution:         
    Keywords:                    |   Difficulty:  Unknown
    Testcase:                    |           Os:  Linux  
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by simonmar):

 As Duncan says, this won't be a problem when we're using shared libraries:

   It means that ghci will not need to link to system shared libs except
   when someone uses `-lblah` on the ghci command line. That's because when
   we link a Haskell package as a shared lib the system linker interprets
   any linker scripts and embeds the list of dependencies on other shared
   libs (other Haskell packages and system libs). Then ghci just dlopens
   the shared libs for the directly used Haskell packages that that
   automatically resolves all their deps on other Haskell and system shared
   libs.

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


More information about the Glasgow-haskell-bugs mailing list