Преглед изворни кода

Added new binutils fix_strip patch taken from upstream

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4354 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley пре 20 година
родитељ
комит
af133c3f42

+ 3 - 0
chapter01/changelog.xml

@@ -56,6 +56,7 @@ first a summary, then a detailed log.</para>
 <itemizedlist>
 <listitem><para>bash-3.0-fixes-1.patch</para></listitem>
 <listitem><para>bash-3.0-avoid_WCONTINUED-1.patch</para></listitem>
+<listitem><para>binutils-2.15.94.0.1-fix_strip-1.patch</para></listitem>
 <listitem><para>coreutils-5.2.1-suppress_hostname_uptime_kill_su-1.patch</para></listitem>
 <listitem><para>flex-2.5.31-debian_fixes-2.patch</para></listitem>
 <listitem><para>gcc-3.4.2-linkonce-1.patch</para></listitem>
@@ -95,6 +96,8 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>December 4th, 2004 [jeremy]: Added binutils fix_strip patch</para></listitem>
+
 <listitem><para>December 4th, 2004 [matt]: Mention the additional IRC server.</para></listitem>
 
 <listitem><para>December 3rd, 2004 [jim]: Changed readline and zlib instructions

+ 7 - 0
chapter03/patches.xml

@@ -29,6 +29,13 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Binutils Fix Strip Patch - 1KB:</term>
+<listitem>
+<para><ulink url="&patches-root;binutils-&binutils-version;-fix_strip-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Coreutils Suppress Uptime, Kill, Su Patch - 16 KB:</term>
 <listitem>

+ 6 - 0
chapter05/binutils-pass1.xml

@@ -37,6 +37,12 @@ optimization flags (including the <parameter>-march</parameter> and
 environment variables that override default optimizations, such as CFLAGS and
 CXXFLAGS, we recommend un-setting them when building Binutils.</para>
 
+<para>The current version of Binutils in use has a bug that causes strip to
+remove necessary information from certain library files.  This patch fixes
+the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patch</userinput></screen>
+
 <para>The Binutils documentation recommends building Binutils outside of the
 source directory in a dedicated build directory:</para>
 

+ 7 - 0
chapter05/binutils-pass2.xml

@@ -24,6 +24,13 @@
 <sect2 role="installation">
 <title>Re-installation of Binutils</title>
 
+<para>The current version of Binutils in use has a bug that causes strip to
+remove necessary information from certain library files.  This patch fixes
+the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patc
+h</userinput></screen>
+
 <para>Create a separate build directory again:</para>
 
 <screen><userinput>mkdir ../binutils-build

+ 7 - 0
chapter06/binutils.xml

@@ -49,6 +49,13 @@ Therefore, if you have defined any environment variables that override
 default optimizations, such as CFLAGS and CXXFLAGS, we recommend un-setting
 or modifying them when building Binutils.</para>
 
+<para>The current version of Binutils in use has a bug that causes strip to
+remove necessary information from certain library files.  This patch fixes
+the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-fix_strip-1.patc
+h</userinput></screen>
+
 <para>The Binutils documentation recommends building Binutils outside of the
 source directory in a dedicated build directory:</para>
 

+ 9 - 0
chapter06/devices.xml

@@ -60,6 +60,15 @@ created:</para>
 
 <screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts
 mount -t tmpfs none /dev/shm</userinput></screen>
+
+<para>The <command>mount</command> commands executed above may result in the
+following warning message:</para>
+
+<screen><computeroutput>can't open /etc/fstab: No such file or directory.</computeroutput></screen>
+
+<para>This file&mdash;<filename>/etc/fstab</filename>&mdash;has not
+been created yet but is also not required for the file systems to be
+properly mounted.  As such, the warning can be safely ignored.</para>
 </sect2>