Configure unable to recognize mipsisa64r2el triplets
jiaxun.yang at flygoat.com
Wed Mar 28 14:20:38 UTC 2018
在 2018-03-28三的 15:54 +0200，Torbjörn Granlund写道：
> 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 , it's
> 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
> 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
> a different ABI?
It should be a novel name of mips64r2el. I don't know if mips64r2el is
illegal but it doesn't recognize by config.sub .
> If you make the obvious change to configure.ac, then build twice,
> with --disable-shared and once with --disable-static, does
> make && make check
> run to without any errors. (OK, you told me you were cross
> so perhaps that will require some intermediary command. And "make
> TESTS=" for just building the tests would perhaps be useful.)
Yes I've tried the tests on a Loongson target system with a native
build. After use mips64* instead of mips*64* in configure and set ABI
to ABI=64. No error was reported. I'm not sure if this change will
break other MIPS systems. But since all MIPS triplets with *64*
included should support 64 o32 N32 ABIs, probably it's going to work
Jiaxun Yang <jiaxun.yang at flygoat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 866 bytes
Desc: This is a digitally signed message part
More information about the gmp-bugs