[PATCH] D92598: [lld][test] Handle long build path
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 12 15:47:55 PST 2020
thopre added a comment.
In D92598#2450552 <https://reviews.llvm.org/D92598#2450552>, @MaskRay wrote:
> In D92598#2433322 <https://reviews.llvm.org/D92598#2433322>, @thopre wrote:
>
>> Sorry, the -soname approach did not solve it on our systems (actually we now have debug build all failing) because it adds a DT_SONAME entry on top of the DT_NEEDED which still contain a full path. How about using -l instead?
>
> You used it wrongly. You should use something like `--soname=t` instead of `--soname=%t` (%t will expand to the absolute path).
I did, see version 2 of this diff which contained not `--soname=t` but `--soname copy-relocation-zero-nonabs`. The effect was *adding* a DT_SONAME entry but it did not change the value of the DT_NEEDED entry.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92598/new/
https://reviews.llvm.org/D92598
More information about the llvm-commits
mailing list