NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD tools/gmp build.sh issues on Solaris-11.4



On Tue, 1 Apr 2025 15:06:11 +0200 (CEST)
Marc Glisse <marc.glisse%inria.fr@localhost> wrote:

> On Wed, 26 Mar 2025, Sad Clouds wrote:
> 
> > $ ./configure
> > checking build system type... sparc-sun-solaris2.11
> 
> Hello,
> 
> what kind of sparc cpu is this? The config.guess that comes with GMP 
> usually replaces "sparc" with things like "ultrasparct3" or "sparcv9", and 
> configure knows to try 64 bits for those.
> 
> -- 
> Marc Glisse

Hello, I can no longer reproduce this issue. I noticed other shell
scripts randomly failing and somebody suggested I export
HOST_SH=/bin/bash during NetBSD build.

This seems to have resolved the issue and gmp correctly identifies
64-bit build environment. So I assume this was a transient run time
issue with Solaris /bin/sh.

The system has dual SPARC T4 processors

$ psrinfo -pv
The physical processor has 8 cores and 64 virtual processors (0-63)
  The core has 8 virtual processors (0-7)
  The core has 8 virtual processors (8-15)
  The core has 8 virtual processors (16-23)
  The core has 8 virtual processors (24-31)
  The core has 8 virtual processors (32-39)
  The core has 8 virtual processors (40-47)
  The core has 8 virtual processors (48-55)
  The core has 8 virtual processors (56-63)
    SPARC-T4 (chipid 0, clock 2848 MHz)
The physical processor has 8 cores and 64 virtual processors (64-127)
  The core has 8 virtual processors (64-71)
  The core has 8 virtual processors (72-79)
  The core has 8 virtual processors (80-87)
  The core has 8 virtual processors (88-95)
  The core has 8 virtual processors (96-103)
  The core has 8 virtual processors (104-111)
  The core has 8 virtual processors (112-119)
  The core has 8 virtual processors (120-127)
    SPARC-T4 (chipid 1, clock 2848 MHz)


Home | Main Index | Thread Index | Old Index