diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-07-19 21:18:29 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-07-19 21:18:29 +0000 |
commit | 523725cbd4b6bfce4b9ebf8cd4396004b915dfdb (patch) | |
tree | 34c47c35b5a4b1e563eb677e16f45b334ba6742d | |
parent | d25dfa8cb41efdea5b648a662cc876dc4325d955 (diff) |
Update to coreutils-8.23.
Add binutils patch to fix lto test suite.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10637 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 13 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 9 | ||||
-rw-r--r-- | chapter03/patches.xml | 11 | ||||
-rw-r--r-- | chapter06/binutils.xml | 4 | ||||
-rw-r--r-- | chapter06/coreutils.xml | 17 | ||||
-rw-r--r-- | chapter06/eudev.xml | 2 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | packages.ent | 18 | ||||
-rw-r--r-- | patches.ent | 13 |
9 files changed, 64 insertions, 27 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index bf9669237..cedbc583f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,19 @@ </listitem> --> <listitem> + <para>2014-07-19</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update to coreutils-8.23. Fixes + <ulink url="&lfs-ticket-root;3639">#3639</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Add binutils patch to fix lto test suite.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2014-07-18</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index cb73a83b0..0e86e302f 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -49,9 +49,9 @@ <listitem> <para>Check &check-version;</para> </listitem> - <!--<listitem> + <listitem> <para>Coreutils &coreutils-version;</para> - </listitem>--> + </listitem> <!--<listitem> <para>DejaGNU &dejagnu-version;</para> </listitem>--> @@ -242,8 +242,11 @@ <para>&binutils-lto-patch;</para> </listitem> <listitem> - <para>&coreutils-shuf-segfault-patch;</para> + <para>&binutils-lto-testsuite-patch;</para> </listitem> + <!-- <listitem> + <para>&coreutils-shuf-segfault-patch;</para> + </listitem> --> <!--<listitem> <para>dbus-&dbus-version;</para> </listitem>--> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index dcdd2b7ab..a509c4c2d 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -43,6 +43,14 @@ </varlistentry> <varlistentry> + <term>Binutils LTO Testsuite Patch - <token>&binutils-lto-testsuite-patch-size;</token>:</term> + <listitem> + <para>Download: <ulink url="&patches-root;&binutils-lto-testsuite-patch;"/></para> + <para>MD5 sum: <literal>&binutils-lto-testsuite-patch-md5;</literal></para> + </listitem> + </varlistentry> + + <varlistentry> <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term> <listitem> <para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para> @@ -57,7 +65,7 @@ <para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para> </listitem> </varlistentry> - +<!-- <varlistentry> <term>Coreutils shuf Segmentation Fault Fix Patch - <token>&coreutils-shuf-segfault-patch-size;</token>:</term> <listitem> @@ -65,6 +73,7 @@ <para>MD5 sum: <literal>&coreutils-shuf-segfault-patch-md5;</literal></para> </listitem> </varlistentry> +--> <!-- <varlistentry> <term>E2fsprogs Fix Test Patch - <token>&e2fsprogs-fix-test-patch-size;</token>:</term> 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; && +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> diff --git a/general.ent b/general.ent index 08341786e..8906e2b9a 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ -<!ENTITY version "SVN-20140718"> +<!ENTITY version "SVN-20140719"> <!ENTITY short-version "svn"> <!-- Used in dbus chapter, change to x.y for release --> -<!ENTITY releasedate "July 18, 2014"> +<!ENTITY releasedate "July 19, 2014"> <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "7.6"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/packages.ent b/packages.ent index fb55f63a7..15c5cc521 100644 --- a/packages.ent +++ b/packages.ent @@ -100,10 +100,10 @@ <!ENTITY check-ch5-du "6.9 MB"> <!ENTITY check-ch5-sbu "0.1 SBU"> -<!ENTITY coreutils-version "8.22"> -<!ENTITY coreutils-size "5,210 KB"> +<!ENTITY coreutils-version "8.23"> +<!ENTITY coreutils-size "5,250 KB"> <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.xz"> -<!ENTITY coreutils-md5 "8fb0ae2267aa6e728958adc38f8163a2"> +<!ENTITY coreutils-md5 "abed135279f87ad6762ce57ff6d89c41"> <!ENTITY coreutils-home "&gnu-software;coreutils/"> <!ENTITY coreutils-ch5-du "133 MB"> <!ENTITY coreutils-ch5-sbu "0.8 SBU"> @@ -222,12 +222,12 @@ <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> <!ENTITY gcc-md5 "fddf71348546af523353bd43d34919c1"> <!ENTITY gcc-home "http://gcc.gnu.org/"> -<!ENTITY gcc-ch5p1-du "1.4 GB"> -<!ENTITY gcc-ch5p1-sbu "5.5 SBU"> -<!ENTITY gcc-ch5p2-du "1.8 GB"> -<!ENTITY gcc-ch5p2-sbu "7.1 SBU"> -<!ENTITY gcc-ch6-du "2.2 GB"> -<!ENTITY gcc-ch6-sbu "55.6 SBU"> +<!ENTITY gcc-ch5p1-du "2.0 GB"> +<!ENTITY gcc-ch5p1-sbu "7.3 SBU"> +<!ENTITY gcc-ch5p2-du "2.2 GB"> +<!ENTITY gcc-ch5p2-sbu "9.6 SBU"> +<!ENTITY gcc-ch6-du "2.5 GB"> +<!ENTITY gcc-ch6-sbu "83 SBU"> <!ENTITY gdbm-version "1.11"> <!ENTITY gdbm-size "796 KB"> diff --git a/patches.ent b/patches.ent index 42fa3c5f7..c2987feb8 100644 --- a/patches.ent +++ b/patches.ent @@ -10,6 +10,10 @@ <!ENTITY binutils-lto-patch-md5 "48e4e96a60bfed41804aaecf4944f5d9"> <!ENTITY binutils-lto-patch-size "2.0 KB"> +<!ENTITY binutils-lto-testsuite-patch "binutils-&binutils-version;-lto_testsuite-1.patch"> +<!ENTITY binutils-lto-testsuite-patch-md5 "9acebc4e13bf87930ee518e7a41c4557"> +<!ENTITY binutils-lto-testsuite-patch-size "3.0 KB"> + <!ENTITY bc-memory-leak-patch "bc-&bc-version;-memory_leak-1.patch"> <!ENTITY bc-memory-leak-patch-md5 "877e81fba316fe487ec23501059d54b8"> <!ENTITY bc-memory-leak-patch-size "1.4 KB"> @@ -18,14 +22,15 @@ <!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f"> <!ENTITY bzip2-docs-patch-size "1.6 KB"> -<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-4.patch"> -<!ENTITY coreutils-i18n-patch-md5 "54c99871cd0ca20f29bdc9462e27f0df"> -<!ENTITY coreutils-i18n-patch-size "140 KB"> +<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch"> +<!ENTITY coreutils-i18n-patch-md5 "2d7871ab92dd6d4ef821fa6a9b3383b6"> +<!ENTITY coreutils-i18n-patch-size "139 KB"> +<!-- <!ENTITY coreutils-shuf-segfault-patch "coreutils-&coreutils-version;-shuf_segfault-1.patch"> <!ENTITY coreutils-shuf-segfault-patch-md5 "f1b5b35392914e327b1b6bbbb454d256"> <!ENTITY coreutils-shuf-segfault-patch-size "4 KB"> - +--> <!-- <!ENTITY e2fsprogs-fix-test-patch "e2fsprogs-&e2fsprogs-version;-fix_test-1.patch"> <!ENTITY e2fsprogs-fix-test-patch-md5 "7c20605628536db298bb3bb4666047bf"> |