Changeset 1b45909


Ignore:
Timestamp:
08/14/2005 01:46:05 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
a0e8929a
Parents:
c9858bb
Message:

Added sed to force -fomit-frame-pointer on non-bootstrap GCC builds

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rc9858bb r1b45909  
    118118</listitem>
    119119
     120<listitem><para>August 14th, 2005 [matt]: Add sed to chapter05/gcc-pass2 and chapter06/gcc to ensure they get built with -fomit-frame-pointer so it matches the
     121bootstrap build in chapter05/gcc-pass1 (fixes bug 1609).</para></listitem>
     122
    120123<listitem><para>August 12th, 2005 [matt]: Explain that libiconv isn't required
    121124on an LFS system (fixes bug 1614).</para></listitem>
  • chapter05/gcc-pass2.xml

    rc9858bb r1b45909  
    7777      gcc/Makefile.in</userinput></screen>
    7878
     79<para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/>
     80built GCC with the <option>-fomit-frame-pointer</option> compiler flag.
     81Non-bootstrap builds omit this flag by default, so apply the following
     82<command>sed</command> to use it in order to ensure consistent compiler builds.
     83</para>
     84
     85<screen><userinput>sed -i 's/^XCFLAGS =/&amp; -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen>
     86
    7987<para>Apply the following patch to change the location of GCC's default dynamic
    8088linker (typically <filename class="libraryfile">ld-linux.so.2</filename>):</para>
  • chapter06/gcc.xml

    rc9858bb r1b45909  
    4646<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>
    4747
     48<para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/>
     49built GCC with the <option>-fomit-frame-pointer</option> compiler flag.
     50Non-bootstrap builds omit this flag by default, so apply the following
     51<command>sed</command> to use it in order to ensure consistent compiler builds.
     52</para>
     53
     54<screen><userinput>sed -i 's/^XCFLAGS =/&amp; -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen>
     55
    4856<para>The GCC documentation recommends building GCC outside of the source
    4957directory in a dedicated build directory:</para>
  • general.ent

    rc9858bb r1b45909  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "GCC4-20050812">
    3 <!ENTITY releasedate "August 12, 2005">
     2<!ENTITY version "GCC4-20050814">
     3<!ENTITY releasedate "August 14, 2005">
    44<!ENTITY milestone "6.2">
    55<!ENTITY generic-version "gcc4"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
Note: See TracChangeset for help on using the changeset viewer.