[PATCH] D24060: [lld][ELF] Add support for -b binary

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 11:38:03 PDT 2016


On Thu, Sep 8, 2016 at 8:54 AM, Ed Maste <emaste at freebsd.org> wrote:

> emaste added a comment.
>
> 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
> https://reviews.llvm.org/D24348 for my suggested improvement to the error
> message).
>
> 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`.
>
>
> https://reviews.llvm.org/D24060
>
>
>
>
Dealing with this was going to be the next thing. But if FreeBSD is willing
to change to add -m that makes everything easier.

- Michael Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160908/9eb27f7f/attachment.html>


More information about the llvm-commits mailing list