aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-09-07 01:48:31 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-09-07 01:48:31 +0000
commit041cbb60ac73bd196a286b4f573118886f961472 (patch)
tree931e3c4da94f5b962f52aa2739fb4751fd5b0a8e
parent3b3e3cce5b8993c8f661d24fc9150324ed7696e0 (diff)
Added the GCC Linkonce patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4141 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter03/patches.xml7
-rw-r--r--chapter06/gcc.xml6
-rw-r--r--general.ent4
4 files changed, 19 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 22c91c845..b77dbf2f5 100644
--- a/chapter01/changelog.xml
+++ b/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>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 9c488c62f..9f83fb776 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -51,6 +51,13 @@ following:</para>
</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>
<para><ulink url="&patches-root;gcc-&gcc-version;-no_fixincludes-1.patch"/></para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 218286a6d..06dcd5c0e 100644
--- a/chapter06/gcc.xml
+++ b/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>
diff --git a/general.ent b/general.ent
index d175a0aa4..82cd47046 100644
--- a/general.ent
+++ b/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/">