GMP fail to build on loongarch64-linux-gnu (configfsf.{guess,sub} outdated)

Xi Ruoyao xry111 at xry111.site
Wed Mar 22 16:33:06 CET 2023


TL;DR please update configfsf.{guess,sub} before next release :).

GMP version:

6.2.1 and 6.2.99-20221117121717

Test program:

None (building issue)

Description:

GMP fails to build on loongarch64-linux-gnu.

gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/loongarch64-unknown-linux-gnu/12.2.0/lto-wrapper
Target: loongarch64-unknown-linux-gnu
Configured with: ../gcc-backport/configure --prefix=/usr LD=ld --enable-languages=c,c++ --disable-multilib --with-system-zlib --with-build-config=bootstrap-lto --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC) 

uname -a:

Linux xry111-a2101 6.3.0-rc3+ #72 SMP PREEMPT Tue Mar 21 15:46:06 CST 2023 loongarch64 GNU/Linux

./config.guess:

./configfsf.guess: unable to guess system type

This script (version 2020-10-22), has failed to recognize the
operating system you are using. If your script is old, overwrite *all*
copies of config.guess and config.sub with the latest versions from:

  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
and
  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub



-- 
Xi Ruoyao <xry111 at xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the gmp-bugs mailing list