<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature">On Thu, Sep 8, 2016 at 8:54 AM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">emaste added a comment.<br>
<br>
One issue remains in using this for the FreeBSD kernel module build -- we don't specify the output format / emulation right now, because we build GNU ld with the output target compiled-in. This results in an error (see <a href="https://reviews.llvm.org/D24348" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D24348</a> for my suggested improvement to the error message).<br>
<br>
I think it's much better if we don't have to build the linker multiple times though (once for each supported target). The right thing for us to do is make the build pass in `-m`.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D24060" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D24060</a><br>
<br>
<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Dealing with this was going to be the next thing. But if FreeBSD is willing to change to add -m that makes everything easier.</div><div class="gmail_extra"><br></div><div class="gmail_extra">- Michael Spencer<br></div><div class="gmail_extra"><br></div></div>