[PATCH] D62279: Use LTO capable linker

Wink Saville via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 23 14:40:26 PDT 2019


winksaville added a comment.

In D62279#1514596 <https://reviews.llvm.org/D62279#1514596>, @beanz wrote:

> @winksaville I've figured out how to resolve the `gtest` issue, but unfortunately that isn't good enough to get the `check-runtimes` target working. A change went in back in February (rL353601 <https://reviews.llvm.org/rL353601>), which breaks running compiler-rt's tests when building a distribution in non-trivial ways, which will unfortunately be difficult to resolve.
>
> I will land the `gtest` fix sometime today, and I'm going to start working toward getting the larger issue resolved, although that is going to take some time.


@beanz, glad we're making progress!

One other thing, my next goal, after we can successfully build and test the `DistributionExample`,
is to make `DistributionExample_shared`.  I envision this creating `clang` that is dynamically linked
to `libclang_shared.so` and `libLLVM.so` and also provide the corresponding static libraries. Doing
this should provide Evangelos Foutras, whose is the maintainer of the llvm packages at Arch Linux,
an "easier" path to creating llvm Arch Linux packages that don't use BUILD_SHARED_LIBS.

Is this a reasonable goal and could `DistrubutionExample_shared` be added along side `DistributionExample`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62279





More information about the cfe-commits mailing list