浏览代码

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

Bruce Dubbs 8 年之前
父节点
当前提交
89c1c43dc3
共有 7 个文件被更改,包括 32 次插入13 次删除
  1. 8 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 4 0
      chapter05/diffutils.xml
  4. 2 0
      chapter06/binutils.xml
  5. 4 2
      chapter06/diffutils.xml
  6. 6 3
      chapter06/vim.xml
  7. 6 6
      packages.ent

+ 8 - 0
chapter01/changelog.xml

@@ -45,6 +45,14 @@
     <listitem>
     <listitem>
       <para>2017-05-03</para>
       <para>2017-05-03</para>
       <itemizedlist>
       <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>
         <listitem>
           <para>[bdubbs] - Fix a problem with glibc tests and 
           <para>[bdubbs] - Fix a problem with glibc tests and 
           add some explanations to the configure options.</para>
           add some explanations to the configure options.</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -92,9 +92,9 @@
     <!--<listitem>
     <!--<listitem>
       <para>Gawk &gawk-version;</para>
       <para>Gawk &gawk-version;</para>
     </listitem>-->
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>GCC &gcc-version;</para>
       <para>GCC &gcc-version;</para>
-    </listitem>-->
+    </listitem>
     <listitem>
     <listitem>
       <para>GDBM &gdbm-version;</para>
       <para>GDBM &gdbm-version;</para>
     </listitem>
     </listitem>

+ 4 - 0
chapter05/diffutils.xml

@@ -43,6 +43,10 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Diffutils</title>
     <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>
     <para>Prepare Diffutils for compilation:</para>
 
 
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>

+ 2 - 0
chapter06/binutils.xml

@@ -143,6 +143,8 @@ cd       build</userinput></screen>
 
 
 <screen><userinput remap="test">make -k check</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>
     <para>Install the package:</para>
 
 
 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen>

+ 4 - 2
chapter06/diffutils.xml

@@ -41,9 +41,11 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Diffutils</title>
     <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>
     <para>Prepare Diffutils for compilation:</para>
 
 

+ 6 - 3
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>
 <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>
     <para>Prepare Vim for compilation:</para>
 
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
@@ -58,13 +62,12 @@
 
 
     <para>To test the results, issue:</para>
     <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,
     <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
     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
     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>
     <para>Install the package:</para>
 
 

+ 6 - 6
packages.ent

@@ -207,10 +207,10 @@
 <!ENTITY gawk-ch6-du "36 MB">
 <!ENTITY gawk-ch6-du "36 MB">
 <!ENTITY gawk-ch6-sbu "0.3 SBU">
 <!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-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-home "http://gcc.gnu.org/">
 <!ENTITY gcc-ch5p1-du "2.5 GB">
 <!ENTITY gcc-ch5p1-du "2.5 GB">
 <!ENTITY gcc-ch5p1-sbu "8.4 SBU">
 <!ENTITY gcc-ch5p1-sbu "8.4 SBU">
@@ -326,10 +326,10 @@
 <!ENTITY intltool-ch6-du "1.5 MB">
 <!ENTITY intltool-ch6-du "1.5 MB">
 <!ENTITY intltool-ch6-sbu "less than 0.1 SBU">
 <!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-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-home "&kernel;linux/utils/net/iproute2/">
 <!ENTITY iproute2-ch6-du "11 MB">
 <!ENTITY iproute2-ch6-du "11 MB">
 <!ENTITY iproute2-ch6-sbu "0.2 SBU">
 <!ENTITY iproute2-ch6-sbu "0.2 SBU">