On Tue, 25 Mar 2025 15:12:45 +0000 Sad Clouds <cryintotheblue...@gmail.com> wrote:
> I'm not sure if gmp configure script is just dumb and does not check if > compiler test outputs 64-bit objects, or if NetBSD build.sh scripts > pass incorrect sparc-sun-solaris2.11 on command line. After a bit of debugging it, NetBSD Makefile does not pass any build/target options to gmp and simply allows it to auto detect build environment for itself. Looks like gmp configure script is quite broken. It always defaults to 32-bit compiler options on SPARC Solaris, unless explicitly overriden with build/target sparc64-sun-solaris2.11 option. Other configure scripts don't have this issue, so the problem is really gmp.