cvs commit: LFS/BOOK/chapter06 glibc-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Mon Jan 6 08:39:27 PST 2003


gerard      03/01/06 11:39:27

  Modified:    BOOK/chapter06 glibc-inst.xml
  Log:
  added note that patch is also required if host system uses glibc _older_ than 2.2.x (not just 2.2.x)
  
  Revision  Changes    Path
  1.79      +11 -13    LFS/BOOK/chapter06/glibc-inst.xml
  
  Index: glibc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/glibc-inst.xml,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- glibc-inst.xml	3 Jan 2003 00:21:10 -0000	1.78
  +++ glibc-inst.xml	6 Jan 2003 16:39:27 -0000	1.79
  @@ -40,25 +40,23 @@
   <para><screen><userinput>patch -Np1 -i ../glibc-&glibc-rootperl-patch-version;-root-perl.patch</userinput></screen></para>
   
   <para>There is a potential problem that causes statically linked binaries
  -to crash that were linked against Glibc-2.2 libraries. Even though static
  -binaries have all the necessary parts of Glibc built-in, they still rely
  -on one external library: Glibc's NSS libraries. These libraries, among
  +to crash that were linked against Glibc-2.2 or older libraries. Even though
  +static binaries have all the necessary parts of Glibc built-in, they still
  +rely on one external library: Glibc's NSS libraries. These libraries, among
   other things, tell programs where the system's password database is
   (/etc/password, or NIS, or whatever other scheme has been
   configured).</para>
   
  -<para>Glibc has undergone some changes since version
  -2.2.x and the new NSS code is incompatible with the old one. So when Glibc
  -is installed, it will install its new NSS libraries and static programs
  -will load these new NSS libraries and start to abort with
  -<emphasis>segmentation faults</emphasis>. This patch undoes a few of the
  -changes to overcome the problem.</para>
  +<para>Glibc has undergone some changes since version 2.2.x and the new NSS
  +code is incompatible with the old one. So when Glibc is installed, it will
  +install its new NSS libraries and static programs will load these new NSS
  +libraries and start to abort with <emphasis>segmentation faults</emphasis>.
  +This patch undoes a few of the changes to overcome the problem.</para>
   
   <para>So, if you started chapter 5 with a host system that uses Glibc-2.2.x
  -you must apply the following patch. We will install Glibc again at the end
  -of this chapter to remove this patch so you'll have a pristine Glibc as the
  -developers intended
  -it.</para>
  +or older, you must apply the following patch. We will install Glibc again at
  +the end of this chapter to remove this patch so you'll have a pristine Glibc
  +as the developers intended it.</para>
   
   <para><screen><userinput>patch -Np1 -i ../glibc-&glibc-libnss-patch-version;-libnss.patch</userinput></screen></para>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list