From 7e4ada576fe5297e794ca20803e010ed0212fb7e Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 18 Sep 2021 01:11:27 +0000 Subject: [PATCH] Update the section on binutils version LTO usage requires binutils 2.35 or newer due to https://sourceware.org/PR25355. This adds a note in the prerequisites page about it. Ok? gcc/ChangeLog: * doc/install.texi: Add note about binutils 2.35 is required for LTO usage. --- gcc/doc/install.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 88e453c..a141507 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -325,6 +325,9 @@ Necessary in some circumstances, optional in others. See the host/target specific instructions for your platform for the exact requirements. +Note binutils 2.35 or newer is required for LTO to work correctly +with GNU libtool that includes doing a bootstrap with LTO enabled. + @item gzip version 1.2.4 (or later) or @itemx bzip2 version 1.0.2 (or later) -- 2.7.4