aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils.xml4
-rw-r--r--chapter06/coreutils.xml17
-rw-r--r--chapter06/eudev.xml2
3 files changed, 15 insertions, 8 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 8f7c7df83..71868fdfc 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -69,6 +69,10 @@ sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen>
+ <para>Fix some LTO tests in the test suite:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-testsuite-patch;</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 8ea10f912..b54061eba 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -40,16 +40,21 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
-
+<!--
<para>First, fix a segfault in <command>shuf</command> program:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-shuf-segfault-patch;</userinput></screen>
+-->
<para>POSIX requires that programs from Coreutils recognize character
- boundaries correctly even in multibyte locales. The following patch
- fixes this non-compliance and other internationalization-related bugs:</para>
+ boundaries correctly even in multibyte locales. The following patch fixes
+ this non-compliance and other internationalization-related bugs.
+ Afterwards make sure the timestamp for <filename>Makefile.in</filename> is
+ later than all other files to prevent a <command>make</command>
+ error:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch; &amp;&amp;
+touch Makefile.in</userinput></screen>
<note>
<para>In the past, many bugs were found in this patch. When reporting new
@@ -102,9 +107,7 @@
<screen><userinput remap="test">chown -Rv nobody . </userinput></screen>
<para>Now run the tests. Make sure the PATH in the <userinput>su</userinput>
- environment includes /tools/bin. Note that one test (nohup.sh) will fail if the
- tests are not run from a normal terminal and one test (p-acl.sh) will indicate
- an error if the lfs partition is not mounted with the acl option.</para>
+ environment includes /tools/bin.</para>
<screen><userinput remap="test">su nobody -s /bin/bash \
-c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml
index 58acd5a03..0fb1c99b7 100644
--- a/chapter06/eudev.xml
+++ b/chapter06/eudev.xml
@@ -73,7 +73,7 @@ BLKID_LIBS='-L/tools/lib -lblkid' \
<para>Create some directories now that are needed for tests, but
will also be used as a part of installation:</para>
-<screen><userinput remap="install">mkdir -pv /lib/{firmware,udev}
+<screen><userinput remap="test">mkdir -pv /lib/{firmware,udev}
mkdir -pv /lib/udev/rules.d
mkdir -pv /etc/udev/rules.d</userinput></screen>