<div dir="ltr">It's scary to run the binary on my machine (and I don't have a sandbox at the moment), so I cannot actually run it, but there are a few things you can do.<div><br></div><div>First of all, "symbol lookup error" is not LLD's error message. It's likely an error message of the dynamic linker. Try running it with `LD_VERBOSE=1 LD_TRACE_LOADED_OBJECTS=1` or something. Refer `man ld.so` for other dynamic linker debug options.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 21, 2017 at 1:22 PM, Carlo Kok via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 2017-02-21 20:33, Rafael Avila de Espindola wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Input files:<br>
<a href="https://www.dropbox.com/s/8yn3dggx05atn47/binLinux.zip?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/8yn3<wbr>dggx05atn47/binLinux.zip?dl=0</a><br>
</blockquote>
<br>
If you pass --reproduce foo.tar to lld it will create a foo.tar file<br>
with all that is needed to reproduce the link.<br>
<br>
Can you also share how you created the various .o files? If so I might<br>
be able to try reducing the issue.<br>
</blockquote>
<br></span>
It's created by my own compiler.<br>
<br>
<a href="https://www.dropbox.com/s/rmkyqks4lnr85rz/foo.tar?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/rmky<wbr>qks4lnr85rz/foo.tar?dl=0</a><br>
<br>
My biggest problem is that I have no idea where I can start trying to narrow it down, on the so side, or on the executable side, the error is rather strange to begin with.<span class="im HOEnZb"><br>
<br>
<br>
-- <br>
Carlo Kok<br>
RemObjects Software<br></span><div class="HOEnZb"><div class="h5">
______________________________<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>
</div></div></blockquote></div><br></div>