Ignore:
Timestamp:
07/27/2021 05:27:33 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
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, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, 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:
11d5dee, c9d3c70
Parents:
5287d52
git-author:
Xi Ruoyao <xry111@…> (07/27/2021 05:18:37 PM)
git-committer:
Xi Ruoyao <xry111@…> (07/27/2021 05:27:33 PM)
Message:

stripping: add libnss_*.so* into online_usrlib

Glibc loads these "NSS modules" (see man 5 nss) on startup. This is
implemented with something like dlopen() so "ldd" won't show them up.
So they should be considered "online" here.

Without this addition, overwriting libnss_files-2.33.so reproducibly
triggers a crash during jhalfs runs where stripping is enabled. In
manual builds, it reproducibly triggers a crash exiting from chroot.

After this change I reran stripping 5 times and there was no crash
observed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r5287d52 rd1592b9  
    4545
    4646    <listitem>
     47      <para>2021-07-27</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[xry111] - Use workaround for Glibc NSS modules during
     51          stripping, to prevent bash from crash.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4757      <para>2021-07-26</para>
    4858      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.