Will mold add support for "-rpath-link" and DT_RPATH? #365
Unanswered
pawelkrysiak
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm happy to support it if doing it makes sense, but it looks like LLVM lld can live without supporting it. So I thought that that's deprecated. What project do you need that flag? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Currently
-rpath-link
option is ignored by mold.Also
DT_RPATH
is only mentioned in source code, but not populated (mold usesDT_RUNPATH
instead).Are there any plans to support above in future mold releases?
In case we are linking with .so which recursively needs another .so, gold is able to resolve all dependencies while mold can only resolve the direct ones, which causes application to crash at runtime.
Beta Was this translation helpful? Give feedback.
All reactions