On Mon, 18 Mar 2019 at 13:03, Dan Allen <danalle...@gmail.com> wrote: > > The buildworld and buildkernel steps both immediately fail due to the linker > not supporting ifuncs.
By default FreeBSD/i386 uses lld as the bootstrap linker (i.e., the linker used for building the kernel, libraries, and userland binaries) but still installs GNU ld as /usr/bin/ld on stable/12 due to issues in the ports tree. There are a few different ways you could address this: 1. Build either the buildworld or kernel-toolchain targets before make buildkernel, which will then use the built toolchain including lld. 2. Set LD=ld.lld to explicitly use lld for the kernel link. 3. Build and install world WITH_LLD_IS_LD in src.conf, so that /usr/bin/ld is lld. _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"