[PATCH] D102684: [LLD] Allow disabling the early exit codepath as a build configuration

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 11:37:00 PDT 2021


mstorsjo added a comment.

In D102684#2766256 <https://reviews.llvm.org/D102684#2766256>, @mati865 wrote:

> Funny but I've hit this deadlock (LLVM_LINK_LLVM_DYLIB, LLD_DEFAULT_LD_LLD_IS_MINGW and shared libc++) last week in single LLD unit test. It never reproduced despite dozen of LLD testsuite runs.
>
> Haven't seen it in real use yet.

I see it when running libcxx tests (which link ~6000 executables), where around 3-6 of those linker jobs get stuck, without LLVM_LINK_LLVM_DYLIB, but with libc++ linked statically. FWIW, if you want to cherrypick this in one form or another, you'll need to pick dd7575ba44f0e255e3d3c04bc60648a8d41a18d4 <https://reviews.llvm.org/rGdd7575ba44f0e255e3d3c04bc60648a8d41a18d4> too (which I just went ahead and committed directly as trivial).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102684



More information about the llvm-commits mailing list