diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-08-14 22:28:28 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-08-14 22:28:28 +0000 |
commit | ffbeb5fc6b4f1ef0bd03440a3a935b8127d511ad (patch) | |
tree | a18ff7a212e87484d828a9217a89ea8fb30c2d41 | |
parent | b485746388fcd4afa65339bcdac33949497b68b0 (diff) |
Update to gcc-7.2.0.
Update to linux-4.12.7.
Update to glibc-2.26.
Update to dbus-1.10.22.
Update to binutils-2.29.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11279 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 26 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 4 | ||||
-rw-r--r-- | chapter06/automake.xml | 3 | ||||
-rw-r--r-- | chapter06/flex.xml | 8 | ||||
-rw-r--r-- | chapter06/glibc.xml | 17 | ||||
-rw-r--r-- | chapter06/gzip.xml | 3 | ||||
-rw-r--r-- | general.ent | 2 | ||||
-rw-r--r-- | packages.ent | 30 |
8 files changed, 67 insertions, 26 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f0bbe73c2..ff2f5bcd5 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,32 @@ appropriate for the entry or if needed the entire day's listitem. --> <listitem> + <para>2017-08-15</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update to gcc-7.2.0. Fixes + <ulink url="&lfs-ticket-root;4125">#4125</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to linux-4.12.7. Fixes + <ulink url="&lfs-ticket-root;4124">#4124</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to glibc-2.26. Fixes + <ulink url="&lfs-ticket-root;4120">#4120</ulink>.</para> + </listitem> + <listitem revision='systemd'> + <para>[bdubbs] - Update to dbus-1.10.22. Fixes + <ulink url="&lfs-ticket-root;4118">#4118</ulink>.</para> + </listitem> + <listitem> + <para>[bdubbs] - Update to binutils-2.29. Fixes + <ulink url="&lfs-ticket-root;4117">#4117</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2017-08-11</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 00cc1b795..827342a46 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -206,9 +206,9 @@ <!--<listitem revision="sysv"> <para>Sysklogd &sysklogd-version;</para> </listitem>--> - <!--<listitem revision="systemd"> + <listitem revision="systemd"> <para>Systemd &systemd-version;</para> - </listitem>--> + </listitem> <!--<listitem revision="sysv"> <para>SysVinit &sysvinit-version;</para> </listitem>--> diff --git a/chapter06/automake.xml b/chapter06/automake.xml index 996592f80..5dc6295d6 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -58,7 +58,8 @@ <screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh make -j4 check</userinput></screen> - <para>Three tests are known to fail in the LFS environment.</para> + <para>Three tests are known to fail in the LFS environment: + check12.sh, subobj.sh, and check12-w.sh.</para> <para>Install the package:</para> diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 64e000287..4055d4857 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -40,11 +40,11 @@ <sect2 role="installation"> <title>Installation of Flex</title> -<!-- - <para>First, fix a problem with the latest version:</para> -<screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> ---> + <para>First, fix a problem introduced with glibc-2.26:</para> + +<screen><userinput remap="pre">sed -i "/math.h/a #include <malloc.h>" src/flexdef.h</userinput></screen> + <para>The build procedure assumes the <application>help2man</application> program is available to create a man page from the executable --help option. This is not present, so we use an environment variable to skip this process. diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 5ef90aaeb..e972cb623 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -68,14 +68,19 @@ <screen><userinput remap="pre">case $(uname -m) in i?86) GCC_INCDIR=/usr/lib/gcc/$(uname -m)-pc-linux-gnu/&gcc-version;/include - ln -s ld-linux.so.2 /lib/ld-lsb.so.3 + ln -sfv ld-linux.so.2 /lib/ld-lsb.so.3 ;; x86_64) GCC_INCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include - ln -s ../lib/ld-linux-x86-64.so.2 /lib64 - ln -s ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 + ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64 + ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 ;; esac</userinput></screen> + <para>Remove a file that may be left over from a previous build attempt: + </para> + +<screen><userinput remap="pre">rm -f /usr/include/limits.h</userinput></screen> + <para>The Glibc documentation recommends building Glibc in a dedicated build directory:</para> @@ -198,6 +203,12 @@ unset GCC_INCDIR</userinput></screen> <screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen> + <para>Fix the generated Makefile to skip an uneeded sanity check + that fails in the LFS partial environment: + </para> + +<screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen> + <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index e7dd7d2b0..09eebbdf7 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -53,6 +53,9 @@ <screen><userinput remap="test">make check</userinput></screen> + <para>Two tests are known to fail in the LFS environment: + help-version and zmore.</para> + <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> diff --git a/general.ent b/general.ent index 77ede96e8..e06e600d8 100644 --- a/general.ent +++ b/general.ent @@ -24,7 +24,7 @@ <!ENTITY test-results "&lfs-root;lfs/build-logs/&generic-version;/"> <!ENTITY errata "&lfs-root;lfs/errata/&generic-version;/"> <!ENTITY erratad "&lfs-root;lfs/errata/&generic-versiond;/"> -<!ENTITY min-kernel "2.6.32"> +<!ENTITY min-kernel "3.2"> <!ENTITY patches-rootd "&lfs-root;patches/lfs/&generic-versiond;/"> <!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/"> diff --git a/packages.ent b/packages.ent index 2b38a1e0d..58184b17d 100644 --- a/packages.ent +++ b/packages.ent @@ -58,10 +58,10 @@ <!ENTITY bc-ch6-du "3.6 MB"> <!ENTITY bc-ch6-sbu "0.1 SBU"> -<!ENTITY binutils-version "2.28"> -<!ENTITY binutils-size "25,934 KB"> +<!ENTITY binutils-version "2.29"> +<!ENTITY binutils-size "28,392 KB"> <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> -<!ENTITY binutils-md5 "9e8340c96626b469a603c15c9d843727"> +<!ENTITY binutils-md5 "23733a26c8276edbb1168c9bee60e40e"> <!ENTITY binutils-home "&gnu-software;binutils/"> <!ENTITY binutils-ch5p1-du "519 MB"> <!ENTITY binutils-ch5p1-sbu "1 SBU"> @@ -108,10 +108,10 @@ <!ENTITY coreutils-ch6-du "173 MB"> <!ENTITY coreutils-ch6-sbu "3.1 SBU"> -<!ENTITY dbus-version "1.10.20"> +<!ENTITY dbus-version "1.10.22"> <!ENTITY dbus-size "1,943 KB"> <!ENTITY dbus-url "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz"> -<!ENTITY dbus-md5 "94c991e763d4f9f13690416b2dcd9411"> +<!ENTITY dbus-md5 "baaa10b7cb49086ad91179a8decfadc5"> <!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus"> <!ENTITY dbus-ch6-du "22 MB"> <!ENTITY dbus-ch6-sbu "0.3 SBU"> @@ -207,10 +207,10 @@ <!ENTITY gawk-ch6-du "36 MB"> <!ENTITY gawk-ch6-sbu "0.3 SBU"> -<!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 "6bf56a2bca9dac9dbbf8e8d1036964a8"> +<!ENTITY gcc-version "7.2.0"> +<!ENTITY gcc-size "60,853 KB"> +<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> +<!ENTITY gcc-md5 "ff370482573133a7fcdd96cd2f552292"> <!ENTITY gcc-home "http://gcc.gnu.org/"> <!ENTITY gcc-ch5p1-du "2.5 GB"> <!ENTITY gcc-ch5p1-sbu "8.4 SBU"> @@ -247,11 +247,11 @@ <!ENTITY gettext-ch6-du "199 MB"> <!ENTITY gettext-ch6-sbu "2.9 SBU"> -<!ENTITY glibc-version "2.25+adc7e06"> -<!ENTITY glibc-size "14,585 KB"> +<!ENTITY glibc-version "2.26"> +<!ENTITY glibc-size "14,339 KB"> <!--<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">--> <!ENTITY glibc-url "&anduin-sources;/glibc-&glibc-version;.tar.xz"> -<!ENTITY glibc-md5 "8e288d3b2bae0ee38f2ec111445de64a"> +<!ENTITY glibc-md5 "102f637c3812f81111f48f2427611be1"> <!ENTITY glibc-home "&gnu-software;libc/"> <!ENTITY glibc-ch5-du "753 MB"> <!ENTITY glibc-ch5-sbu "4.1 SBU"> @@ -401,12 +401,12 @@ <!ENTITY linux-major-version "4"> <!ENTITY linux-minor-version "12"> -<!ENTITY linux-patch-version "5"> +<!ENTITY linux-patch-version "7"> <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> -<!ENTITY linux-size "96,869 KB"> +<!ENTITY linux-size "96,865 KB"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> -<!ENTITY linux-md5 "7ceda6275f03c7b259c98e062fa3ded3"> +<!ENTITY linux-md5 "245d1b4dc6e82669aac2c9e6a2dd82fe"> <!ENTITY linux-home "http://www.kernel.org/"> <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is allnoconfig extended for a hopefully-bootable build on desktop machine, |