aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-10-12 03:55:20 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-10-12 03:55:20 +0000
commitb2e93767f8535ff079dc350792717da267cd9269 (patch)
treea614298cfc89c22fea9fa729527330a7a6619008
parent0bb67603641c3afa7ecc7deadbfc85e65e9306bd (diff)
killed /etc/ld.so.preload from Chapter 5 Glibc, #2081.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8645 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml6
-rw-r--r--chapter05/glibc.xml5
2 files changed, 10 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 81d036789..5f808d0bd 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -41,6 +41,10 @@
<para>2008-10-12</para>
<itemizedlist>
<listitem>
+ <para>[dj] - Added instruction to keep Chapter 5 Glibc from honoring
+ /etc/ld.so.preload. Thanks to Alexander Patrakov for the fix.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Added descriptions of the configure options used
in the GMP instructions and updated the installed library
descriptions.</para>
@@ -52,7 +56,7 @@
<para>2008-10-11</para>
<itemizedlist>
<listitem>
- <para>[dj] - Removed the chapter 5 glibc test suite information as
+ <para>[dj] - Removed the Chapter 5 Glibc test suite information as
it requires a working C++ compiler to run.</para>
</listitem>
<listitem>
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 6bd5d6aad..23a8d2351 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
+ <para>Fix a potential issue if <filename>/etc/ld.so.preload</filename> is
+ used on the host system.</para>
+
+<screen><userinput remap="pre">sed -i 's@/etc/ld.so.preload@/tools/etc/ld.so.preload@' elf/rtld.c</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>