<div dir="ltr">Isn't libc++.so dependent on libc++abi.so?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 10:30 AM, Jonas Hahnfeld <span dir="ltr"><<a href="mailto:hahnjo@hahnjo.de" target="_blank">hahnjo@hahnjo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From what I can see all of the libraries without RPATH are runtime libraries that are used by binaries compiled with Clang. I think they don't have a dependency on other libraries in that directory, so what would be the advantage of having RPATH set on them?<br>
<br>
Regards,<br>
Jonas<div><div class="h5"><br>
<br>
Am 2018-03-05 17:23, schrieb Brian Cain via llvm-dev:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
It was just brought to my attention that the RPATH configuration isn't<br>
uniform among the libraries produced by the release. Some use<br>
$ORIGIN../lib/ and others have none. Is this by design? It seems<br>
like it might be ideal for all of them to be configured the same way.<br>
If that makes sense I'll create a corresponding feature request.<br>
<br>
$ for f in<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/lib*.<wbr>so*; do echo<br>
$f; readelf -d $f|grep RUNPATH; done<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++<wbr>abi.so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++<wbr>abi.so.1<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++<wbr>abi.so.1.0<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libclan<wbr>g.so<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libclan<wbr>g.so.6<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libclan<wbr>g.so.6.0<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++.<wbr>so<br>
readelf: Error:<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++.<wbr>so: Failed<br>
to read file header<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++.<wbr>so.1<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libc++.<wbr>so.1.0<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libgomp<wbr>.so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libiomp<wbr>5.so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>IntelFeatures.so<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>IntelFeatures.so.6<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>IntelFeatures.so.6.0.0<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>.so<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>.so.6<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/liblldb<wbr>.so.6.0.0<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libLTO.<wbr>so<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libLTO.<wbr>so.6<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libLTO.<wbr>so.6.0.0<br>
0x000000000000001d (RUNPATH) Library runpath:<br>
[$ORIGIN/../lib]<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libomp.<wbr>so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/<a href="http://libomptarget.rtl.x86_64.so" rel="noreferrer" target="_blank">libompt<wbr>arget.rtl.x86_64.so</a><br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libompt<wbr>arget.so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libunwi<wbr>nd.so<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libunwi<wbr>nd.so.1<br>
./clang+llvm-6.0.0-x86_64-linu<wbr>x-gnu-ubuntu-14.04/lib/libunwi<wbr>nd.so.1.0<br>
<br>
On Sun, Mar 4, 2018 at 10:54 AM, Brian Cain <<a href="mailto:brian.cain@gmail.com" target="_blank">brian.cain@gmail.com</a>><br>
wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Uploaded ubuntu, SLES11, SLES12 binaries.<br>
<br>
4907dbd37f4e5265a2f1252d9d7b5e<wbr>5b0a9c0ec1<br>
clang+llvm-6.0.0-x86_64-linux-<wbr>gnu-ubuntu-14.04.tar.xz<br>
360b26fcd9eafe5ca9c4baa89c3833<wbr>9bc587c094<br>
clang+llvm-6.0.0-x86_64-linux-<wbr>sles11.3.tar.xz<br>
ce525cf949ef86409bc3f4f4920352<wbr>25989eecfd<br>
clang+llvm-6.0.0-x86_64-linux-<wbr>sles12.2.tar.xz<br>
<br>
On Fri, Mar 2, 2018 at 6:17 AM, Hans Wennborg via Release-testers<br>
<<a href="mailto:release-testers@lists.llvm.org" target="_blank">release-testers@lists.llvm.or<wbr>g</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Dear testers,<br>
<br>
The final version of 6.0.0 has just been tagged from the branch<br>
after<br>
r326550. It has the same contents as -rc3 modulo release notes and<br>
one<br>
small x86 fix (r326393).<br>
<br>
Please build the final binaries and upload to the sftp.<br>
<br>
For those following along: this means llvm-6.0.0 is complete, but<br>
it<br>
will take a few days to get all the tarballs ready and published<br>
on<br>
the web page. I will send the announcement once everything is<br>
ready.<br>
<br>
Many thanks to everyone for your hard work!<br>
<br>
Hans<br>
______________________________<wbr>_________________<br>
Release-testers mailing list<br>
<a href="mailto:Release-testers@lists.llvm.org" target="_blank">Release-testers@lists.llvm.org</a><br>
</div></div><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/release-teste<wbr>rs</a> [1]<br>
</blockquote>
<br><span class="HOEnZb"><font color="#888888">
--<br>
-Brian<br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
--<br>
-Brian<br>
<br>
Links:<br>
------<br>
[1] <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/release-teste<wbr>rs</a><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</font></span></blockquote>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Brian</div>
</div>