aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-05-04 04:22:11 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-05-04 04:22:11 +0000
commit89c1c43dc35b79f84369a62a9556c7b405962dac (patch)
treeb785c74a2fa7e05de26b3c27ab39829d30f6c338
parent427a4606fde7fd07d5fcae0287a3315c0c51aa11 (diff)
Update to gcc-7.1.0.
Update to iproute2-4.11.0. Fix some faulty gnulib code in diffutils. Disable a failing test in vim. Document a failing test in binutils. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11242 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter05/diffutils.xml4
-rw-r--r--chapter06/binutils.xml2
-rw-r--r--chapter06/diffutils.xml6
-rw-r--r--chapter06/vim.xml9
-rw-r--r--packages.ent12
7 files changed, 32 insertions, 13 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 4bc0674af..36e197c9c 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -46,6 +46,14 @@
<para>2017-05-03</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Update to gcc-7.1.0. Fixes
+ <ulink url="&lfs-ticket-root;4082">#4082</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to iproute2-4.11.0. Fixes
+ <ulink url="&lfs-ticket-root;4081">#4081</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Fix a problem with glibc tests and
add some explanations to the configure options.</para>
</listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 281ed265f..aaaf4e3d8 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -92,9 +92,9 @@
<!--<listitem>
<para>Gawk &gawk-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>GCC &gcc-version;</para>
- </listitem>-->
+ </listitem>
<listitem>
<para>GDBM &gdbm-version;</para>
</listitem>
diff --git a/chapter05/diffutils.xml b/chapter05/diffutils.xml
index 62ba35874..12e200027 100644
--- a/chapter05/diffutils.xml
+++ b/chapter05/diffutils.xml
@@ -43,6 +43,10 @@
<sect2 role="installation">
<title>Installation of Diffutils</title>
+ <para>First, fix some errors in the included gnulib code:</para>
+
+<screen><userinput remap="pre">sed -i '233,237 s/max)/max) \\/' lib/intprops.h</userinput></screen>
+
<para>Prepare Diffutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 36d303b49..f4f41f314 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -143,6 +143,8 @@ cd build</userinput></screen>
<screen><userinput remap="test">make -k check</userinput></screen>
+ <para>One test, debug_msg.sh, is known ot fail.</para>
+
<para>Install the package:</para>
<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml
index d98bc500d..ecd7dea51 100644
--- a/chapter06/diffutils.xml
+++ b/chapter06/diffutils.xml
@@ -41,9 +41,11 @@
<sect2 role="installation">
<title>Installation of Diffutils</title>
- <para>First fix a file so locale files are installed:</para>
+ <para>First fix a file so locale files are installed and fix the
+ included gnulib code:</para>
-<screen><userinput remap="pre">sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in</userinput></screen>
+<screen><userinput remap="pre">sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
+sed -i '233,237 s/max)/max) \\/' lib/intprops.h</userinput></screen>
<para>Prepare Diffutils for compilation:</para>
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 94672585a..c19db6334 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -48,6 +48,10 @@
<screen><userinput remap="pre">echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
+ <para>Disable a test that fails:</para>
+
+<screen><userinput remap="pre">sed -i '/call/{s/split/xsplit/;s/303/492/}' src/testdir/test_recover.vim</userinput></screen>
+
<para>Prepare Vim for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
@@ -58,13 +62,12 @@
<para>To test the results, issue:</para>
-<screen><userinput remap="test">make -j1 test</userinput></screen>
+<screen><userinput remap="test">make -j1 test &amp;&gt; vim-test.log</userinput></screen>
<para>However, this test suite outputs a lot of binary data to the screen,
which can cause issues with the settings of the current terminal. This can
be resolved by redirecting the output to a log file. A successful test
- will result in the words "ALL DONE" at completion. One test,
- Test_recover_root_dir() is known to fail, but is harmless.</para>
+ will result in the words "ALL DONE" at completion.</para>
<para>Install the package:</para>
diff --git a/packages.ent b/packages.ent
index 9448f332e..c310f3a7f 100644
--- a/packages.ent
+++ b/packages.ent
@@ -207,10 +207,10 @@
<!ENTITY gawk-ch6-du "36 MB">
<!ENTITY gawk-ch6-sbu "0.3 SBU">
-<!ENTITY gcc-version "6.3.0">
-<!ENTITY gcc-size "97,562 KB">
+<!ENTITY gcc-version "7.1.0">
+<!ENTITY gcc-size "82,328 KB">
<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
-<!ENTITY gcc-md5 "677a7623c7ef6ab99881bc4e048debb6">
+<!ENTITY gcc-md5 "6bf56a2bca9dac9dbbf8e8d1036964a8">
<!ENTITY gcc-home "http://gcc.gnu.org/">
<!ENTITY gcc-ch5p1-du "2.5 GB">
<!ENTITY gcc-ch5p1-sbu "8.4 SBU">
@@ -326,10 +326,10 @@
<!ENTITY intltool-ch6-du "1.5 MB">
<!ENTITY intltool-ch6-sbu "less than 0.1 SBU">
-<!ENTITY iproute2-version "4.10.0">
-<!ENTITY iproute2-size "613 KB">
+<!ENTITY iproute2-version "4.11.0">
+<!ENTITY iproute2-size "642 KB">
<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
-<!ENTITY iproute2-md5 "b94a2b0edefaeac124dc8f5d006931b9">
+<!ENTITY iproute2-md5 "7a9498de88bcca95c305df6108ae197e">
<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
<!ENTITY iproute2-ch6-du "11 MB">
<!ENTITY iproute2-ch6-sbu "0.2 SBU">