[PATCH] D25932: Unconditionally pass `-lto_library` to the linker on Darwin

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 21 13:28:58 PST 2016


(In addition to rnk's question: We build with -Werror, but Wliblto seems
unaffected by this. Because of that, our bots didn't catch the new warning
and we only noticed this when a human did a local build after we updated
compilers and saw a wall of warnings. It'd be good if Wliblto was affected
by -Werror too.)

On Mon, Nov 21, 2016 at 4:18 PM, Reid Kleckner via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> rnk added a comment.
>
> This added a bunch of warnings to the Chromium build, which doesn't use
> LTO today, so we had to revert our clang roll:
> https://codereview.chromium.org/2520453002/
>
> We currently don't use LTO on Mac, so we don't build or package the LTO
> plugin, and in the near term aren't planning to change that. For now, we
> really want the previous behavior: if the linker encounters a .bc file, it
> should error. How can we get that behavior today?
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D25932
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161121/77721886/attachment.html>


More information about the cfe-commits mailing list