loongarch: hostreq: Bump Binutils and GCC requirement

Binutils 2.38 is the first release supporting LoongArch.  Maybe we
should make it 2.40 (when the stupid "stack-based relocs" are gone) but
with our cross-compile method it should not make a significant
difference.

GCC 12.1 is the first release supporting LoongArch but it suffers a
severe bug [1] and it may miscompile GCC pass 1, so require 12.2 here.

[1]:https://gcc.gnu.org/PR106096
This commit is contained in:
Xi Ruoyao 2023-06-11 01:22:18 +08:00
parent 1cab1bf5b2
commit cc44a47b5a
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -44,7 +44,7 @@
</listitem>
<listitem>
<para><emphasis role="strong">Binutils-2.13.1</emphasis> (Versions
<para><emphasis role="strong">Binutils-2.38</emphasis> (Versions
greater than &binutils-version; are not recommended as they have
not been tested)</para>
</listitem>
@ -72,7 +72,7 @@
</listitem>
<listitem>
<para><emphasis role="strong">GCC-5.1</emphasis> including the C++
<para><emphasis role="strong">GCC-12.2</emphasis> including the C++
compiler, <command>g++</command> (Versions greater than &gcc-version; are
not recommended as they have not been tested). C and C++ standard
libraries (with headers) must also be present so the C++ compiler can
@ -230,13 +230,13 @@ ver_kernel()
# Coreutils first because-sort needs Coreutils >= 7.0
ver_check Coreutils sort 7.0 || bail "--version-sort unsupported"
ver_check Bash bash 3.2
ver_check Binutils ld 2.13.1
ver_check Binutils ld 2.38
ver_check Bison bison 2.7
ver_check Diffutils diff 2.8.1
ver_check Findutils find 4.2.31
ver_check Gawk gawk 4.0.1
ver_check GCC gcc 5.1
ver_check "GCC (C++)" g++ 5.1
ver_check GCC gcc 12.2
ver_check "GCC (C++)" g++ 12.2
ver_check Grep grep 2.5.1a
ver_check Gzip gzip 1.3.12
ver_check M4 m4 1.4.10