Changeset ae437d3


Ignore:
Timestamp:
01/26/2006 02:35:40 AM (18 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
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.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, 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:
313ca76
Parents:
9c9c8e19
Message:

Fix chapter 6 Glibc's test-installation.pl to test the correct Glibc.
Fixes bug 1675. Thanks to Dan Nicholson for the report and Greg Schafer for the fix.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r9c9c8e19 rae437d3  
    4444          Cross-LFS can handle non-x86 arch specifics at this point.</para>
    4545        </listitem>
     46        <listitem>
     47          <para>[jhuntwork] - Fix chapter 6 Glibc's test-installation.pl to test
     48          the correct Glibc. Fixes bug 1675. Thanks to Dan Nicholson for the report
     49          and Greg Schafer for the fix.</para>
     50        </listitem>
    4651      </itemizedlist>
    4752    </listitem>
  • chapter06/glibc.xml

    r9c9c8e19 rae437d3  
    5656directory:</para>
    5757
    58 <screen><userinput>tar jxf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
     58<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
    5959
    6060<para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
     
    6464
    6565<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
     66
     67<para>When running <command>make install</command>, a script called
     68<filename>test-installation.pl</filename> performs a small sanity test
     69on our newly installed Glibc. However, because our toolchain still points to the
     70<filename class="directory">/tools</filename> directory, the sanity test would
     71be carried out against the wrong Glibc. We can force the script to check the
     72Glibc we have just installed with the following:</para>
     73
     74<screen><userinput>sed -i \
     75's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
     76        scripts/test-installation.pl</userinput></screen>
    6677
    6778<para>The Glibc documentation recommends building Glibc outside of the source
     
    268279
    269280<sect2 id="conf-ld" role="configuration">
    270 <title>Configuring Dynamic Loader</title>
     281<title>Configuring the Dynamic Loader</title>
    271282<indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
    272283
Note: See TracChangeset for help on using the changeset viewer.