Changeset 8ddc247


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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r01c2a351 r8ddc247  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "16">                   <!-- Always 2 digits -->
     3<!ENTITY day          "17">                   <!-- Always 2 digits -->
    44<!ENTITY month        "09">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2014">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "September 16th, &year;">
     9<!ENTITY releasedate  "September 17th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/prog/gcc-ada.xml

    r01c2a351 r8ddc247  
    5151    a binary compiler.</para>
    5252
    53 <!--    &lfs75_checked; -->
     53    &lfs76_checked;
    5454
    5555    <caution>
     
    123123        </para>
    124124      </listitem>
    125 <!--      <listitem>
     125      <listitem>
    126126        <para>
    127127          Required patch:
    128128          <ulink url="&patch-root;/gcc-&gcc-version;-upstream_fixes-1.patch"/>
    129129        </para>
    130       </listitem> -->
     130      </listitem>
    131131    </itemizedlist>
    132132
     
    187187    <title>Installation of GCC Ada</title>
    188188
     189    <para>As in LFS, fix a problem identified upstream:</para>
     190
     191<screen><userinput>sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
     192
    189193    <para>Install <application>GCC Ada</application> by running the
    190194    following commands:</para>
    191195
    192 <screen><userinput><!--patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch &amp;&amp;
    193 -->mkdir ../gcc-build &amp;&amp;
     196<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch &amp;&amp;
     197mkdir ../gcc-build &amp;&amp;
    194198cd    ../gcc-build &amp;&amp;
    195199
     
    245249  <sect2 role="commands">
    246250    <title>Command Explanations</title>
     251
     252    <para>
     253      <command>patch ... gcc-&gcc-version;-upstream_fixes-1.patch</command>:
     254      This patch corrects bugs in the C++ compiler, which lead to
     255      segmentation faults in some cases.
     256    </para>
    247257
    248258    <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
  • 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
  • general/prog/gcc.xml

    r01c2a351 r8ddc247  
    3939    or for installing additional compilers.</para>
    4040
    41     &lfs75_checked;
     41    &lfs76_checked;
    4242
    4343    <caution>
     
    7878    </itemizedlist>
    7979
    80 <!--    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     80    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    8181    <itemizedlist spacing="compact">
    8282      <listitem>
     
    8787      </listitem>
    8888    </itemizedlist>
    89 -->
     89
    9090    <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
    9191
     
    135135    following commands:</para>
    136136
    137 <screen><userinput><!--patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch    &amp;&amp;
    138 -->mkdir ../gcc-build                                   &amp;&amp;
     137<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch    &amp;&amp;
     138mkdir ../gcc-build                                   &amp;&amp;
    139139cd    ../gcc-build                                   &amp;&amp;
    140140
     
    193193    <title>Command Explanations</title>
    194194
    195 <!--    <para>
     195    <para>
    196196      <command>patch ... gcc-&gcc-version;-upstream_fixes-1.patch</command>:
    197       This patch corrects bugs in the GCC optimization system, which otherwise
    198       would generate wrong code.
    199     </para>
    200 -->
     197      This patch corrects bugs in the C++ compiler, which lead to
     198      segmentation faults in some cases.
     199    </para>
     200
    201201    <para>
    202202      <command>mkdir ../gcc-build; cd ../gcc-build</command>: The
  • introduction/welcome/changelog.xml

    r01c2a351 r8ddc247  
    4444
    4545-->
     46
     47    <listitem>
     48      <para>September 17th, 2014</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[pierre] - Use the same upstream GCC patch in BLFS as
     52          in LFS. Tag all three GCC pages.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
    4656
    4757    <listitem>
Note: See TracChangeset for help on using the changeset viewer.