[PATCH] D78535: libclc: Pass system libraries to the linker after llvm libraries

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 17:25:13 PDT 2020


jvesely added a comment.

In D78535#1999173 <https://reviews.llvm.org/D78535#1999173>, @tstellar wrote:

> In D78535#1998136 <https://reviews.llvm.org/D78535#1998136>, @jvesely wrote:
>
> > was this a problem with using `-Wl,--as-needed`?
> >
> > LGTM.
>
>
> No, I was hitting this when using the default build options for both LLVM and libclc.


that's weird. linker shouldn't really drop libraries unless as-needed is used. can you post the falling cmdline?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78535/new/

https://reviews.llvm.org/D78535





More information about the llvm-commits mailing list