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/common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.