aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-16 00:21:26 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-16 00:21:26 +0000
commit2a7ac34a074d6f89c1385ba1ee542d9901fefd64 (patch)
treee8f84f74f81e53769190ede6ae3f81e8af03630a /chapter06
parentb0a4c9a47dadc3ab2c37a034866cb542f3fffa0b (diff)
Upgrade to Glibc-2.6.1. Fixes #2018. Thanks to several people mentioned in the changelog.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8375 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/coreutils.xml6
-rw-r--r--chapter06/glibc.xml4
-rw-r--r--chapter06/gzip.xml6
3 files changed, 16 insertions, 0 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 3b4a0318e..82693d20c 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -41,6 +41,12 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
+ <para>The version of the function <quote>futimens</quote> used
+ by Coreutils is incompatible with the version that current
+ Glibc provides, so we'll rename the function:</para>
+
+<screen><userinput>sed -i 's/futimens/gl_&amp;/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen>
+
<para>A known issue with the <command>uname</command> program from
this package is that the <parameter>-p</parameter> switch always
returns <computeroutput>unknown</computeroutput>. The following patch
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 93ca99aef..14860f6cf 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -102,6 +102,10 @@ mv glibc-libidn-&glibc-version; libidn</userinput></screen>
<screen><userinput>mkdir -v ../glibc-build
cd ../glibc-build</userinput></screen>
+ <para>Again, add the needed compiler flag to CFLAGS:</para>
+
+<screen><userinput>echo "CFLAGS += -march=i486" &gt; configparms</userinput></screen>
+
<para>Prepare Glibc for compilation:</para>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 4f46665a2..e4eb2c394 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -41,6 +41,12 @@
<sect2 role="installation">
<title>Installation of Gzip</title>
+ <para>The version of the function <quote>futimens</quote> used
+ by Gzip is incompatible with the version that current
+ Glibc provides, so we'll rename the function:</para>
+
+<screen><userinput>sed -i 's/futimens/gl_&amp;/' gzip.c lib/utimens.{c,h}</userinput></screen>
+
<para>Prepare Gzip for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>