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

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 10:05:29 PST 2019


krytarowski added a comment.

Short summary:

- FreeBSD/OpenBSD ship with mutations of the behavior of ELF/GNU/Linux in certain nits, we do the same with our driver.
- MinGW ships with a frontend driver to COFF, we do the same with a driver to ELF/GNU/Linux.
- Darwin ships with default search paths, we do the same in our driver.
- NetBSD is not a GNU system, it is a BSD system that differs with ELF/GNU/Linux, GNU/Linux is at most an inspiration, none of our project goals is about reimplementing Linux. The same applies to MinGW, Darwin etc that do not reimplement Linux.

The proposed change does not make anything without prior art.

LLD is practically the last piece of the LLVM toolchain stack without NetBSD support. We run the NetBSD buildbot for LLD since 2018 and there are no plans to detach it.

We intend to integrate LLD into our distribution, but we first must make it work in the upstream version out of the box.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70048





More information about the llvm-commits mailing list