diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-04 20:53:03 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-04 20:53:03 +0000 |
commit | af133c3f42ecfac2892e1cd1eaf202575e932502 (patch) | |
tree | 2c202fba99d9004dd39b2ff5f4e6ce16618d75b0 | |
parent | 0a324b5241f112b6929ebd85591226ef7eb2d1bb (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter03/patches.xml | 7 | ||||
-rw-r--r-- | chapter05/binutils-pass1.xml | 6 | ||||
-rw-r--r-- | chapter05/binutils-pass2.xml | 7 | ||||
-rw-r--r-- | chapter06/binutils.xml | 7 | ||||
-rw-r--r-- | chapter06/devices.xml | 9 |
6 files changed, 39 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3d1d3f5c8..d6ca8b19c 100644 --- a/chapter01/changelog.xml +++ b/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 diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 6d40a79ad..582f30486 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -30,6 +30,13 @@ following:</para> </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> <para><ulink url="&patches-root;coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"/></para> diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 96ebbdfa6..8b693e3b9 100644 --- a/chapter05/binutils-pass1.xml +++ b/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> diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index b09b9fae6..52c48cf8d 100644 --- a/chapter05/binutils-pass2.xml +++ b/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 diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 2dc90cb84..8a35d49a3 100644 --- a/chapter06/binutils.xml +++ b/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> diff --git a/chapter06/devices.xml b/chapter06/devices.xml index 557b0d2c3..dc5de88b8 100644 --- a/chapter06/devices.xml +++ b/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—<filename>/etc/fstab</filename>—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> |