Re: Starting NetBSD/mips64 kernel up and Userland Questions

[email protected]
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <[email protected]>
On Wed, Jan 01, 2020 at 09:24:53AM -0800, Jason Thorpe wrote:
> 
> > On Jan 1, 2020, at 9:19 AM, Naruaki.Etomi <[email protected]> wrote:
> > 
> > However, it was a 32 bit userland binary.
> > # file cat
> > cat: ELF 32-bit MSB shared object, MIPS, N32 MIPS-III version 1
> > (SYSV), dynamically linked, interpreter /libexec/ld.elf_so, missing
> > section headers
> > 
> > How can I make a 64 bit userland binary?
> 
> Our 64-bit MIPS platforms use n32 binaries because, as I recall, it was determined to perform better.  It is somewhat counter-intuitive, however, and also means that extra hoops are required for large-address-space applications.
> 
> -- thorpej
> 

We can't run dynamically linked n64 binaries, I doubt anyone fixed PR
52857.

Some (libkvm using) binaries are still n64, but static, like vmstat.
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.