Changeset f0dd071


Ignore:
Timestamp:
03/08/2023 05:42:57 PM (14 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
827154b
Parents:
01f42a8
Message:

Add a patch to fix gcc-go version string

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    r01f42a8 rf0dd071  
    116116      </listitem>
    117117    </itemizedlist>
    118 <!--
     118
    119119    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    120120    <itemizedlist spacing="compact">
    121121      <listitem>
    122122        <para>
    123           Required patch for building against glibc-2.36:
    124           <ulink url="&patch-root;/gcc-&gcc-version;-glibc_2.36-1.patch"/>
     123          Optional patch when adding Go to the desired language list:
     124          <ulink url="&patch-root;/gcc-&gcc-version;-fix_go_version-1.patch"/>
    125125        </para>
    126126      </listitem>
    127127    </itemizedlist>
    128 -->
     128
    129129    <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
    130130
     
    172172      <command>./configure</command> options below.
    173173    </para>
    174 <!--
    175     <para>
    176       First fix a problem with glibc-2.36:
    177     </para>
    178 
    179 <screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-glibc_2.36-1.patch</userinput></screen>
    180 -->
     174
     175    <para>
     176      Some packages checks on the phrase <literal>gccgo</literal> in the output
     177      of <command>go version</command> to see which kind of Go compiler is
     178      installed (gcc-go or golang). The absence of <literal>gccgo</literal> in
     179      that string makes them to assume the compiler is the golang which is wrong.
     180      If Go isn't in the list of desired languages, this patch can be skipped
     181      while it does not harm if applied anyway. Fix the Go part of gcc to show
     182      a valid version string when calling <command>go version</command> by
     183      applying a patch:
     184    </para>
     185
     186<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-fix_go_version-1.patch</userinput></screen>
     187
    181188    <para>
    182189      Install <application>GCC</application> by running the following commands:
  • introduction/welcome/changelog.xml

    r01f42a8 rf0dd071  
    4343      <itemizedlist>
    4444        <listitem>
     45          <para>[thomas] - Add a patch to fix gcc-go version string (part of gcc-12.2.0).</para>
     46        </listitem>
     47      </itemizedlist>
     48    </listitem>
     49
     50    <listitem>
     51      <para>March 7th, 2023</para>
     52      <itemizedlist>
     53        <listitem>
    4554          <para>[renodr] - Update to SCons-4.5.1. Fixes
    4655          <ulink url="&blfs-ticket-root;17752">#17752</ulink>.</para>
Note: See TracChangeset for help on using the changeset viewer.