aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2016-04-07 21:56:11 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2016-04-07 21:56:11 +0000
commit0376c98feb8d2b4cb0e4dd5f43f177998a138eee (patch)
tree421a8ee1784423cf4445764e0fe144a1cf0a02b0
parent68c0a3004abd82baa898d657eb78d1fa54416593 (diff)
Add a caution in the gmp section about possible Illegal Instruction errors if the host is misidentified or the libraries are copied to different systems. Merged from trunk r11044.
Remove obsolete note about iconv() in Chapter 6 Glibc. Merged from trunk r11043. Add a note about UEFI and Secure Boot systems to the GRUB page. Merged from trunk r11043. Add notes about paths for 64-bit systems in the Adjusting the Toolchain page. Merged from trunk r11043. Update to linux-4.5. Merged from trunk r11042. Update to grep-2.24. Merged from trunk r11042. Update to expat-2.1.1. Merged from trunk r11042. Update to tzdata2016c. Merged from trunk r11042. Update to iproute2-4.5.0. Merged from trunk r11042. Update to man-pages-4.05. Merged from trunk r11042. Update to gzip-1.7. Merged from trunk r11042. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@11045 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml45
-rw-r--r--chapter01/whatsnew.xml24
-rw-r--r--chapter06/adjusting.xml8
-rw-r--r--chapter06/glibc.xml38
-rw-r--r--chapter06/gmp.xml7
-rw-r--r--chapter06/inetutils.xml4
-rw-r--r--chapter06/iproute2.xml5
-rw-r--r--chapter08/grub.xml10
-rw-r--r--general.ent4
-rw-r--r--packages.ent50
10 files changed, 133 insertions, 62 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b61d2bfc0..3d4e2d0f8 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,51 @@
</itemizedlist>
</listitem>
-->
+ <listitem>
+ <para>2016-04-07</para>
+ <itemizedlist>
+ <listitem>
+ <para>[renodr] - Add a caution in the gmp section about possible
+ "Illegal Instruction" errors if the host is misidentified or the
+ libraries are copied to different systems.
+ Merged from trunk r11044.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Remove obsolete note about iconv() in Chapter 6
+ Glibc. Minor adjustments to the text in the same section as well.
+ Merged from trunk r11043.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Add a note about UEFI and Secure Boot to Chapter 8
+ "Using GRUB to Set Up the Boot Process". Merged from trunk r11043.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Add notes about paths for 64-bit systems in Chapter
+ 6 "Adjusting the Toolchain". Merged from trunk r11043.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to linux-4.5. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to grep-2.24. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to expat-2.1.1. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to tzdata-2016c. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to iproute2-4.5.0. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to man-pages-4.05. Merged from trunk r11042.</para>
+ </listitem>
+ <listitem>
+ <para>[renodr] - Update to gzip-1.7. Merged from trunk r11042.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
<listitem>
<para>2016-03-30</para>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 477f57418..80d7c7dda 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -67,9 +67,9 @@
<!--<listitem>
<para>E2fsprogs &e2fsprogs-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Expat-&expat-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Expect &expect-version;</para>
</listitem>-->
@@ -103,18 +103,18 @@
<!--<listitem>
<para>Gperf-&gperf-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Grep &grep-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Groff &groff-version;</para>
</listitem>-->
<!--<listitem>
<para>GRUB &grub-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Gzip &gzip-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>IANA-Etc &iana-etc-version;</para>
</listitem>-->
@@ -124,9 +124,9 @@
<!--<listitem>
<para>Intltool-&intltool-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>IPRoute2 &iproute2-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Kbd &kbd-version;</para>
</listitem>-->
@@ -157,9 +157,9 @@
<!--<listitem>
<para>Man-DB &man-db-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Man-pages &man-pages-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>MPC &mpc-version;</para>
</listitem>-->
@@ -205,9 +205,9 @@
<!--<listitem>
<para>Texinfo &texinfo-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Tzdata &tzdata-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Util-Linux &util-linux-version;</para>
</listitem>-->
diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml
index 0ea4f92ef..258271773 100644
--- a/chapter06/adjusting.xml
+++ b/chapter06/adjusting.xml
@@ -55,6 +55,9 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
<para>Note that <filename class="directory">/lib</filename> is now
the prefix of our dynamic linker.</para>
+ <note><para>On 64-bit systems the interpreter should be
+ /lib64/ld-linux-x86-64.so.2.</para></note>
+
<para os="d">Now make sure that we're setup to use the correct start files:</para>
<screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen>
@@ -65,6 +68,11 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
/usr/lib/crti.o succeeded
/usr/lib/crtn.o succeeded</computeroutput></screen>
+ <note><para>On 64-bit systems, the path above will be
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/. This
+ reduces to /usr/lib64 and /usr/lib64 is a symlink that points to
+ /usr/lib.</para></note>
+
<para os="g">Verify that the compiler is searching for the correct header
files:</para>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 8a803a392..59fd4c3f3 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -42,7 +42,7 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
-
+<!--
<note>
<para>Some packages outside of LFS suggest installing GNU libiconv in
order to translate data from one encoding to another. The project's
@@ -53,6 +53,15 @@
an <function>iconv()</function> implementation and can convert from/to
Unicode, therefore libiconv is not required on an LFS system.</para>
</note>
+-->
+
+ <note><para>The Glibc build system is self-contained and will install
+ perfectly, even though the compiler specs file and linker are still
+ pointing to <filename class="directory">/tools</filename>. The specs
+ and linker cannot be adjusted before the Glibc install because the
+ Glibc autoconf tests would give false results and defeat the goal
+ of achieving a clean build.</para></note>
+
<para>Some of the Glibc programs use non-FHS compilant
<filename class="directory">/var/db</filename> directory to store
their runtime data. Apply the following patch to make such programs
@@ -65,20 +74,7 @@
and linker cannot be adjusted before the Glibc install because the
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.</para>
-<!--
- <para>Now fix a build problem that affects i386 systems:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
-
- <para>The most recent stable version of Glibc does not handle large files
- correctly. Fix the problem with this patch:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
-
- <para>Finally, update some recent changes from the upstream repository:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch2;</userinput></screen>
--->
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
@@ -130,13 +126,13 @@ cd build</userinput></screen>
systems where the CPU is not a relatively new Intel or
AMD processor.</para>
</listitem>
-<!--
+
<listitem>
- <para>The <emphasis>elf/tst-protected1b</emphasis> and
- <emphasis>elf/tst-protected1b</emphasis> tests are known to
- fail with the current stable version of binutils.</para>
+ <para>The
+ <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis>
+ tests may fail for reasons that have not been determined. </para>
</listitem>
--->
+
<listitem>
<para>Other tests known to fail on some architectures are
malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para>
@@ -165,8 +161,8 @@ mkdir -pv /var/cache/nscd</userinput></screen>
<screen><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
- <para>The locales that can make the system respond in a different language
- were not installed by the above command. None of the locales are required,
+ <para>Next, install the locales that can make the system respond in a
+ different language. None of the locales are required,
but if some of them are missing, test suites of the future packages would
skip important testcases.</para>
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index 7d353d90c..a2854dc68 100644
--- a/chapter06/gmp.xml
+++ b/chapter06/gmp.xml
@@ -91,6 +91,13 @@ make html</userinput></screen>
<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
+ <caution><para>The code in gmp is highly optimized for the processor where
+ it is built. Occasionally, the code that detects the processor
+ misidentifies the system capabilities and there will be errors in the
+ tests or other applications using the gmp libraries with the message
+ "Illegal instruction". In this case, gmp should be reconfigured with the
+ option --build=x86_64-unknown-linux-gnu and rebuilt.</para></caution>
+
<para>Ensure that all 190 tests in the test suite passed.
Check the results by issuing the following command:</para>
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index 1eb629a8c..20324cb6a 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -109,11 +109,11 @@
<para>To test the results, issue:</para>
<screen><userinput remap="test">make check</userinput></screen>
-<!--
+
<para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
coding of some support program paths. All tests pass if the tests are rerun
at the end of Chapter 6.</para>
--->
+
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index d65e23e53..a1bb9b9b3 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -54,6 +54,11 @@
sed -i 's/arpd.8//' man/man8/Makefile
rm -v doc/arpd.sgml</userinput></screen>
+ <para>It is also necessary to disable building one module that
+ requires <ulink url="&blfs-book;postlfs/iptables.html"/>.</para>
+
+<screen><userinput remap="pre">sed -i 's/m_ipt.o//' tc/Makefile</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 4fb89ab3f..01a14159f 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -38,6 +38,16 @@
grub-mkrescue --output=grub-img.iso
xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></screen>
+ <note><para>Most newer systems now come with system firmware that is in
+ UEFI (Unified Extensible Firmware Interface) mode by default. To boot LFS
+ on these systems using the instructions here, the UEFI Mode and Secure Boot
+ capabilities need to be turned off. There are ways to boot with these
+ capabilities still enabled, but they are not covered here. For details,
+ see <ulink
+ url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">
+ the lfs-eufi.txt hint</ulink> at
+ http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.</para></note>
+
</sect2>
<sect2>
diff --git a/general.ent b/general.ent
index b9fb888b2..6beb85be1 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
-<!ENTITY version "20160330-systemd">
+<!ENTITY version "20160407-systemd">
<!ENTITY short-version "systemd"> <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate "March 30th, 2016">
+<!ENTITY releasedate "April 7th, 2016">
<!ENTITY copyrightdate "1999-2016"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.10">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/packages.ent b/packages.ent
index 4469dc6d8..18d6db85e 100644
--- a/packages.ent
+++ b/packages.ent
@@ -143,10 +143,10 @@
<!ENTITY e2fsprogs-ch6-du "46 MB">
<!ENTITY e2fsprogs-ch6-sbu "1.9 SBU">
-<!ENTITY expat-version "2.1.0">
-<!ENTITY expat-size "552 KB">
-<!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.gz">
-<!ENTITY expat-md5 "dd7dab7a5fea97d2a6a43f511449b7cd">
+<!ENTITY expat-version "2.1.1">
+<!ENTITY expat-size "396 KB">
+<!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.bz2">
+<!ENTITY expat-md5 "7380a64a8e3a9d66a9887b01d0d7ea811">
<!ENTITY expat-home "http://expat.sourceforge.net/">
<!ENTITY expat-ch6-du "6.7 MB">
<!ENTITY expat-ch6-sbu "less than 0.1 SBU">
@@ -258,10 +258,10 @@
<!ENTITY gperf-ch6-du "5.6 MB">
<!ENTITY gperf-ch6-sbu "less than 0.1 SBU">
-<!ENTITY grep-version "2.23">
-<!ENTITY grep-size "1,287 KB">
+<!ENTITY grep-version "2.24">
+<!ENTITY grep-size "1,291 KB">
<!ENTITY grep-url "&gnu;grep/grep-&grep-version;.tar.xz">
-<!ENTITY grep-md5 "f46aa9d0d2577b9212a104348a286787">
+<!ENTITY grep-md5 "f1c980134c04692a90078e87283074b6">
<!ENTITY grep-home "&gnu-software;grep/">
<!ENTITY grep-ch5-du "19 MB">
<!ENTITY grep-ch5-sbu "0.2 SBU">
@@ -284,10 +284,10 @@
<!ENTITY grub-ch6-du "142 MB">
<!ENTITY grub-ch6-sbu "0.8 SBU">
-<!ENTITY gzip-version "1.6">
-<!ENTITY gzip-size "712 KB">
+<!ENTITY gzip-version "1.7">
+<!ENTITY gzip-size "747 KB">
<!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz">
-<!ENTITY gzip-md5 "da981f86677d58a106496e68de6f8995">
+<!ENTITY gzip-md5 "d9ae97206a703a20e6c1c868deb3eb47">
<!ENTITY gzip-home "&gnu-software;gzip/">
<!ENTITY gzip-ch5-du "10 MB">
<!ENTITY gzip-ch5-sbu "0.1 SBU">
@@ -318,10 +318,10 @@
<!ENTITY intltool-ch6-du "1.5 MB">
<!ENTITY intltool-ch6-sbu "less than 0.1 SBU">
-<!ENTITY iproute2-version "4.4.0">
-<!ENTITY iproute2-size "517 KB">
+<!ENTITY iproute2-version "4.5.0">
+<!ENTITY iproute2-size "542 KB">
<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
-<!ENTITY iproute2-md5 "d762653ec3e1ab0d4a9689e169ca184f">
+<!ENTITY iproute2-md5 "b9ee1cbba7e20e04dfdd4b3055181955">
<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
<!ENTITY iproute2-ch6-du "10 MB">
<!ENTITY iproute2-ch6-sbu "0.2 SBU">
@@ -375,13 +375,13 @@
<!ENTITY libtool-ch6-sbu "2.0 SBU">
<!ENTITY linux-major-version "4">
-<!ENTITY linux-minor-version "4">
-<!ENTITY linux-patch-version "4">
-<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
-<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
-<!ENTITY linux-size "85,262 KB">
+<!ENTITY linux-minor-version "5">
+<!ENTITY linux-patch-version "0">
+<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">-->
+<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">
+<!ENTITY linux-size "85,304 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "73d1835cfb6dd348d87c8c2413190c21">
+<!ENTITY linux-md5 "a60d48eee08ec0536d5efb17ca819aef">
<!ENTITY linux-home "http://www.kernel.org/">
<!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,
@@ -422,10 +422,10 @@
<!ENTITY man-db-ch6-du "31 MB">
<!ENTITY man-db-ch6-sbu "0.4 SBU">
-<!ENTITY man-pages-version "4.04">
-<!ENTITY man-pages-size "1,393 KB">
+<!ENTITY man-pages-version "4.05">
+<!ENTITY man-pages-size "1,419 KB">
<!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz">
-<!ENTITY man-pages-md5 "c20326ff9687f3ded1c24aa319a3880d">
+<!ENTITY man-pages-md5 "9c32c8487d753f5894f6fba425b12add">
<!ENTITY man-pages-home "http://www.kernel.org/doc/man-pages/">
<!ENTITY man-pages-ch6-du "26 MB">
<!ENTITY man-pages-ch6-sbu "less than 0.1 SBU">
@@ -563,10 +563,10 @@
<!ENTITY texinfo-ch6-du "110 MB">
<!ENTITY texinfo-ch6-sbu "0.6 SBU">
-<!ENTITY tzdata-version "2016a">
-<!ENTITY tzdata-size "296 KB">
+<!ENTITY tzdata-version "2016c">
+<!ENTITY tzdata-size "302 KB">
<!ENTITY tzdata-url "http://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz">
-<!ENTITY tzdata-md5 "0d3123eb1b453ec0620822bd65be4c42">
+<!ENTITY tzdata-md5 "0330ccd16140d3b6438a18dae9b34b93">
<!ENTITY tzdata-home "http://www.iana.org/time-zones">
<!ENTITY util-linux-version "2.27.1">