From 42130d6299b5d0cf916d085dac0a89c079ca52c0 Mon Sep 17 00:00:00 2001 From: Krejzi Date: Thu, 28 Apr 2016 02:33:21 +0000 Subject: Updated to file-5.26, gcc-6.1.0, grep-2.25, gzip-1.8, linux-4.5.2 and tzdata-2016d. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11049 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 39 ++++++++++++++++++++++++++++ chapter01/whatsnew.xml | 22 +++++++--------- chapter03/patches.xml | 8 ++++++ chapter05/gcc-pass1.xml | 8 +++--- chapter05/glibc.xml | 4 +++ chapter06/binutils.xml | 4 +-- chapter06/glibc.xml | 4 +++ chapter06/pkgconfig.xml | 16 +++++++++--- general.ent | 4 +-- packages.ent | 68 ++++++++++++++++++++++++------------------------- patches.ent | 10 +++++--- 11 files changed, 127 insertions(+), 60 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index bc88e062f..28773c6a6 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,45 @@ --> + + 2016-04-28 + + + [krejzi] - Updated to file-5.26. Fixes + #3919. + + + [krejzi] - Updated to gcc-6.1.0. Fixes + #3924. + + + [krejzi] - Updated to grep-2.25. Fixes + #3922. + + + [krejzi] - Updated to gzip-1.8. Fixes + #3923. + + + [krejzi] - Updated to linux-4.5.2. Fixes + #3921. + + + [krejzi] - Updated to tzdata-2016d. Fixes + #3920. + + + [krejzi] - Updated binutils upstream fixes + patch. + + + [krejzi] - Added a patch for glibc which + addresses a security issue and a build failure + with GCC 6. + + + + 2016-04-16 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 39819ee14..8fe71f83c 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -73,9 +73,9 @@ - + @@ -85,9 +85,9 @@ - + @@ -243,23 +243,15 @@ Added: - @@ -270,6 +262,10 @@ Tcl-8.6.3 --> + + binutils-2.26-upstream_fix-2.patch + + mpfr-3.1.3-upstream_fixes-2.patch diff --git a/chapter03/patches.xml b/chapter03/patches.xml index d731aa10f..2161ae3b9 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -66,6 +66,14 @@ + + Glibc Upstream Patch - &glibc-upstream-patch-size;: + + Download: + MD5 sum: &glibc-upstream-patch-md5; + + + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 8015c1b50..64077a414 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -135,6 +135,7 @@ cd build --disable-threads \ --disable-libatomic \ --disable-libgomp \ + --disable-libmpx \ --disable-libquadmath \ --disable-libssp \ --disable-libvtv \ @@ -195,11 +196,12 @@ cd build --disable-decimal-float, --disable-threads, - --disable-libatomic, --disable-libgomp, --disable-libquadmath, - --disable-libssp, --disable-libvtv, --disable-libstdcxx + --disable-libatomic, --disable-libgomp, --disable-libmpx + --disable-libquadmath, --disable-libssp, --disable-libvtv, + --disable-libstdcxx These switches disable support for the decimal floating point - extension, threading, libatomic, libgomp, libquadmath, libssp, + extension, threading, libatomic, libgomp, libmpx, libquadmath, libssp, libvtv, and the C++ standard library respectively. These features will fail to compile when building a cross-compiler and are not necessary for the task of cross-compiling the temporary libc. diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 63000bf70..53865f690 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -47,6 +47,10 @@ patch -Np1 -i ../&glibc-upstream-patch; --> + Fix some problems identified upstream: + +patch -Np1 -i ../&glibc-upstream-patch; + The Glibc documentation recommends building Glibc in a dedicated build directory: diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 570722f13..cbfdd82d7 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -57,7 +57,7 @@ The system has no more ptys. Ask your system administrator to create more. - Fix a problem identified upstream: + Fix some problems identified upstream: patch -Np1 -i ../&binutils-upstream-patch; @@ -106,7 +106,7 @@ cd build Test the results: -make check +make -k check The test 'Link with zlib-gabi compressed debug output' is known to fail. diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 26adf6dac..e577e229a 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -68,6 +68,10 @@ patch -Np1 -i ../&glibc-fhs-patch; + Fix some problems identified upstream: + +patch -Np1 -i ../&glibc-upstream-patch; + The Glibc documentation recommends building Glibc in a dedicated build directory: diff --git a/chapter06/pkgconfig.xml b/chapter06/pkgconfig.xml index eb9278d18..e582b47af 100644 --- a/chapter06/pkgconfig.xml +++ b/chapter06/pkgconfig.xml @@ -44,9 +44,10 @@ Prepare Pkg-config for compilation: -./configure --prefix=/usr \ - --with-internal-glib \ - --disable-host-tool \ +./configure --prefix=/usr \ + --with-internal-glib \ + --disable-compile-warnings \ + --disable-host-tool \ --docdir=/usr/share/doc/pkg-config-&pkgconfig-version; @@ -60,6 +61,15 @@ + + --disable-compile-warnings + + This option prevents the build system from using + compiler flags which cause build failure when building + with GCC 6. + + + --disable-host-tool diff --git a/general.ent b/general.ent index cf83d0b9b..67cc61944 100644 --- a/general.ent +++ b/general.ent @@ -1,7 +1,7 @@ - + - + diff --git a/packages.ent b/packages.ent index 14ea7363e..072cda8f1 100644 --- a/packages.ent +++ b/packages.ent @@ -159,14 +159,14 @@ - - + + - + - + - + @@ -197,19 +197,19 @@ - - + + - + - - - - - - - - + + + + + + + + @@ -257,14 +257,14 @@ - - + + - + - + - + @@ -283,14 +283,14 @@ - - + + - + - + - + @@ -383,12 +383,12 @@ - + - + - +