[GHC] #7062: Spurious undefined reference to `openpty'
GHC
cvs-ghc at haskell.org
Sun Jul 15 10:20:06 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 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
More information about the Glasgow-haskell-bugs
mailing list