Skip to content
Snippets Groups Projects
  • Andrew Pinski's avatar
    68aace44
    Fix PR bootstrap/102389: --with-build-config=bootstrap-lto is broken · 68aace44
    Andrew Pinski authored
    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.
    68aace44
    History
    Fix PR bootstrap/102389: --with-build-config=bootstrap-lto is broken
    Andrew Pinski authored
    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.