On 9 January 2017 at 19:17, Ed Maste <ema...@freebsd.org> wrote: > I am (with a few others) trying to build all of the applications in > the FreeBSD ports tree using LLVM's LLD as the linker.
We've been making great progress linking software in the FreeBSD ports tree with LLVM's LLD. Unfortunately, libtool is currently the largest portability problem we're facing (in the context of LLD), and this now applicable to LLD on at least other BSDs and Linux. There's a proposal[1] to have LLD include "compatible with the GNU linkers" in its version info so that libtool treats it like GNU ld / gold. Going down this user-agent-alike path in toolchain components is rather unfortunate, and I'd really like it if it can be avoided (at least in the long term) by having libtool itself treat LLD as GNU ld. For more information see the mailing list thread[2] that prompted this patch. I'm happy to work on libtool patches for LLD (adding it to the GNU ld and gold paths), but really want to engage with libtool's developers first, to make sure that it's done in a way that fits with plans for libtool and is suitable for (eventual) commit. [1] https://reviews.llvm.org/D31199 [2] http://lists.llvm.org/pipermail/llvm-dev/2017-March/111083.html _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool