aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
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 /chapter06/gcc.xml
parent3b3e3cce5b8993c8f661d24fc9150324ed7696e0 (diff)
Added the GCC Linkonce patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4141 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml6
1 files changed, 6 insertions, 0 deletions
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>