Re: What binutils version is needed for kernel LTO

From: Andi Kleen
Date: Mon Aug 04 2014 - 20:36:05 EST


Daniel Hoffman <daniel_j_hoffman@xxxxxxxxx> writes:

> I hate to ask it here but I cannot for the life of me compile linux
> with these. It always kicks it back and says "scripts/Makefile.lto:76:
> "WARNING: Too old linker version for kernel LTO. You need Linux
> binutils. CONFIG_LTO disabled."". I am running the latest version from
> Ubuntu and it matches up with the latest version from gnu.org. What do
> I have to do?

See Documentation/lto-build.

You need the Linux binutils from
https://www.kernel.org/pub/linux/devel/binutils/

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/