[GHC] #7062: Spurious undefined reference to `openpty'

GHC cvs-ghc at haskell.org
Fri Jul 13 21:31:10 CEST 2012


#7062: Spurious undefined reference to `openpty'
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:                  
        Type:  bug               |      Status:  merge           
    Priority:  high              |   Milestone:  7.4.3           
   Component:  Compiler          |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 @trommler does the patch fix it for you?

 I still don't understand what was going wrong, and I'm afraid your
 explanation doesn't clarify things for me.  The problem I encountered is
 that we had a link line like

 {{{
   ... -lHSprocess -lHSunix -lutil ...
 }}}

 where `libHSprocess` depends on `libHSunix` which depends on `1libutil`.
 But the linker reported a missing symbol `openpty` that is undefined in
 `libHSunix` and defined in `libutil`.

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



More information about the Glasgow-haskell-bugs mailing list