[libcxx-commits] [PATCH] D112126: [libunwind] Try to add -unwindlib=none while configuring and building libunwind

Harald van Dijk via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 22 15:26:58 PDT 2021


hvdijk added a comment.

In D112126#3081764 <https://reviews.llvm.org/D112126#3081764>, @mstorsjo wrote:

> I don’t think it supports that, unfortunately… FWIW, I’ve run builds for a couple years now with that configuration, and haven’t run into any issue due to that so far.

I see that the failing check for `fopen` in `libc` results in a differently linked `libunwind.so`, which may cause issues with build reproducibility.

> It should be possible to move this before the `LIBUNWIND_SUPPORTS_TARGET_EQ_X86_64_UNKNOWN_LINUX_GNU_FLAG` check though.

That would be great, thanks, that would also move it before the `libc` check.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112126



More information about the libcxx-commits mailing list