Changeset ee321a46


Ignore:
Timestamp:
10/11/2011 04:23:55 AM (13 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, 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:
f3d1e33
Parents:
1c2d208
Message:

Added Check-1.2.0 library to Chapter 5.
Updated errordiscussion in glibc.
Added a fix for locale issues in gcc.
Incorporated Check library into libpipeline test.

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

Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1c2d208 ree321a46  
    4040      <para>2011-10-10</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[bdubbs] - Add a patch for gcc to fix some locale
     44          tests. Fixes
     45          <ulink url="&lfs-ticket-root;2938">#2938</ulink>.</para>
     46        </listitem>
     47        <listitem>
     48          <para>[bdubbs] - Add check to Chapter 5 and incorate it into
     49          libpipeline. Fixes
     50          <ulink url="&lfs-ticket-root;2941">#2941</ulink>.</para>
     51        </listitem>
    4252        <listitem>
    4353          <para>[bdubbs] - Add a paragraph in Chapter 3.1 about obtaining and
  • chapter01/whatsnew.xml

    r1c2d208 ree321a46  
    241241    </listitem>
    242242    <listitem>
     243      <para>&gcc-locale-patch;</para>
     244    </listitem>
     245    <listitem>
    243246      <para>&glibc-fixes-patch;</para>
    244247    </listitem>
  • chapter03/packages.xml

    r1c2d208 ree321a46  
    6666        <para>Download: <ulink url="&bzip2-url;"/></para>
    6767        <para>MD5 sum: <literal>&bzip2-md5;</literal></para>
     68      </listitem>
     69    </varlistentry>
     70
     71    <varlistentry>
     72      <term>Check (&check-version;) - <token>&check-size;</token>:</term>
     73      <listitem>
     74        <para>Home page: <ulink url="&check-home;"/></para>
     75        <para>Download: <ulink url="&check-url;"/></para>
     76        <para>MD5 sum: <literal>&check-md5;</literal></para>
    6877      </listitem>
    6978    </varlistentry>
  • chapter03/patches.xml

    r1c2d208 ree321a46  
    9999    </varlistentry>
    100100
     101    <varlistentry>
     102      <term>GCC Locale Patch - <token>&gcc-locale-patch-size;</token>:</term>
     103      <listitem>
     104        <para>Download: <ulink url="&patches-root;&gcc-locale-patch;"/></para>
     105        <para>MD5 sum: <literal>&gcc-locale-patch-md5;</literal></para>
     106      </listitem>
     107    </varlistentry>
     108
    101109<!--
    102110    <varlistentry>
  • chapter05/chapter05.xml

    r1c2d208 ree321a46  
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
    2728  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
    2829  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/>
  • chapter05/tcl.xml

    r1c2d208 ree321a46  
    4141    <title>Installation of Tcl</title>
    4242
    43     <para>This package and the next two (Expect and DejaGNU) are installed
    44     to support running the test suites for GCC and Binutils. Installing
    45     three packages for testing purposes may seem excessive, but it is very
    46     reassuring, if not essential, to know that the most important tools are
    47     working properly. Even if the test suites are not run in this chapter
    48     (they are not mandatory), these packages are required to run the test
    49     suites in <xref linkend="chapter-building-system"/>.</para>
     43    <para>This package and the next three (Expect, DejaGNU, and Check) are
     44    installed to support running the test suites for GCC and Binutils and other
     45    packages.  Installing four packages for testing purposes may seem
     46    excessive, but it is very reassuring, if not essential, to know that the
     47    most important tools are working properly. Even if the test suites are not
     48    run in this chapter (they are not mandatory), these packages are required
     49    to run the test suites in <xref linkend="chapter-building-system"/>.</para>
    5050
    5151    <para>Prepare Tcl for compilation:</para>
  • chapter06/gcc.xml

    r1c2d208 ree321a46  
    6666
    6767<screen><userinput remap="pre">sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen>
     68
     69    <para>Finally, apply a patch that corrects the test code for locale changes
     70    that were made in glibc-2.14 and later.</para>
     71
     72<screen><userinput remap="pre">patch -Np1 -i ../gcc-4.6.1-locale-1.patch</userinput></screen>
    6873
    6974    <para>The GCC documentation recommends building GCC outside of the source
  • chapter06/glibc.xml

    r1c2d208 ree321a46  
    206206        make -k check</command>).</para>
    207207      </listitem>
     208      <listitem>
     209        <para>Other tests known to fail on some architectures are posix/bug-regex32,
     210        misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para>
     211      </listitem>
    208212    </itemizedlist>
    209213
  • chapter06/libpipeline.xml

    r1c2d208 ree321a46  
    4444    <para>Prepare Libpipeline for compilation:</para>
    4545
    46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     46<screen><userinput remap="configure">./configure CHECK_CFLAGS=-I/tools/include \
     47    CHECK_LIBS="-L/tools/lib -lcheck" --prefix=/usr</userinput></screen>
     48
     49    <variablelist>
     50      <title>The meaning of the configure options:</title>
     51
     52      <varlistentry>
     53        <term><parameter>CHECK_CFLAGS=, CHECK_LIBS=</parameter></term>
     54        <listitem>
     55          <para>These environment variables specify the location of the test
     56          library built in <xref linkend="ch-tools-check"/>.</para>
     57        </listitem>
     58      </varlistentry>
     59
     60    </variablelist>
    4761
    4862    <para>Compile the package:</para>
     
    5064<screen><userinput remap="make">make</userinput></screen>
    5165
    52     <para>This package does not come with a test suite.</para>
     66    <para>To test the results, issue:</para>
     67
     68<screen><userinput remap="test">make check</userinput></screen>
    5369
    5470    <para>Install the package:</para>
  • packages.ent

    r1c2d208 ree321a46  
    6969<!ENTITY bzip2-ch6-du "6.4 MB">
    7070<!ENTITY bzip2-ch6-sbu "less than 0.1 SBU">
     71
     72<!ENTITY check-version "0.9.8">
     73<!ENTITY check-size "546 KB">
     74<!ENTITY check-url "http://sourceforge.net/projects/check/files/check/&check-version;/check-&check-version;.tar.gz">
     75<!ENTITY check-md5 "5d75e9a6027cde79d2c339ef261e7470">
     76<!ENTITY check-home "http://check.sourceforge.net/">
     77<!ENTITY check-ch5-du "4.8 MB">
     78<!ENTITY check-ch5-sbu "0.1 SBU">
    7179
    7280<!ENTITY coreutils-version "8.13">
  • patches.ent

    r1c2d208 ree321a46  
    4040<!ENTITY gcc-startfiles-patch-size "1.5 KB">
    4141
     42<!ENTITY gcc-locale-patch "gcc-&gcc-version;-locale-1.patch">
     43<!ENTITY gcc-locale-patch-md5 "406572f979f480be1450eb88eea08caa">
     44<!ENTITY gcc-locale-patch-size "4 KB">
    4245
    4346<!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-2.patch">
Note: See TracChangeset for help on using the changeset viewer.