Changeset 531b5e5 for final-system


Ignore:
Timestamp:
Feb 21, 2006, 12:47:43 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
6301b6a
Parents:
af98896
Message:

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

Location:
final-system
Files:
28 edited

Legend:

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

    raf98896 r531b5e5  
    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"
  • final-system/64/gcc.xml

    raf98896 r531b5e5  
    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
  • final-system/64/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/common/binutils.xml

    raf98896 r531b5e5  
    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
  • final-system/common/gcc.xml

    raf98896 r531b5e5  
    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
  • final-system/common/glibc.xml

    raf98896 r531b5e5  
    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
  • final-system/common/introduction.xml

    raf98896 r531b5e5  
    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
  • final-system/mips/gcc.xml

    raf98896 r531b5e5  
    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
  • final-system/mips/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/mips64-64/gcc.xml

    raf98896 r531b5e5  
    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
  • final-system/mips64-64/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/mips64/gcc.xml

    raf98896 r531b5e5  
    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
  • final-system/mips64/glibc-64bit.xml

    raf98896 r531b5e5  
    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"
  • final-system/mips64/glibc-n32.xml

    raf98896 r531b5e5  
    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
  • final-system/mips64/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/multilib/binutils.xml

    raf98896 r531b5e5  
    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"
  • final-system/multilib/gcc.xml

    raf98896 r531b5e5  
    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"
  • final-system/multilib/glibc-64bit.xml

    raf98896 r531b5e5  
    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"
  • final-system/multilib/glibc-n32.xml

    raf98896 r531b5e5  
    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
  • final-system/multilib/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc/binutils.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc64-64/binutils.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc64-64/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc64/binutils.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc64/glibc-64bit.xml

    raf98896 r531b5e5  
    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"
  • final-system/sparc64/glibc.xml

    raf98896 r531b5e5  
    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"
  • final-system/x86_64-64/glibc.xml

    raf98896 r531b5e5  
    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>
Note: See TracChangeset for help on using the changeset viewer.