aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc.xml4
-rw-r--r--chapter06/glibc.xml18
-rw-r--r--chapter06/util-linux.xml5
3 files changed, 15 insertions, 12 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 5ea4d8832..bc9810109 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -45,12 +45,12 @@
<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
-<!--
+
<para>First fix a problem identified upstream that causes some
programs to fail:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
--->
+
<!--
<para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
<command>sed</command> to force the build to use the
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 65aaa319f..68c75abec 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -112,17 +112,15 @@ cd ../glibc-build</userinput></screen>
<para>Generally a few tests do not pass, but you can generally ignore
any of the test failures listed below. Now test the build results:</para>
-<screen><userinput remap="test">make -k check 2&gt;&amp;1 | tee glibc-check-log
+<screen><userinput remap="test">make check 2&gt;&amp;1 | tee glibc-check-log
grep Error glibc-check-log</userinput></screen>
- <para>You will probably see an expected (ignored) failure in the
- <emphasis>posix/annexc</emphasis> and
- <emphasis>conform/run-conformtest</emphasis> tests. In addition the Glibc
- test suite is somewhat dependent on the host system. This is a list of the
- most common issues:</para>
+ <para>You will probably see some test failures. The Glibc test suite is
+ somewhat dependent on the host system. This is a list of the most common
+ issues seen for this version of LFS:</para>
<itemizedlist>
-
+<!--
<listitem>
<para>The <emphasis>nptl/tst-clock2</emphasis>,
<emphasis>nptl/tst-attr3</emphasis>,
@@ -146,12 +144,12 @@ grep Error glibc-check-log</userinput></screen>
help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
make -k check</command>).</para>
</listitem>
-
+-->
<listitem>
<para>posix/tst-getaddrinfo4 will always fail due to not having a network
connection when the test is run.</para>
</listitem>
-
+<!--
<listitem>
<para>libio/tst-ftell-partial-wide.out fails because it needs a locale
that has not yet been generated.</para>
@@ -162,7 +160,7 @@ grep Error glibc-check-log</userinput></screen>
misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, nptl/tst-robust8,
and stdio-common/bug22.</para>
</listitem>
-
+-->
</itemizedlist>
<para>Though it is a harmless message, the install stage of Glibc will
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 3646b2e95..d67cad8ba 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -55,6 +55,11 @@
<sect2 role="installation">
<title>Installation of Util-linux</title>
+ <para>First, fix one of the regression tests:</para>
+
+<screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E &lt;/E) &lt;=/' -e 's/ne /eq /' \
+ -i tests/ts/ipcs/limits2</userinput></screen>
+
<para>Prepare Util-linux for compilation:</para>
<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \