Changeset 8a59b64
- Timestamp:
- 01/06/2003 04:39:27 PM (21 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc-inst.xml
rf24558cd r8a59b64 41 41 42 42 <para>There is a potential problem that causes statically linked binaries 43 to crash that were linked against Glibc-2.2 libraries. Even though static44 binaries have all the necessary parts of Glibc built-in, they still rely 45 on one external library: Glibc's NSS libraries. These libraries, among43 to crash that were linked against Glibc-2.2 or older libraries. Even though 44 static binaries have all the necessary parts of Glibc built-in, they still 45 rely on one external library: Glibc's NSS libraries. These libraries, among 46 46 other things, tell programs where the system's password database is 47 47 (/etc/password, or NIS, or whatever other scheme has been 48 48 configured).</para> 49 49 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 51 code is incompatible with the old one. So when Glibc is installed, it will 52 install its new NSS libraries and static programs will load these new NSS 53 libraries and start to abort with <emphasis>segmentation faults</emphasis>. 54 This patch undoes a few of the changes to overcome the problem.</para> 56 55 57 56 <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> 57 or older, you must apply the following patch. We will install Glibc again at 58 the end of this chapter to remove this patch so you'll have a pristine Glibc 59 as the developers intended it.</para> 62 60 63 61 <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.