<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 3, 2017 at 11:39 AM, Ed Maste via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@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">On 1 February 2017 at 18:52, Rafael Avila de Espindola<br>
<span class=""><<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>
><br>
> Can you expand a bit on the use case of preserving the full path?<br>
<br>
</span>During some FreeBSD experiments I built with make -i (ignore<br>
failures), then set the reproduce environment variable and reran with<br>
make -i. That gave me a reproduction .tar and response file for each<br>
failing case, which I reran with ld.bfd to produce the output directly<br>
in the target directory. This was mainly a convenience because the<br>
FreeBSD build builds its own toolchain so it's not necessarily<br>
straightforward to find the exact invocation used, or rebuild one<br>
component with special CFLAGS etc. All of that said, for FreeBSD we're<br>
beyond the point where this is needed now and I don't have a strong<br>
feeling on it.<br></blockquote><div><br></div><div>While FreeBSD may be beyond the point of needing this, the experiences with FreeBSD can inform our behavior so that things are easy for future platforms. FreeBSD is hopefully not the last platform to adopt LLD as the system linker :)</div><div><br></div><div>If I understand this correctly, the main issue with this patch is that the repro archive no longer contains information about the absolute path of the output file of the original invocation. That seems useful to preserve (and it seems based on Rui's patch that it's possible to do quite easily). I remember we thought about (and maybe did?) do something like you did during the bringup of LLD for the PS4 base system.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>