Changeset 82f7fed for BOOK


Ignore:
Timestamp:
Feb 21, 2006, 12:47:43 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
da9f193
Parents:
8bb75cec
Message:

r649@server (orig r647): manuel | 2005-11-07 12:51:45 -0800
Remove the optimization related warnings from the toolchain packages.

Location:
BOOK
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/64/binutils.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Binutils</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/binutils.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/64/gcc.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of GCC</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/gcc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <para>Apply the following patch to so that linking to /lib64 is now set
  • BOOK/final-system/64/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/common/binutils.xml

    r8bb75cec r82f7fed  
    4646  <sect2 role="installation">
    4747    <title>Installation of Binutils</title>
    48 
    49     <para os="a">This package is known to have issues when its default
    50     optimization flags (including the <option>-march</option> and
    51     <option>-mcpu</option> options) are changed. If any environment
    52     variables that override default optimizations have been defined, such
    53     as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
    54     unset them when building Binutils.</para>
    5548
    5649    <para os="b">Verify that the PTYs are working properly inside the build
  • BOOK/final-system/common/gcc.xml

    r8bb75cec r82f7fed  
    4747    <title>Installation of GCC</title>
    4848
    49     <para os="a">This package is known to have issues when its default
    50     optimization flags (including the <option>-march</option> and
    51     <option>-mcpu</option> options) are changed. If any environment
    52     variables that override default optimizations have been defined, such
    53     as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
    54     unset them when building GCC.</para>
    55 
    5649    <para os="d">Apply a <command>sed</command> substitution that will suppress the
    5750    installation of <filename class="libraryfile">libiberty.a</filename>. The
  • BOOK/final-system/common/glibc.xml

    r8bb75cec r82f7fed  
    6060    </note>
    6161
    62     <para os="a">This package is known to behave badly when you change its default
    63     optimization flags (including the <option>-march</option> and
    64     <option>-mcpu</option> options). Therefore, if you have defined any
    65     environment variables that override default optimizations, such as CFLAGS
    66     and CXXFLAGS, we recommend un-setting them when building Glibc.</para>
    67 
    6862    <para os="b">The Glibc build system is self-contained and will install
    6963    perfectly, even though the compiler specs file and linker are still
     
    7771
    7872<screen os="d"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen>
    79  
     73
    8074    <para os="e">The Glibc documentation recommends building Glibc outside of the
    8175    source directory in a dedicated build directory:</para>
     
    128122      <listitem>
    129123        <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
    130         the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
    131         tests with gcc-&gcc-version;, the <command>grep</command> command will
    132         also report an expected (ignored) failure in <emphasis>posix/annexc
    133         </emphasis>. These two failures in the math tests appear to be harmless.
    134         The math tests may also fail   
     124  the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
     125  tests with gcc-&gcc-version;, the <command>grep</command> command will
     126  also report an expected (ignored) failure in <emphasis>posix/annexc
     127  </emphasis>. These two failures in the math tests appear to be harmless.
     128  The math tests may also fail
    135129        on systems where the CPU is not a relatively new genuine Intel or
    136130        authentic AMD. Certain optimization settings are also known to be a
  • BOOK/final-system/common/introduction.xml

    r8bb75cec r82f7fed  
    3131  does compile when using optimization, there is the risk it may have
    3232  been compiled incorrectly because of the complex interactions between
    33   the code and build tools.  The small potential gains achieved in using
    34   compiler optimizations are often outweighed by the risks. First-time
     33  the code and build tools.  Also note that the <option>-march</option>
     34  and <option>-mtune</option> options may cause problems with the toolchain
     35  packages (Binutils, GCC and Glibc). The small potential gains achieved in
     36  using compiler optimizations are often outweighed by the risks. First-time
    3537  builders of LFS are encouraged to build without custom optimizations.
    3638  The subsequent system will still run very fast and be stable at the
  • BOOK/final-system/mips/gcc.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of GCC</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/gcc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <para os="ma">The following patch ensures that TLS is utilized by GCC
  • BOOK/final-system/mips/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64-64/gcc.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of GCC</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/gcc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <para os="ma">The following patch ensures that TLS is utilized by GCC
  • BOOK/final-system/mips64-64/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/gcc.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of GCC</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/gcc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <para os="ma">The following patch ensures that TLS is utilized by GCC
  • BOOK/final-system/mips64/glibc-64bit.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Glibc</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/glibc-n32.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Glibc</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    119115    xpointer="xpointer(//*[@os='m'])"/>
    120116
    121 <!-- items n,o,p here are now the master, not multilib, because 
     117<!-- items n,o,p here are now the master, not multilib, because
    122118 the tests are known to all pass on multilib_64 -->
    123119
  • BOOK/final-system/mips64/glibc.xml

    r8bb75cec r82f7fed  
    4646    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4747    href="../common/glibc.xml"
    48     xpointer="xpointer(//*[@os='a'])"/>
     48    xpointer="xpointer(//*[@os='z'])"/>
    4949
    5050    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/binutils.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Binutils</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/binutils.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/gcc.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of GCC</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/gcc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/glibc-64bit.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Glibc</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/glibc-n32.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Glibc</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="glibc.xml"
    47     xpointer="xpointer(//*[@os='z'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    115111    xpointer="xpointer(//*[@os='m'])"/>
    116112
    117 <!-- items n,o,p here are now the master, not multilib, because 
     113<!-- items n,o,p here are now the master, not multilib, because
    118114 the tests are known to all pass on multilib_64 -->
    119115
  • BOOK/final-system/multilib/glibc.xml

    r8bb75cec r82f7fed  
    4646    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4747    href="../common/glibc.xml"
    48     xpointer="xpointer(//*[@os='a'])"/>
     48    xpointer="xpointer(//*[@os='z'])"/>
    4949
    5050    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc/binutils.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Binutils</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/binutils.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64-64/binutils.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Binutils</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/binutils.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64-64/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64/binutils.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Binutils</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../common/binutils.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64/glibc-64bit.xml

    r8bb75cec r82f7fed  
    4242  <sect2 role="installation">
    4343    <title>Installation of Glibc</title>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64/glibc.xml

    r8bb75cec r82f7fed  
    4646    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4747    href="../common/glibc.xml"
    48     xpointer="xpointer(//*[@os='a'])"/>
     48    xpointer="xpointer(//*[@os='z'])"/>
    4949
    5050    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/x86_64-64/glibc.xml

    r8bb75cec r82f7fed  
    4545    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4646    href="../common/glibc.xml"
    47     xpointer="xpointer(//*[@os='a'])"/>
     47    xpointer="xpointer(//*[@os='z'])"/>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    153153    the backup.</para>
    154154
    155     <screen><userinput>rm /usr/bin/ldd.bak</userinput></screen> 
     155    <screen><userinput>rm /usr/bin/ldd.bak</userinput></screen>
    156156
    157157  </sect2>
  • BOOK/introduction/common/changelog.xml

    r8bb75cec r82f7fed  
    4242      <para>November 7, 2005</para>
    4343      <itemizedlist>
     44        <listitem>
     45          <para>[manuel] - Remove the optimization related warnings from the
     46          toolchain packages. Ported from LFS-SVN.</para>
     47        </listitem>
    4448        <listitem>
    4549          <para>[manuel] - Install Vim's documentation to <filename
Note: See TracChangeset for help on using the changeset viewer.