Kaynağa Gözat

Added the GCC Linkonce patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4141 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 21 yıl önce
ebeveyn
işleme
041cbb60ac
4 değiştirilmiş dosya ile 19 ekleme ve 2 silme
  1. 4 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 6 0
      chapter06/gcc.xml
  4. 2 2
      general.ent

+ 4 - 0
chapter01/changelog.xml

@@ -54,6 +54,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>bash-3.0-display_wrap-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.1-linkonce-1.patch</para></listitem>
 <listitem><para>hotplug-2004_04_01</para></listitem>
 <listitem><para>hotplug-2004_04_01-bogus_deps-1.patch</para></listitem>
 <listitem><para>hotplug-2004_04_01-device-2.patch</para></listitem>
@@ -92,6 +93,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>September 6th, 2004 [jeremy]: Added the linkonce patch to
+chapter 6 gcc instructions.</para></listitem>
+
 <listitem><para>September 6th, 2004 [jeremy]: Upgraded to linux-libc-headers
 version 2.6.8.1</para></listitem>
 

+ 7 - 0
chapter03/patches.xml

@@ -50,6 +50,13 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term> GCC Linkonce Patch - 12KB:</term>
+<listitem>
+<para><ulink url="&patches-root;gcc-&gcc-version;-linkonce-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>GCC No-Fixincludes Patch - 1 KB:</term>
 <listitem>

+ 6 - 0
chapter06/gcc.xml

@@ -46,6 +46,12 @@ the Specs patch) also used in the previous chapter:</para>
 
 <screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>
 
+<para>GCC fails to compile some packages outside of a base Linux From Scratch
+install (e.g., Mozilla and kdegraphics) when used in conjunction with newer
+versions of binutils.  Apply the following patch to fix this issue:</para>
+
+<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch</userinput></screen>
+
 <para>Now apply a sed substitution that will suppress the installation of
 <filename class="libraryfile">libiberty.a</filename>. We want to use the version of
 <filename class="libraryfile">libiberty.a</filename> provided by Binutils:</para>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20040904">
-<!ENTITY releasedate "September 4, 2004">
+<!ENTITY version "SVN-20040906">
+<!ENTITY releasedate "September 6, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">