Changeset 531b5e5 for final-system/common
- Timestamp:
- Feb 21, 2006, 12:47:43 AM (19 years ago)
- Children:
- 6301b6a
- Parents:
- af98896
- Location:
- final-system/common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/binutils.xml
raf98896 r531b5e5 46 46 <sect2 role="installation"> 47 47 <title>Installation of Binutils</title> 48 49 <para os="a">This package is known to have issues when its default50 optimization flags (including the <option>-march</option> and51 <option>-mcpu</option> options) are changed. If any environment52 variables that override default optimizations have been defined, such53 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,54 unset them when building Binutils.</para>55 48 56 49 <para os="b">Verify that the PTYs are working properly inside the build -
final-system/common/gcc.xml
raf98896 r531b5e5 47 47 <title>Installation of GCC</title> 48 48 49 <para os="a">This package is known to have issues when its default50 optimization flags (including the <option>-march</option> and51 <option>-mcpu</option> options) are changed. If any environment52 variables that override default optimizations have been defined, such53 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,54 unset them when building GCC.</para>55 56 49 <para os="d">Apply a <command>sed</command> substitution that will suppress the 57 50 installation of <filename class="libraryfile">libiberty.a</filename>. The -
final-system/common/glibc.xml
raf98896 r531b5e5 60 60 </note> 61 61 62 <para os="a">This package is known to behave badly when you change its default63 optimization flags (including the <option>-march</option> and64 <option>-mcpu</option> options). Therefore, if you have defined any65 environment variables that override default optimizations, such as CFLAGS66 and CXXFLAGS, we recommend un-setting them when building Glibc.</para>67 68 62 <para os="b">The Glibc build system is self-contained and will install 69 63 perfectly, even though the compiler specs file and linker are still … … 77 71 78 72 <screen os="d"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen> 79 73 80 74 <para os="e">The Glibc documentation recommends building Glibc outside of the 81 75 source directory in a dedicated build directory:</para> … … 128 122 <listitem> 129 123 <para>The <emphasis>math</emphasis> tests, at least on i686, fail in 130 131 132 133 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 135 129 on systems where the CPU is not a relatively new genuine Intel or 136 130 authentic AMD. Certain optimization settings are also known to be a -
final-system/common/introduction.xml
raf98896 r531b5e5 31 31 does compile when using optimization, there is the risk it may have 32 32 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 35 37 builders of LFS are encouraged to build without custom optimizations. 36 38 The subsequent system will still run very fast and be stable at the
Note:
See TracChangeset
for help on using the changeset viewer.