mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
Add a patch to fix gcc-go version string
This commit is contained in:
parent
01f42a8179
commit
f0dd071e29
@ -115,17 +115,17 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<!--
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch for building against glibc-2.36:
|
||||
<ulink url="&patch-root;/gcc-&gcc-version;-glibc_2.36-1.patch"/>
|
||||
Optional patch when adding Go to the desired language list:
|
||||
<ulink url="&patch-root;/gcc-&gcc-version;-fix_go_version-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
-->
|
||||
|
||||
<bridgehead renderas="sect3">GCC Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
@ -171,13 +171,20 @@
|
||||
bootstrap anyway, add <parameter>--disable-bootstrap</parameter> to the
|
||||
<command>./configure</command> options below.
|
||||
</para>
|
||||
<!--
|
||||
|
||||
<para>
|
||||
First fix a problem with glibc-2.36:
|
||||
Some packages checks on the phrase <literal>gccgo</literal> in the output
|
||||
of <command>go version</command> to see which kind of Go compiler is
|
||||
installed (gcc-go or golang). The absence of <literal>gccgo</literal> in
|
||||
that string makes them to assume the compiler is the golang which is wrong.
|
||||
If Go isn't in the list of desired languages, this patch can be skipped
|
||||
while it does not harm if applied anyway. Fix the Go part of gcc to show
|
||||
a valid version string when calling <command>go version</command> by
|
||||
applying a patch:
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-glibc_2.36-1.patch</userinput></screen>
|
||||
-->
|
||||
<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-fix_go_version-1.patch</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install <application>GCC</application> by running the following commands:
|
||||
</para>
|
||||
|
@ -38,6 +38,15 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>March 7th, 2023</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[thomas] - Add a patch to fix gcc-go version string (part of gcc-12.2.0).</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>March 7th, 2023</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user