[PATCH] D69755: [LLD] Add NetBSD support as a new flavor of LLD (nb.lld)

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 2 16:26:10 PDT 2019


krytarowski added a comment.

In D69755#1731394 <https://reviews.llvm.org/D69755#1731394>, @MaskRay wrote:

> I still have the feeling that such configurations should be added to clangDriver/gcc specs or a shell script wrapper of lld.


OK, as you allow now a shell wrapper of lld, this is a progress. nb.lld is a C++ wrapper on steroids doing the right job and part of the upstream repo (this is required).

We do not allow downstream LLVM/Clang/... patches in our basesystem and keeping this code upstream is required. Also from maintenance burden as LLVM APIs evolve quickly.

> How do you decide to handle "Handling of indirect shared library dependencies"? It does not seem to be favored by lld contributors.

The modern Linux/GNU behavior is rejected in NetBSD and we keep the traditional behavior that is considered by our community as desired.

This is another topic and indeed probably our next major target to get to work within LLD.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69755





More information about the cfe-commits mailing list