aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-08-03 16:37:17 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-08-03 16:37:17 +0000
commit8a8177f9b93774426694ffd5b72e4f8aef4f316d (patch)
tree8d38d770a4491d52b6337cabaf64bf60ffa31202 /chapter06/gcc.xml
parent0bf4dfe63c985c180eaa7feadf6a4703f2dc9fd4 (diff)
Intermediate commit to test a change to gcc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10672 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index e7efba79a..8dc997b01 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -40,6 +40,11 @@
<sect2 role="installation">
<title>Installation of GCC</title>
+
+ <para>As in Chapter 5, fix a problem identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
+
<!--
<para>First fix a problem identified upstream that causes some
programs to fail:</para>
@@ -130,10 +135,10 @@ cd ../gcc-build</userinput></screen>
url="&test-results;"/> and <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
<para>A few unexpected failures cannot always be avoided. The GCC developers
- are usually aware of these issues, but have not resolved them yet. In
+ are usually aware of these issues, but have not resolved them yet. <!-- In
particular, the <filename class="libraryfile">libmudflap</filename> tests
are known to be particularly problematic as a result of a bug in GCC
- (<ulink url="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20003"/>).
+ (<ulink url="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20003"/>). -->
Unless the test results are vastly different from those at the above URL,
it is safe to continue.</para>
@@ -321,7 +326,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
<seg>libasan.{a,so}, libatomic.{a,so}, libgcc.a, libgcc_eh.a,
libgcc_s.so, libgcov.a, libgomp.{a,so}, libiberty.a, libitm.{a,so},
- liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so},
+ liblto_plugin.so,
libquadmath.{a,so}, libssp.{a,so},
libssp_nonshared.a, libstdc++.{a,so}, libsupc++.a and libtsan.{a,so}</seg>
@@ -501,7 +506,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
</indexterm>
</listitem>
</varlistentry>
-
+<!--
<varlistentry id="libmudflap">
<term><filename class="libraryfile">libmudflap</filename></term>
<listitem>
@@ -512,7 +517,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
</indexterm>
</listitem>
</varlistentry>
-
+-->
<varlistentry id="libquadmath">
<term><filename class="libraryfile">libquadmath</filename></term>
<listitem>