Ignore:
Timestamp:
05/11/2014 09:58:56 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ee9a785
Parents:
f6fe500
Message:

Add a patch to binutils to enable LTO with gcc-4.9.0.
Remove omit-frame-pointer in gcc-pass2 and Chapter 6 gcc.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10561 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils.xml

    rf6fe500 r6206f72  
    6464<screen><userinput remap="pre">rm -fv etc/standards.info
    6565sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
     66
     67    <para>Add an upstream patch to use gcc's link time optimization (LTO)
     68    the default:</para>
     69
     70<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen>
    6671
    6772    <para>The Binutils documentation recommends building Binutils outside of the
     
    115120
    116121<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
    117 <!--
    118     <para>Install the <filename class="headerfile">libiberty</filename> header
    119     file that is needed by some packages:</para>
    120 
    121 <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
    122 -->
     122
    123123  </sect2>
    124 
    125124
    126125  <sect2 id="contents-binutils" role="content">
Note: See TracChangeset for help on using the changeset viewer.