https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102389

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:68aace4458364fee201889aaaedfce59beb972f2

commit r12-3666-g68aace4458364fee201889aaaedfce59beb972f2
Author: Andrew Pinski <apin...@marvell.com>
Date:   Sat Sep 18 01:08:17 2021 +0000

    Fix PR bootstrap/102389: --with-build-config=bootstrap-lto is broken

    So the problem here is that now the lto-plugin requires NM that works
    with LTO to work so we need to pass down NM just like we do for ranlib
    and ar.

    OK? Bootstrapped and tested with --with-build-config=bootstrap-lto on
aarch64-linux-gnu.
    Note you need to use binutils 2.35 or later too due to
ttps://sourceware.org/PR25355
    (I will submit another patch to improve the installation instructions too).

    config/ChangeLog:

            PR bootstrap/102389
            * bootstrap-lto-lean.mk: Handle NM like RANLIB AND AR.
            * bootstrap-lto.mk: Likewise.

Reply via email to