Ignore:
Timestamp:
09/17/2014 11:10:41 AM (10 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5fd155f3
Parents:
01c2a351
Message:

Add upstream fixes patch to GCC pages and tag them

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14307 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc-java.xml

    r01c2a351 r8ddc247  
    4646    without the need for downloading a Java binary.</para>
    4747
    48 <!--    &lfs75_checked; -->
     48    &lfs76_checked;
    4949
    5050    <caution>
     
    9191        </para>
    9292      </listitem>
    93 <!--      <listitem>
     93      <listitem>
    9494        <para>
    9595          Required patch:
    9696          <ulink url="&patch-root;/gcc-&gcc-version;-upstream_fixes-1.patch"/>
    9797        </para>
    98       </listitem> -->
     98      </listitem>
    9999    </itemizedlist>
    100100
     
    135135    the <command>./configure</command> options below.</para>
    136136
     137    <para>As in LFS, fix a problem identified upstream:</para>
     138
     139<screen><userinput>sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
     140
    137141    <para>Install <application>GCC Java</application> by running the
    138142    following commands:</para>
     
    140144<screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in         &amp;&amp;
    141145sed -i 's/\(install-data-am:\).*/\1/'             libffi/include/Makefile.in &amp;&amp;
    142 <!--
     146
    143147patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch &amp;&amp;
    144 -->
     148
    145149cp ../ecj-latest.jar ./ecj.jar &amp;&amp;
    146150
     
    205209    with <application>GCC</application>, since it is outdated compared to
    206210    <xref linkend="libffi"/>.</para>
     211
     212    <para>
     213      <command>patch ... gcc-&gcc-version;-upstream_fixes-1.patch</command>:
     214      This patch corrects bugs in the C++ compiler, which lead to
     215      segmentation faults in some cases.
     216    </para>
    207217
    208218    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
Note: See TracChangeset for help on using the changeset viewer.