Explorar o código

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
DJ Lucas %!s(int64=17) %!d(string=hai) anos
pai
achega
b2e93767f8
Modificáronse 2 ficheiros con 10 adicións e 1 borrados
  1. 5 1
      chapter01/changelog.xml
  2. 5 0
      chapter05/glibc.xml

+ 5 - 1
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <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
@@ -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>

+ 5 - 0
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>