Re: Running 32 bit SPARC on UltraSPARC

Eduardo Horvath <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Tue, 23 Apr 2019, John Klos wrote:

> Just a note about the sparc64 kernel config files:
> 
> options        EXEC_ELF32      # Exec module for SunOS 5.x binaries.

That's no longer accurate as you also need COMPAT_SVR4 which has been 
removed.

> EXEC_ELF32 is required to run 32 bit NetBSD SPARC binaries, too. I think the
> comment should reflect that.
> 
> Are there any issues running pkgsrc builds for SPARC on UltraSPARC? Anything I
> should look out for?

Things that rely on libkvm or certain ioctl()s that don't have 32-bit 
compatibility code may not work.  Last time I did this there were some 
obscure sysadmin tasks that required 64-bit binaries.

Eduardo
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.