#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 trommler):

 Replying to [comment:8 trommler]:
 >
 > The test, however, still fails for me. Now libHSunix*.so cannot be
 found:
 >
 > This matches nus' results with readelf above. In number 2) note that
 libHSunix... is missing in {{{readelf -d process001}}} output. That means
 the Rpath to libHSunix... is also not included in process001 and hence the
 "No such file or directory."
 >
 > If I disable --as-needed all process001 tests pass as expected.
 This issue seems to be related to the way shared libraries are being built
 for ghc and the use of RUNPATH/RPATH.

 I think ticket #3072 would be a good place to discuss that.

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