[PATCH] D14034: [ELF2] Implement --start-group,--end-group

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 07:35:45 PDT 2015


emaste added a comment.

> I am late to this thread, but I wanted to point out that "follow GNU

>  completely" is not how we want to implement *anything* in lld.


Thank you. I believe there's a vanishingly small set of projects that rely on behaviour unique to GNU ld, can't be trivially updated to accommodate LLD, and can't just link with GNU ld instead, via -fuse-ld=bfd.

Our experience with Clang in FreeBSD is broadly illustrative - Clang is our /usr/bin/cc and the vast majority of the ~25K third-party ports build and work just fine despite minor differences compared with GCC. A few hundred do not, and have an explicit dependency on GCC. The same thing can easily be done when we bring in LLD as /usr/bin/ld.


http://reviews.llvm.org/D14034





More information about the llvm-commits mailing list