On Mon, 2020-01-06 at 12:43 -0500, Mike Gilbert wrote: > On Sun, Jan 5, 2020 at 1:27 AM Michał Górny wrote: > > +# @FUNCTION: kernel-build_src_configure > > +# @DESCRIPTION: > > +# Prepare the toolchain for building the kernel, get the default .config > > +# or restore savedconfig, and get build tree configured for modprep. > > +kernel-build_src_configure() { > > + debug-print-function ${FUNCNAME} "${@}" > > + > > + # force ld.bfd if we can find it easily > > + local LD="$(tc-getLD)" > > + if type -P "${LD}.bfd" &>/dev/null; then > > + LD+=.bfd > > + fi > > Is there some reason not to use the tc-ld-disable-gold function? > Yes. As the name says, it covers gold usage only and not lld. -- Best regards, Michał Górny