diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-11 04:23:55 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-11 04:23:55 +0000 |
commit | ee321a46882b7583b2b831b87e6afce2e5652a6d (patch) | |
tree | 257a0cbd48c0eb5bc12154e8f3a81c16376d02db /chapter06 | |
parent | 1c2d2089a5ccbf5ba6099960bafa077c0ad0b3f8 (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gcc.xml | 5 | ||||
-rw-r--r-- | chapter06/glibc.xml | 4 | ||||
-rw-r--r-- | chapter06/libpipeline.xml | 20 |
3 files changed, 27 insertions, 2 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index b2b0cd6b2..74665889a 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -66,6 +66,11 @@ esac</userinput></screen> <screen><userinput remap="pre">sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen> + <para>Finally, apply a patch that corrects the test code for locale changes + that were made in glibc-2.14 and later.</para> + +<screen><userinput remap="pre">patch -Np1 -i ../gcc-4.6.1-locale-1.patch</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index e03617d5a..819bcdb95 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -205,6 +205,10 @@ grep Error glibc-check-log</userinput></screen> help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16 make -k check</command>).</para> </listitem> + <listitem> + <para>Other tests known to fail on some architectures are posix/bug-regex32, + misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para> + </listitem> </itemizedlist> <para>Though it is a harmless message, the install stage of Glibc will diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml index 1c832d0e3..a2a573892 100644 --- a/chapter06/libpipeline.xml +++ b/chapter06/libpipeline.xml @@ -43,13 +43,29 @@ <para>Prepare Libpipeline for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> +<screen><userinput remap="configure">./configure CHECK_CFLAGS=-I/tools/include \ + CHECK_LIBS="-L/tools/lib -lcheck" --prefix=/usr</userinput></screen> + + <variablelist> + <title>The meaning of the configure options:</title> + + <varlistentry> + <term><parameter>CHECK_CFLAGS=, CHECK_LIBS=</parameter></term> + <listitem> + <para>These environment variables specify the location of the test + library built in <xref linkend="ch-tools-check"/>.</para> + </listitem> + </varlistentry> + + </variablelist> <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> - <para>This package does not come with a test suite.</para> + <para>To test the results, issue:</para> + +<screen><userinput remap="test">make check</userinput></screen> <para>Install the package:</para> |