From cd0f51912650a68813b013e75471b27f1ff43ffd Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Fri, 15 Oct 2004 03:08:36 +0000 Subject: Upgraded to 20041011 glibc snapshot, added bash patch to fix execution problem with new glibc, upgraded to util-linux 2.12h, removed util-linux-sfdisk patch which is no longer necessary. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4289 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 ++++++++--- chapter03/packages.xml | 2 +- chapter03/patches.xml | 13 +++++++------ chapter05/bash.xml | 5 +++++ chapter06/bash.xml | 5 +++++ chapter06/util-linux.xml | 6 ------ general.ent | 8 ++++---- 7 files changed, 30 insertions(+), 20 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 86ffec8f0..ba828c196 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -28,7 +28,7 @@ first a summary, then a detailed log. flex-2.5.31 gawk-3.1.4 gcc-3.4.2 -glibc-2.3.4-20040828 +glibc-20041011 groff-1.19.1 iana-etc-1.02 lfs-bootscripts-2.2.3 @@ -43,7 +43,7 @@ first a summary, then a detailed log. sed-4.1.2 tar-1.14 tcl-8.4.7 -util-linux-2.12g +util-linux-2.12h vim-6.3 @@ -51,6 +51,7 @@ first a summary, then a detailed log. Added: bash-3.0-fixes-1.patch +bash-3.0-avoid_WCONTINUED-1.patch coreutils-5.2.1-suppress_hostname_uptime_kill_su-1.patch flex-2.5.31-debian_fixes-2.patch gcc-3.4.2-linkonce-1.patch @@ -70,7 +71,6 @@ first a summary, then a detailed log. udev-config-1.permissions udev-config-1.rules util-linux-2.12a-kernel_headers-1.patch -util-linux-2.12d-sfdisk-1.patch vim-6.3 language files zlib-1.2.1-security-1.patch @@ -92,6 +92,11 @@ first a summary, then a detailed log. +October 14th, 2004 [jeremy]: Upgraded Glibc to 20041011 +snapshot, added Bash patch to fix execution problems with the new glibc, +upgraded to Util-linux-2.12h, removed the sfdisk patch which has been +incorporated upstream + October 12th, 2004 [jeremy]: Added the new DESTDIR patch developed by David Jensen to the udev instructions diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e4c972440..55eeabccf 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -134,7 +134,7 @@ Glibc (&glibc-version;) - 13,800 KB: -- (see Note 1 below) - + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 945c35c02..402cdaab3 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -22,6 +22,13 @@ following: + +Bash Avoid Wcontinued Patch - 1KB: + + + + + Coreutils Suppress Uptime, Kill, Su Patch - 16 KB: @@ -138,12 +145,6 @@ following: - -Util-Linux Sfdisk Patch - 1 KB: - - - - Zlib Security Patch - 1KB: diff --git a/chapter05/bash.xml b/chapter05/bash.xml index 18a399aee..7b741aef9 100644 --- a/chapter05/bash.xml +++ b/chapter05/bash.xml @@ -27,6 +27,11 @@ Installation of Bash +Bash has a problem when compiled against newer versions of glibc, causing +it to hang inappropriately. This patch fixes the problem: + +patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch + Prepare Bash for compilation: ./configure --prefix=/tools --without-bash-malloc diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 2dd8d81ea..3e65cb5ee 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -33,6 +33,11 @@ sometimes will only show 33 characters on a line and then wraps to the next line patch -Np1 -i ../bash-&bash-version;-fixes-1.patch +Bash also has issues when compiled against newer versions of glibc. The +following patch resolves this problem: + +patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch + Prepare Bash for compilation: ./configure --prefix=/usr --bindir=/bin \ diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 4c1ecf2db..37ca200d9 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -43,12 +43,6 @@ mkdir -p /var/lib/hwclock Installation of Util-linux -GCC-&gcc-version; miscompiles sfdisk if the -default optimisation level is used. The following patch prevents the -problematic optimisation pass from being used. - -patch -Np1 -i ../util-linux-&util-linux-version;-sfdisk-2.patch - Prepare Util-linux for compilation: ./configure diff --git a/general.ent b/general.ent index c1166d151..70a6f93b0 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + @@ -33,7 +33,7 @@ - + @@ -68,7 +68,7 @@ - + -- cgit v1.2.3-54-g00ecf