On Tue, 25 Mar 2025 16:42:53 +0100 Martin Husemann <mar...@duskware.de> wrote:
> On Tue, Mar 25, 2025 at 03:12:45PM +0000, Sad Clouds 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. > > build.sh does not know anything about solaris. > > Have you tried building a plain upstream gmp version? > > Martin Yes I've built gmp on its own before on Solaris: configure --prefix=$PREFIX --build=sparcv9-sun-solaris2.11 ABI=64 Any build/host target which starts with sparcv9 or sparc64 signifies 64-bit binaries. I'm not saying build.sh needs to know about Solaris, but with pkgsrc there is ABI=64 to force compiler generate 64-bit binaries. I was hoping something similar may exist for build.sh. But seems like it may not be the case. I'll do some more digging, may be gmp configure script needs patching to autodetect the type of object files created by build compiler.