Configure unable to recognize mipsisa64r2el triplets

Torbjörn Granlund tg at gmplib.org
Wed Mar 28 13:54:11 UTC 2018


Jiaxun Yang <jiaxun.yang at flygoat.com> writes:

  > I've never seen "mipsisa64r2el" before.

  Yes, it's rare. However, according to config.sub from GCC [1], it's not
  illegal.

Good! We woudn't want to be gaoled for a CPU moniker!

  I ran it on a LFS rootfs provided by Loongson (A Chinese MIPS64r2
  processor).

  [1]https://github.com/gcc-mirror/gcc/blob/master/config.sub

It seems that GMP's configfsf.sub also has that.  Now, I have no idea
what it means.  Is is just a novel name for mips64r2el or is it somehow
a different ABI?

If you make the obvious change to configure.ac, then build twice, once
with --disable-shared and once with --disable-static, does

  make && make check

run to without any errors.  (OK, you told me you were cross compiling,
so perhaps that will require some intermediary command.  And "make check
TESTS=" for just building the tests would perhaps be useful.)

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list