Re: What's GENERIC32?

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Wed, Sep 01, 2021 at 12:02:52AM -0400, Mouse wrote:
> This leads me to ask, just what is 32-bit here?  Not what's 32-bit
> about the built executable - I can read documentation on the options
> used - but what's different about those machines that calls for the
> kernel to be built differently like this?

The kernel is a 32bit, hardware is 64 bit and userland is sparc instead
of sparc64 (so 32bit too).

This is similar to installing the i386 sets + kernel on an amd64
machine (but a plain sparc GENERIC kernel would not support the 64bit
hardware).

You can get very similar effect when installing a GENERIC kernel (so 64bit
kernel) but still using sparc userland, but in that setup everything
goes via compat_netbsd32 (and sometimes there are bugs that cause minor
unwanted differences between the two setups).

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.