Changeset 8a59b64


Ignore:
Timestamp:
01/06/2003 04:39:27 PM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3f7da25
Parents:
f24558cd
Message:

added note that patch is also required if host system uses glibc _older_ than 2.2.x (not just 2.2.x)

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc-inst.xml

    rf24558cd r8a59b64  
    4141
    4242<para>There is a potential problem that causes statically linked binaries
    43 to crash that were linked against Glibc-2.2 libraries. Even though static
    44 binaries have all the necessary parts of Glibc built-in, they still rely
    45 on one external library: Glibc's NSS libraries. These libraries, among
     43to crash that were linked against Glibc-2.2 or older libraries. Even though
     44static binaries have all the necessary parts of Glibc built-in, they still
     45rely on one external library: Glibc's NSS libraries. These libraries, among
    4646other things, tell programs where the system's password database is
    4747(/etc/password, or NIS, or whatever other scheme has been
    4848configured).</para>
    4949
    50 <para>Glibc has undergone some changes since version
    51 2.2.x and the new NSS code is incompatible with the old one. So when Glibc
    52 is installed, it will install its new NSS libraries and static programs
    53 will load these new NSS libraries and start to abort with
    54 <emphasis>segmentation faults</emphasis>. This patch undoes a few of the
    55 changes to overcome the problem.</para>
     50<para>Glibc has undergone some changes since version 2.2.x and the new NSS
     51code is incompatible with the old one. So when Glibc is installed, it will
     52install its new NSS libraries and static programs will load these new NSS
     53libraries and start to abort with <emphasis>segmentation faults</emphasis>.
     54This patch undoes a few of the changes to overcome the problem.</para>
    5655
    5756<para>So, if you started chapter 5 with a host system that uses Glibc-2.2.x
    58 you must apply the following patch. We will install Glibc again at the end
    59 of this chapter to remove this patch so you'll have a pristine Glibc as the
    60 developers intended
    61 it.</para>
     57or older, you must apply the following patch. We will install Glibc again at
     58the end of this chapter to remove this patch so you'll have a pristine Glibc
     59as the developers intended it.</para>
    6260
    6361<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-libnss-patch-version;-libnss.patch</userinput></screen></para>
Note: See TracChangeset for help on using the changeset viewer.