Ignore:
Timestamp:
09/09/2005 08:34:44 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
80d66d1
Parents:
98fe721
Message:

Upgrade to gcc-4.0.1 (merge of gcc4 branch)

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r98fe721 r2e02c35  
    2121<segtitle>&buildtime;</segtitle>
    2222<segtitle>&diskspace;</segtitle>
    23 <seglistitem><seg>12.3 SBU</seg><seg>476</seg></seglistitem>
     23<seglistitem><seg>16.7 SBU</seg><seg>500</seg></seglistitem>
    2424</segmentedlist>
    2525
     
    6969<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
    7070
     71<para>Apply the following patches to enable Glibc to compile with
     72GCC-&gcc-version;:</para>
     73
     74<screen><userinput>patch -Np1 -i ../&glibc-gcc4_symbols-patch;
     75patch -Np1 -i ../&glibc-gcc4_string-patch;
     76patch -Np1 -i ../&glibc-gcc4_elf-patch;
     77patch -Np1 -i ../&glibc-gcc4_iconvdata-patch;</userinput></screen>
     78
     79<para>The following patch corrects the expected results for some of the math
     80tests on x86 processors when compiled with GCC-&gcc-version;:</para>
     81
     82<screen><userinput>patch -Np1 -i ../&glibc-gcc4_mathtest-patch;</userinput></screen>
     83
    7184<para>The Glibc documentation recommends building Glibc outside of the source
    7285directory in a dedicated build directory:</para>
     
    103116<para>Test the results:</para>
    104117
    105 <screen><userinput>make check</userinput></screen>
     118<screen><userinput>
     119make -k check &gt;glibc-check-log 2&gt;&amp;1 ; grep Error glibc-check-log
     120</userinput></screen>
     121
     122<para>On at least i686 you can expect to see failures in the <emphasis>test-double
     123</emphasis> and <emphasis>test-idouble</emphasis> math tests with
     124gcc-&gcc-version;, as well as an expected (ignored) failure in <emphasis>
     125posix/annexc</emphasis>.  These two failures in the math tests appear to be
     126harmless.</para>
    106127
    107128<para>The Glibc test suite is highly dependent on certain functions of
    108 the host system, in particular the kernel. In general, the Glibc test
    109 suite is always expected to pass. However, in certain circumstances,
     129the host system, in particular the kernel. In certain circumstances,
    110130some failures are unavoidable. This is a list of the most common
    111131issues:</para>
    112132
    113133<itemizedlist>
    114 <listitem><para>The <emphasis>math</emphasis> tests sometimes fail when running
     134<listitem><para>The <emphasis>math</emphasis> tests sometimes fail in other tests
     135when running
    115136on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
    116137Certain optimization settings are also known to be a factor here.</para></listitem>
Note: See TracChangeset for help on using the changeset viewer.