Browse Source

Updated to Glibc-2.4. Added a patch for iconv and removed unnecessary
patches from glibc-2.3.6.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Dan Nichilson 19 years ago
parent
commit
60bc014c77
6 changed files with 32 additions and 53 deletions
  1. 11 0
      chapter01/changelog.xml
  2. 3 11
      chapter03/patches.xml
  3. 8 28
      chapter06/glibc.xml
  4. 2 2
      general.ent
  5. 5 5
      packages.ent
  6. 3 7
      patches.ent

+ 11 - 0
chapter01/changelog.xml

@@ -35,6 +35,17 @@
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </listitem>
 -->
 -->
+    <listitem>
+      <para>2006-09-17</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Updated to Glibc-2.4. Added the iconv fix
+          patch and removed the decprecated linux types and inotify
+          syscall patches. Thanks to Matthew Burgess and Bryan Kadzban
+          for textual suggestions.</para>
+        </listitem>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>2006-09-09</para>
       <para>2006-09-09</para>
       <itemizedlist>
       <itemizedlist>

+ 3 - 11
chapter03/patches.xml

@@ -107,18 +107,10 @@
     </varlistentry>
     </varlistentry>
 
 
     <varlistentry>
     <varlistentry>
-      <term>Glibc Linux Types Patch - <token>&glibc-linux_types-patch-size;</token>:</term>
+      <term>Glibc Iconv Fix Patch - <token>&glibc-iconv_fix-patch-size;</token>:</term>
       <listitem>
       <listitem>
-        <para>Download: <ulink url="&patches-root;&glibc-linux_types-patch;"/></para>
-        <para>MD5 sum: <literal>&glibc-linux_types-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
-    <varlistentry>
-      <term>Glibc Inotify Syscall Functions Patch - <token>&glibc-inotify-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&glibc-inotify-patch;"/></para>
-        <para>MD5 sum: <literal>&glibc-inotify-patch-md5;</literal></para>
+        <para>Download: <ulink url="&patches-root;&glibc-iconv_fix-patch;"/></para>
+        <para>MD5 sum: <literal>&glibc-iconv_fix-patch-md5;</literal></para>
       </listitem>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 

+ 8 - 28
chapter06/glibc.xml

@@ -61,18 +61,14 @@
     <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
     <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
     Unpack the tarball from within the Glibc source directory:</para>
     Unpack the tarball from within the Glibc source directory:</para>
 
 
-<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
+<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2
+mv glibc-libidn-&glibc-version; libidn</userinput></screen>
 
 
-    <para>Apply the following patch to fix build errors in packages that include
-    <filename class="headerfile">linux/types.h</filename> after <filename
-    class="headerfile">sys/kd.h</filename>:</para>
+    <para>Apply the following patch to fix an assertion failure when
+    opening two conversion descriptors with the same tocode and fromcode
+    parameters (see the iconv_open man page):</para>
 
 
-<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
-
-    <para>Add a header to define syscall functions for the inotify feature
-    available in newer Linux kernels:</para>
-
-<screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&glibc-iconv_fix-patch;</userinput></screen>
 
 
     <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
     <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
     at startup. It is unknown whether this is a <command>bash</command> bug or a
     at startup. It is unknown whether this is a <command>bash</command> bug or a
@@ -172,11 +168,6 @@ grep Error glibc-check-log</userinput></screen>
 
 
 <screen><userinput>make install</userinput></screen>
 <screen><userinput>make install</userinput></screen>
 
 
-   <para>Install the inotify header to the system header location:</para>
-
-<screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \
-    /usr/include/sys</userinput></screen>
-
     <para>The locales that can make the system respond in a different language
     <para>The locales that can make the system respond in a different language
     were not installed by the above command. None of the locales are required,
     were not installed by the above command. None of the locales are required,
     but if some of them are missing, testsuites of the future packages would
     but if some of them are missing, testsuites of the future packages would
@@ -348,8 +339,8 @@ EOF</userinput></screen>
 
 
       <seglistitem>
       <seglistitem>
         <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
         <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
-        ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
-        pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
+        ldd, lddlibc4, locale, localedef, mtrace, nscd, pcprofiledump,
+        pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
         zdump, and zic</seg>
         zdump, and zic</seg>
         <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
         <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
         libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
         libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
@@ -502,17 +493,6 @@ EOF</userinput></screen>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
 
 
-      <varlistentry id="nscd_nischeck">
-        <term><command>nscd_nischeck</command></term>
-        <listitem>
-          <para>Checks whether or not secure mode is necessary for NIS+
-          lookup</para>
-          <indexterm zone="ch-system-glibc nscd_nischeck">
-            <primary sortas="b-nscd_nischeck">nscd_nischeck</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="pcprofiledump">
       <varlistentry id="pcprofiledump">
         <term><command>pcprofiledump</command></term>
         <term><command>pcprofiledump</command></term>
         <listitem>
         <listitem>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20060909">
-<!ENTITY releasedate "September 9, 2006">
+<!ENTITY version "SVN-20060917">
+<!ENTITY releasedate "September 17, 2006">
 <!ENTITY milestone "6.3">
 <!ENTITY milestone "6.3">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 
 

+ 5 - 5
packages.ent

@@ -190,19 +190,19 @@
 <!ENTITY gettext-ch6-du "65 MB">
 <!ENTITY gettext-ch6-du "65 MB">
 <!ENTITY gettext-ch6-sbu "1 SBU">
 <!ENTITY gettext-ch6-sbu "1 SBU">
 
 
-<!ENTITY glibc-version "2.3.6">
-<!ENTITY glibc-size "13,687 KB">
+<!ENTITY glibc-version "2.4">
+<!ENTITY glibc-size "14,847 KB">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2">
-<!ENTITY glibc-md5 "bfdce99f82d6dbcb64b7f11c05d6bc96">
+<!ENTITY glibc-md5 "7e9a88dcd41fbc53801dbe5bdacaf245">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-ch5-du "325 MB">
 <!ENTITY glibc-ch5-du "325 MB">
 <!ENTITY glibc-ch5-sbu "6 SBU">
 <!ENTITY glibc-ch5-sbu "6 SBU">
 <!ENTITY glibc-ch6-du "510 MB testsuite included">
 <!ENTITY glibc-ch6-du "510 MB testsuite included">
 <!ENTITY glibc-ch6-sbu "13.5 SBU testsuite included">
 <!ENTITY glibc-ch6-sbu "13.5 SBU testsuite included">
 <!ENTITY glibc-libidn-version "&glibc-version;">
 <!ENTITY glibc-libidn-version "&glibc-version;">
-<!ENTITY glibc-libidn-size "99 KB">
+<!ENTITY glibc-libidn-size "100 KB">
 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.bz2">
 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.bz2">
-<!ENTITY glibc-libidn-md5 "49dbe06ce830fc73874d6b38bdc5b4db">
+<!ENTITY glibc-libidn-md5 "e2d892b40d654c523ab26a26b7dd86a1">
 <!ENTITY glibc-libidn-home " ">
 <!ENTITY glibc-libidn-home " ">
 
 
 <!ENTITY grep-version "2.5.1a">
 <!ENTITY grep-version "2.5.1a">

+ 3 - 7
patches.ent

@@ -53,13 +53,9 @@
 <!ENTITY gcc-specs-patch-size "14.8 KB">
 <!ENTITY gcc-specs-patch-size "14.8 KB">
 
 
 
 
-<!ENTITY glibc-linux_types-patch "glibc-&glibc-version;-linux_types-1.patch">
-<!ENTITY glibc-linux_types-patch-md5 "30ea59ae747478aa9315455543b5bb43">
-<!ENTITY glibc-linux_types-patch-size "1.1 KB">
-
-<!ENTITY glibc-inotify-patch "glibc-&glibc-version;-inotify-1.patch">
-<!ENTITY glibc-inotify-patch-md5 "94f6d26ae50a0fe6285530fdbae90bbf">
-<!ENTITY glibc-inotify-patch-size "1.4 KB">
+<!ENTITY glibc-iconv_fix-patch "glibc-&glibc-version;-iconv_fix-1.patch">
+<!ENTITY glibc-iconv_fix-patch-md5 "9c8e681226ccf7a1f25c6467674f915e">
+<!ENTITY glibc-iconv_fix-patch-size "2.6 KB">
 
 
 
 
 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">
 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch">